Skip to content

Commit 4dae0f2

Browse files
chore: rebase v2 support onto 0.21.0 (#1746)
* chore: backport breaking api changes to v1 js SDKs (#1661) * stateless.js add treeinfos * wip * add getTokenPoolInfos * wip * wip * wip - storageoptions * wip * wip * wip * wip - known bug in rpc-interop.test.ts if using random trees * debugged test-rpc in ctoken * all ctoken tests working * rm logs * clean * ctxs to infos, removed redundant getMintProgramId calls * rm deadcode, storageoptions * fix cli getMindProgramId use * fix tokenpool * fix test stateless.js add treeinfos wip add getTokenPoolInfos wip wip wip - storageoptions wip wip wip wip - known bug in rpc-interop.test.ts if using random trees debugged test-rpc in ctoken all ctoken tests working rm logs clean ctxs to infos, removed redundant getMintProgramId calls rm deadcode, storageoptions fix cli getMindProgramId use fix tokenpool fix test update CHANGELOG.md files update changelog update CHANGELOG.md export get-token-pool-infos.ts wip clean wip refactor merklecontext refactor StateTreeInfo wip wip debug test-rpc getCompressedTokenAccountsByOwner fix unit test wip wip wip debug .readUIntLE wip wip wip fix buffer conversion at test-rpc decode wip tests working compressedProof -> validityProof update changelog wip refactor: do not allow output trees for decompress, transfer fmt wip rename getCachedStateTreeInfos upd changelog use with getCachedStateTreeInfos getStateTreeInfos wip wip delegate test wip added transfer-delegated.test.ts added transfer-delegated test cases. all green add tests for decompress-delegated fix rm logs from program update changelog update err msg fix state-tree-luts wip getActiveStateTreeInfos -> getAllStateTreeInfos wip fix sigs for nullifyStateTree wip wip cleanup add getCachedActiveStateTreeInfos mock revert to compressedProof add tokenpools tests update comment update CHANGELOG.md update changelog 0.21.0 update changelog fix fix event parsing post rebase stateless js refactor dedupe types link to computebudgetprogram wip fix DX for instructions: add docstrings to call signatures wip dont break mergeTokenAccounts wip wip add v2 trees to test-rpc v1 mergeable test-rpc tests working rpc-interop tests working with v2 all stateless.js tests working with v2 compressed-token tests working rebase to main fixup cargo lock wip * wip (#1794) * wip (#1781) chore: backport breaking api changes to v1 js SDKs (#1661) * stateless.js add treeinfos * wip * add getTokenPoolInfos * wip * wip * wip - storageoptions * wip * wip * wip * wip - known bug in rpc-interop.test.ts if using random trees * debugged test-rpc in ctoken * all ctoken tests working * rm logs * clean * ctxs to infos, removed redundant getMintProgramId calls * rm deadcode, storageoptions * fix cli getMindProgramId use * fix tokenpool * fix test stateless.js add treeinfos wip add getTokenPoolInfos wip wip wip - storageoptions wip wip wip wip - known bug in rpc-interop.test.ts if using random trees debugged test-rpc in ctoken all ctoken tests working rm logs clean ctxs to infos, removed redundant getMintProgramId calls rm deadcode, storageoptions fix cli getMindProgramId use fix tokenpool fix test update CHANGELOG.md files update changelog update CHANGELOG.md export get-token-pool-infos.ts wip clean wip refactor merklecontext refactor StateTreeInfo wip wip debug test-rpc getCompressedTokenAccountsByOwner fix unit test wip wip wip debug .readUIntLE wip wip wip fix buffer conversion at test-rpc decode wip tests working compressedProof -> validityProof update changelog wip refactor: do not allow output trees for decompress, transfer fmt wip rename getCachedStateTreeInfos upd changelog use with getCachedStateTreeInfos getStateTreeInfos wip wip delegate test wip added transfer-delegated.test.ts added transfer-delegated test cases. all green add tests for decompress-delegated fix rm logs from program update changelog update err msg fix state-tree-luts wip getActiveStateTreeInfos -> getAllStateTreeInfos wip fix sigs for nullifyStateTree wip wip cleanup add getCachedActiveStateTreeInfos mock revert to compressedProof add tokenpools tests update comment update CHANGELOG.md update changelog 0.21.0 update changelog fix fix event parsing post rebase stateless js refactor dedupe types link to computebudgetprogram wip fix DX for instructions: add docstrings to call signatures wip dont break mergeTokenAccounts wip wip add v2 trees to test-rpc v1 mergeable test-rpc tests working rpc-interop tests working with v2 all stateless.js tests working with v2 compressed-token tests working rebase to main fixup cargo lock wip chore: backport breaking api changes to v1 js SDKs (#1661) * stateless.js add treeinfos * wip * add getTokenPoolInfos * wip * wip * wip - storageoptions * wip * wip * wip * wip - known bug in rpc-interop.test.ts if using random trees * debugged test-rpc in ctoken * all ctoken tests working * rm logs * clean * ctxs to infos, removed redundant getMintProgramId calls * rm deadcode, storageoptions * fix cli getMindProgramId use * fix tokenpool * fix test stateless.js add treeinfos wip add getTokenPoolInfos wip wip wip - storageoptions wip wip wip wip - known bug in rpc-interop.test.ts if using random trees debugged test-rpc in ctoken all ctoken tests working rm logs clean ctxs to infos, removed redundant getMintProgramId calls rm deadcode, storageoptions fix cli getMindProgramId use fix tokenpool fix test update CHANGELOG.md files update changelog update CHANGELOG.md export get-token-pool-infos.ts wip clean wip refactor merklecontext refactor StateTreeInfo wip wip debug test-rpc getCompressedTokenAccountsByOwner fix unit test wip wip wip debug .readUIntLE wip wip wip fix buffer conversion at test-rpc decode wip tests working compressedProof -> validityProof update changelog wip refactor: do not allow output trees for decompress, transfer fmt wip rename getCachedStateTreeInfos upd changelog use with getCachedStateTreeInfos getStateTreeInfos wip wip delegate test wip added transfer-delegated.test.ts added transfer-delegated test cases. all green add tests for decompress-delegated fix rm logs from program update changelog update err msg fix state-tree-luts wip getActiveStateTreeInfos -> getAllStateTreeInfos wip fix sigs for nullifyStateTree wip wip cleanup add getCachedActiveStateTreeInfos mock revert to compressedProof add tokenpools tests update comment update CHANGELOG.md update changelog 0.21.0 update changelog fix fix event parsing post rebase stateless js refactor dedupe types link to computebudgetprogram wip fix DX for instructions: add docstrings to call signatures wip dont break mergeTokenAccounts wip wip add v2 trees to test-rpc v1 mergeable test-rpc tests working rpc-interop tests working with v2 all stateless.js tests working with v2 compressed-token tests working rebase to main fixup cargo lock wip wip rename statetreeinfo -> treeinfo wip wip wip cli test works wip wip wip wip wip wip wip wip wip wip wip wip rm logs fix lint clean upd comment * chore: backport breaking api changes to v1 js SDKs (#1661) (#1790) * stateless.js add treeinfos * wip * add getTokenPoolInfos * wip * wip * wip - storageoptions * wip * wip * wip * wip - known bug in rpc-interop.test.ts if using random trees * debugged test-rpc in ctoken * all ctoken tests working * rm logs * clean * ctxs to infos, removed redundant getMintProgramId calls * rm deadcode, storageoptions * fix cli getMindProgramId use * fix tokenpool * fix test stateless.js add treeinfos wip add getTokenPoolInfos wip wip wip - storageoptions wip wip wip wip - known bug in rpc-interop.test.ts if using random trees debugged test-rpc in ctoken all ctoken tests working rm logs clean ctxs to infos, removed redundant getMintProgramId calls rm deadcode, storageoptions fix cli getMindProgramId use fix tokenpool fix test update CHANGELOG.md files update changelog update CHANGELOG.md export get-token-pool-infos.ts wip clean wip refactor merklecontext refactor StateTreeInfo wip wip debug test-rpc getCompressedTokenAccountsByOwner fix unit test wip wip wip debug .readUIntLE wip wip wip fix buffer conversion at test-rpc decode wip tests working compressedProof -> validityProof update changelog wip refactor: do not allow output trees for decompress, transfer fmt wip rename getCachedStateTreeInfos upd changelog use with getCachedStateTreeInfos getStateTreeInfos wip wip delegate test wip added transfer-delegated.test.ts added transfer-delegated test cases. all green add tests for decompress-delegated fix rm logs from program update changelog update err msg fix state-tree-luts wip getActiveStateTreeInfos -> getAllStateTreeInfos wip fix sigs for nullifyStateTree wip wip cleanup add getCachedActiveStateTreeInfos mock revert to compressedProof add tokenpools tests update comment update CHANGELOG.md update changelog 0.21.0 update changelog fix fix event parsing post rebase stateless js refactor dedupe types link to computebudgetprogram wip fix DX for instructions: add docstrings to call signatures wip dont break mergeTokenAccounts wip wip add v2 trees to test-rpc v1 mergeable test-rpc tests working rpc-interop tests working with v2 all stateless.js tests working with v2 compressed-token tests working rebase to main fixup cargo lock wip chore: backport breaking api changes to v1 js SDKs (#1661) * stateless.js add treeinfos * wip * add getTokenPoolInfos * wip * wip * wip - storageoptions * wip * wip * wip * wip - known bug in rpc-interop.test.ts if using random trees * debugged test-rpc in ctoken * all ctoken tests working * rm logs * clean * ctxs to infos, removed redundant getMintProgramId calls * rm deadcode, storageoptions * fix cli getMindProgramId use * fix tokenpool * fix test stateless.js add treeinfos wip add getTokenPoolInfos wip wip wip - storageoptions wip wip wip wip - known bug in rpc-interop.test.ts if using random trees debugged test-rpc in ctoken all ctoken tests working rm logs clean ctxs to infos, removed redundant getMintProgramId calls rm deadcode, storageoptions fix cli getMindProgramId use fix tokenpool fix test update CHANGELOG.md files update changelog update CHANGELOG.md export get-token-pool-infos.ts wip clean wip refactor merklecontext refactor StateTreeInfo wip wip debug test-rpc getCompressedTokenAccountsByOwner fix unit test wip wip wip debug .readUIntLE wip wip wip fix buffer conversion at test-rpc decode wip tests working compressedProof -> validityProof update changelog wip refactor: do not allow output trees for decompress, transfer fmt wip rename getCachedStateTreeInfos upd changelog use with getCachedStateTreeInfos getStateTreeInfos wip wip delegate test wip added transfer-delegated.test.ts added transfer-delegated test cases. all green add tests for decompress-delegated fix rm logs from program update changelog update err msg fix state-tree-luts wip getActiveStateTreeInfos -> getAllStateTreeInfos wip fix sigs for nullifyStateTree wip wip cleanup add getCachedActiveStateTreeInfos mock revert to compressedProof add tokenpools tests update comment update CHANGELOG.md update changelog 0.21.0 update changelog fix fix event parsing post rebase stateless js refactor dedupe types link to computebudgetprogram wip fix DX for instructions: add docstrings to call signatures wip dont break mergeTokenAccounts wip wip add v2 trees to test-rpc v1 mergeable test-rpc tests working rpc-interop tests working with v2 all stateless.js tests working with v2 compressed-token tests working rebase to main fixup cargo lock wip wip rename statetreeinfo -> treeinfo wip wip wip cli test works wip wip wip wip wip wip wip wip wip wip wip wip rm logs fix lint clean upd comment wip stateless.js tests working ctoken tests working * lint * address comments
1 parent f98c74a commit 4dae0f2

File tree

111 files changed

+8791
-3821
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+8791
-3821
lines changed

Cargo.lock

Lines changed: 426 additions & 472 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,10 @@ anchor-spl = "=0.31.1"
115115
# Anchor compatibility
116116
borsh = "0.10.0"
117117

118+
# Serialization
119+
serde = { version = "1.0", features = ["derive"] }
120+
serde_json = "1.0"
121+
118122
# Macro helpers
119123
proc-macro2 = "1.0"
120124
quote = "1.0"

cli/src/commands/compress-spl/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class CompressSplCommand extends Command {
5252
const toPublicKey = new PublicKey(to);
5353
const mintPublicKey = new PublicKey(mint);
5454
const payer = defaultSolanaWalletKeypair();
55-
const tokenProgramId = await CompressedTokenProgram.get_mint_program_id(
55+
const tokenProgramId = await CompressedTokenProgram.getMintProgramId(
5656
mintPublicKey,
5757
rpc(),
5858
);
@@ -73,9 +73,6 @@ class CompressSplCommand extends Command {
7373
payer,
7474
sourceAta,
7575
toPublicKey,
76-
undefined,
77-
undefined,
78-
tokenProgramId,
7976
);
8077

8178
loader.stop(false);

cli/src/commands/decompress-spl/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class DecompressSplCommand extends Command {
5252
const toPublicKey = new PublicKey(to);
5353
const mintPublicKey = new PublicKey(mint);
5454
const payer = defaultSolanaWalletKeypair();
55-
const tokenProgramId = await CompressedTokenProgram.get_mint_program_id(
55+
const tokenProgramId = await CompressedTokenProgram.getMintProgramId(
5656
mintPublicKey,
5757
rpc(),
5858
);
@@ -75,9 +75,6 @@ class DecompressSplCommand extends Command {
7575
amount,
7676
payer,
7777
recipientAta.address,
78-
undefined,
79-
undefined,
80-
tokenProgramId,
8178
);
8279

8380
loader.stop(false);

cli/src/commands/init/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import {
2828
kebabCase,
2929
snakeCase,
3030
} from "case-anything";
31-
import { execSync } from "child_process";
31+
3232
export default class InitCommand extends Command {
3333
static description = "Initialize a compressed account project.";
3434

cli/src/commands/start-prover/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class StartProver extends Command {
6262

6363
const proverPort = flags["prover-port"] || 3001;
6464
const force = flags["force"] || false;
65-
const redisUrl = flags["redisUrl"] || process.env.REDIS_URL;
65+
const redisUrl = flags["redisUrl"] || process.env.REDIS_URL || undefined;
6666
await startProver(
6767
proverPort,
6868
flags["run-mode"],

examples/anchor/counter/tests/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ where
199199
.unwrap();
200200

201201
let account_meta = CompressedAccountMeta {
202-
tree_info: packed_tree_accounts.packed_tree_infos[0],
203202
address: compressed_account.address.unwrap(),
203+
tree_info: packed_tree_accounts.packed_tree_infos[0],
204204
output_state_tree_index: packed_tree_accounts.output_tree_index,
205205
};
206206

examples/browser/nextjs/src/app/page.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ import {
2424
bn,
2525
buildTx,
2626
confirmTx,
27-
defaultTestStateTreeAccounts,
2827
selectMinCompressedSolAccountsForTransfer,
2928
createRpc,
29+
selectStateTreeInfo,
3030
} from '@lightprotocol/stateless.js';
3131

3232
// Default styles that can be overridden by your app
@@ -36,7 +36,10 @@ const SendButton: FC = () => {
3636
const { publicKey, sendTransaction } = useWallet();
3737

3838
const onClick = useCallback(async () => {
39-
const connection = await createRpc();
39+
const connection = createRpc();
40+
const stateTreeInfo = selectStateTreeInfo(
41+
await connection.getStateTreeInfos(),
42+
);
4043

4144
if (!publicKey) throw new WalletNotConnectedError();
4245

@@ -51,7 +54,7 @@ const SendButton: FC = () => {
5154
payer: publicKey,
5255
toAddress: publicKey,
5356
lamports: 1e8,
54-
outputStateTree: defaultTestStateTreeAccounts().merkleTree,
57+
outputStateTreeInfo: stateTreeInfo,
5558
});
5659
const compressInstructions = [
5760
ComputeBudgetProgram.setComputeUnitLimit({ units: 1_000_000 }),
@@ -109,7 +112,6 @@ const SendButton: FC = () => {
109112
toAddress: recipient,
110113
lamports: 1e7,
111114
inputCompressedAccounts: selectedAccounts,
112-
outputStateTrees: [defaultTestStateTreeAccounts().merkleTree],
113115
recentValidityProof: compressedProof,
114116
recentInputStateRootIndices: rootIndices,
115117
});

js/compressed-token/CHANGELOG.md

Lines changed: 95 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,97 @@
1+
## [0.22.0]
2+
3+
- `CreateMint` action now allows passing a non-payer mint and freeze authority.
4+
- More efficient computebudgets for actions.
5+
- Better DX: Parameter lookup in call signatures of CompressedTokenProgram instructions
6+
- QoL: improved typedocs.
7+
8+
## [0.21.0]
9+
10+
#### Breaking Changes
11+
12+
This release has several breaking changes which improve protocol
13+
scalability. Please reach out to the [team](https://t.me/swen_light) if you need help migrating.
14+
15+
### Migration guide: Compress
16+
17+
**Old Code** (remove this)
18+
19+
```typescript
20+
const activeStateTrees = await connection.getCachedActiveStateTreeInfo();
21+
const { tree } = pickRandomTreeAndQueue(activeStateTrees);
22+
// ...
23+
```
24+
25+
**New Code**
26+
27+
```typescript
28+
// ...
29+
const treeInfos = await rpc.getStateTreeInfos();
30+
const treeInfo = selectStateTreeInfo(treeInfos);
31+
32+
const infos = await getTokenPoolInfos(rpc, mint);
33+
const info = selectTokenPoolInfo(infos);
34+
35+
const compressIx = await CompressedTokenProgram.compress({
36+
// ...
37+
outputStateTreeInfo,
38+
tokenPoolInfo,
39+
});
40+
```
41+
42+
### Migration guide: Decompress
43+
44+
```typescript
45+
// ...
46+
// new code:
47+
const infos = await getTokenPoolInfos(rpc, mint);
48+
const selectedInfos = selectTokenPoolInfosForDecompression(
49+
tokenPoolInfos,
50+
amount,
51+
);
52+
53+
const ix = await CompressedTokenProgram.decompress({
54+
// ...
55+
tokenPoolInfos: selectedTokenPoolInfos,
56+
});
57+
```
58+
59+
### Overview
60+
61+
- new type: TokenPoolInfo
62+
- Instruction Changes:
63+
64+
- `compress`, `mintTo`, `approveAndMintTo`, `compressSplTokenAccount` now require valid TokenPoolInfo
65+
- `decompress` now requires an array of one or more TokenPoolInfos.
66+
- `decompress`, `transfer` now do not allow state tree overrides.
67+
68+
- Action Changes:
69+
70+
- Removed optional tokenProgramId: PublicKey
71+
- removed optional merkleTree: PublicKey
72+
- removed optional outputStateTree: PublicKey
73+
- added optional stateTreeInfo: StateTreeInfo
74+
- added optional tokenPoolInfo: TokenPoolInfo
75+
76+
- new instructions:
77+
- `approve`, `revoke`: delegated transfer support.
78+
- `addTokenPools`: you can now register additional token pool pdas. Use
79+
this if you need very high concurrency.
80+
81+
### Why the Changes are helpful
82+
83+
`getStateTreeInfos()` retrieves relevant info about all active state trees.
84+
85+
When building a transaction you can now pick a random treeInfo via `selectStateTreeInfo(infos)`.
86+
87+
This lets you and other apps execute more transactions within Solana's write lock
88+
limits.
89+
90+
The same applies to `getTokenPoolInfos`. When you compress or decompress SPL
91+
tokens, a tokenpool gets write-locked. If you need additional per-block write
92+
lock capacity, you can register and sample additional (up to 4) tokenpool
93+
accounts.
94+
195
## [0.20.5-0.20.9] - 2025-02-24
296

397
### Changed
@@ -17,7 +111,7 @@
17111
### Added
18112

19113
- `selectSmartCompressedTokenAccountsForTransfer` and
20-
`selectSmartCompressedTokenAccountsForTransferorPartial`
114+
`selectSmartCompressedTokenAccountsForTransferOrPartial`
21115

22116
### Changed
23117

js/compressed-token/package.json

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lightprotocol/compressed-token",
3-
"version": "0.20.9",
3+
"version": "0.21.0",
44
"description": "JS client to interact with the compressed-token program",
55
"sideEffects": false,
66
"main": "dist/cjs/node/index.cjs",
@@ -82,20 +82,25 @@
8282
"test:unit:all": "EXCLUDE_E2E=true vitest run",
8383
"test-all:verbose": "vitest run --reporter=verbose",
8484
"test-validator": "./../../cli/test_bin/run test-validator --prover-run-mode rpc",
85+
"test-validator-skip-prover": "./../../cli/test_bin/run test-validator --skip-prover",
8586
"test:e2e:create-mint": "pnpm test-validator && NODE_OPTIONS='--trace-deprecation' vitest run tests/e2e/create-mint.test.ts --reporter=verbose",
86-
"test:e2e:layout": "vitest run tests/e2e/layout.test.ts --reporter=verbose",
87+
"test:e2e:layout": "vitest run tests/e2e/layout.test.ts --reporter=verbose --bail=1",
8788
"test:e2e:select-accounts": "vitest run tests/e2e/select-accounts.test.ts --reporter=verbose",
8889
"test:e2e:create-token-pool": "pnpm test-validator && vitest run tests/e2e/create-token-pool.test.ts",
89-
"test:e2e:mint-to": "pnpm test-validator && vitest run tests/e2e/mint-to.test.ts --reporter=verbose",
90-
"test:e2e:approve-and-mint-to": "pnpm test-validator && vitest run tests/e2e/approve-and-mint-to.test.ts --reporter=verbose",
90+
"test:e2e:mint-to": "pnpm test-validator && vitest run tests/e2e/mint-to.test.ts --reporter=verbose --bail=1",
91+
"test:e2e:approve-and-mint-to": "pnpm test-validator && vitest run tests/e2e/approve-and-mint-to.test.ts --reporter=verbose --bail=1",
9192
"test:e2e:merge-token-accounts": "pnpm test-validator && vitest run tests/e2e/merge-token-accounts.test.ts --reporter=verbose",
92-
"test:e2e:transfer": "pnpm test-validator && vitest run tests/e2e/transfer.test.ts --reporter=verbose",
93+
"test:e2e:transfer": "pnpm test-validator && vitest run tests/e2e/transfer.test.ts --reporter=verbose --bail=1",
94+
"test:e2e:delegate": "pnpm test-validator && vitest run tests/e2e/delegate.test.ts --reporter=verbose --bail=1",
95+
"test:e2e:transfer-delegated": "pnpm test-validator && vitest run tests/e2e/transfer-delegated.test.ts --reporter=verbose --bail=1",
9396
"test:e2e:compress": "pnpm test-validator && vitest run tests/e2e/compress.test.ts --reporter=verbose",
9497
"test:e2e:compress-spl-token-account": "pnpm test-validator && vitest run tests/e2e/compress-spl-token-account.test.ts --reporter=verbose",
9598
"test:e2e:decompress": "pnpm test-validator && vitest run tests/e2e/decompress.test.ts --reporter=verbose",
99+
"test:e2e:decompress-delegated": "pnpm test-validator && vitest run tests/e2e/decompress-delegated.test.ts --reporter=verbose",
96100
"test:e2e:rpc-token-interop": "pnpm test-validator && vitest run tests/e2e/rpc-token-interop.test.ts --reporter=verbose",
97101
"test:e2e:rpc-multi-trees": "pnpm test-validator && vitest run tests/e2e/rpc-multi-trees.test.ts --reporter=verbose",
98-
"test:e2e:all": "pnpm test-validator && vitest run tests/e2e/create-mint.test.ts && vitest run tests/e2e/mint-to.test.ts && vitest run tests/e2e/transfer.test.ts && vitest run tests/e2e/compress.test.ts && vitest run tests/e2e/compress-spl-token-account.test.ts && vitest run tests/e2e/decompress.test.ts && vitest run tests/e2e/create-token-pool.test.ts && vitest run tests/e2e/approve-and-mint-to.test.ts && vitest run tests/e2e/rpc-token-interop.test.ts && vitest run tests/e2e/rpc-multi-trees.test.ts && vitest run tests/e2e/layout.test.ts && vitest run tests/e2e/select-accounts.test.ts",
102+
"test:e2e:multi-pool": "pnpm test-validator && vitest run tests/e2e/multi-pool.test.ts --reporter=verbose",
103+
"test:e2e:all": "pnpm test-validator && vitest run tests/e2e/create-mint.test.ts && vitest run tests/e2e/mint-to.test.ts && vitest run tests/e2e/transfer.test.ts && vitest run tests/e2e/delegate.test.ts && vitest run tests/e2e/transfer-delegated.test.ts && vitest run tests/e2e/multi-pool.test.ts && vitest run tests/e2e/decompress-delegated.test.ts && pnpm test-validator-skip-prover && vitest run tests/e2e/compress.test.ts && vitest run tests/e2e/compress-spl-token-account.test.ts && vitest run tests/e2e/decompress.test.ts && vitest run tests/e2e/create-token-pool.test.ts && vitest run tests/e2e/approve-and-mint-to.test.ts && vitest run tests/e2e/rpc-token-interop.test.ts && vitest run tests/e2e/rpc-multi-trees.test.ts && vitest run tests/e2e/layout.test.ts && vitest run tests/e2e/select-accounts.test.ts",
99104
"pull-idl": "../../scripts/push-compressed-token-idl.sh",
100105
"build": "rimraf dist && pnpm build:bundle",
101106
"build:bundle": "rollup -c",

0 commit comments

Comments
 (0)