Skip to content

Commit

Permalink
Add system-cpi-test to package.json and update test
Browse files Browse the repository at this point in the history
The package.json file was updated to include the system-cpi-test to the list of test commands. Additionally, the 'derivation' field was added to the test_program_owned_trees.rs file in the system-cpi-test to enhance the testing structure.
  • Loading branch information
sergeytimoshin committed Jun 27, 2024
1 parent 4b88b39 commit 4178dfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions programs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"test-system": "cargo test-sbf -p system-test -- --test-threads=1",
"test-compressed-token": "cargo test-sbf -p compressed-token-test -- --test-threads=1",
"test-registry": "cargo-test-sbf -p registry-test -- --test-threads=1",
"test-cpi": "cargo-test-sbf -p system-cpi-test -- --test-threads=1",
"token-escrow": "cargo-test-sbf -p token-escrow -- --test-threads=1 --features cpi-context idl-build",
"program-owned-account-test": "cargo-test-sbf -p program-owned-account-test -- --test-threads=1",
"random-e2e-test": "RUST_MIN_STACK=8388608 cargo-test-sbf -p e2e-test -- --nocapture --test-threads=1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ async fn test_invalid_registered_program() {
leaves_queue_indices: vec![1u16],
indices: vec![0u64],
proofs: vec![vec![[0u8; 32]; 26]],
derivation: env.forester.pubkey()
};
let ix = create_nullify_instruction(inputs);

Expand Down

0 comments on commit 4178dfd

Please sign in to comment.