Parent Log: http://ci.aztec-labs.com/d1c9fc644e1107b2 Command: dc9591c437eedcb5 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/42440bd429a3b283b3a344db0be4652d818bd261 Env: REF_NAME=gh-readonly-queue/next/pr-15046-2469b5f1633350f6be15733c04242af1cdc98227 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 19:50:24 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15046_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 19:50:28 [19:50:28.310] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 19:50:32 [19:50:32.945] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 19:50:34 [19:50:34.292] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-LPHJF2/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 19:50:34 [19:50:34.587] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-NiKkdl/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 19:50:34 [19:50:34.837] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-5edxIE/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 19:50:35 [19:50:35.108] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-iNgBv5/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 19:50:35 [19:50:35.367] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-2ioIfU/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 19:50:35 [19:50:35.600] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-7kSOWL/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 19:50:35 [19:50:35.828] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-IR6SIU/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 19:50:36 [19:50:36.080] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-kM2bt9/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 19:50:36 [19:50:36.352] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-RRvF4z/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 19:50:36 [19:50:36.606] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-4ojJas/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 19:50:36 PASS src/public/avm/avm_simulator.test.ts (11.349 s) 19:50:36 AVM simulator: injected bytecode 19:50:36 Should execute bytecode that performs basic addition (9 ms) 19:50:36 Should halt if runs out of gas (3 ms) 19:50:36 An exceptional halt should consume all allocated gas (2 ms) 19:50:36 AVM simulator: transpiled Noir contracts 19:50:36 execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms) 19:50:36 addition (37 ms) 19:50:36 addition via dispatch (267 ms) 19:50:36 get_args_hash via dispatch (58 ms) 19:50:36 modulo and u1 (36 ms) 19:50:36 Should handle calldata oracle (33 ms) 19:50:36 Should handle return oracle (31 ms) 19:50:36 Should handle revert oracle (44 ms) 19:50:36 ec_add should not revert (39 ms) 19:50:36 elliptic curve operations (34 ms) 19:50:36 pedersen commitment operations (40 ms) 19:50:36 conditional move operations (31 ms) 19:50:36 Logging (28 ms) 19:50:36 Assertion message (44 ms) 19:50:36 conversions (32 ms) 19:50:36 should be able to execute contracts that only have private functions (2 ms) 19:50:36 msm 19:50:36 low scalars (56 ms) 19:50:36 with a zero (38 ms) 19:50:36 high scalars (168 ms) 19:50:36 U128 addition and overflows 19:50:36 U128 addition (16 ms) 19:50:36 Expect failure on U128::add() overflow (46 ms) 19:50:36 SET functions 19:50:36 function 'set_opcode_u8' (19 ms) 19:50:36 function 'set_opcode_u32' (23 ms) 19:50:36 function 'set_opcode_u64' (20 ms) 19:50:36 function 'set_opcode_small_field' (16 ms) 19:50:36 function 'set_opcode_big_field' (16 ms) 19:50:36 function 'set_opcode_really_big_field' (22 ms) 19:50:36 Hashes in noir contracts 19:50:36 Should execute contract function that performs sha256_hash_10 on input of length 10 (33 ms) 19:50:36 Should execute contract function that performs sha256_hash_20 on input of length 20 (36 ms) 19:50:36 Should execute contract function that performs sha256_hash_30 on input of length 30 (36 ms) 19:50:36 Should execute contract function that performs sha256_hash_40 on input of length 40 (38 ms) 19:50:36 Should execute contract function that performs sha256_hash_50 on input of length 50 (31 ms) 19:50:36 Should execute contract function that performs sha256_hash_60 on input of length 60 (43 ms) 19:50:36 Should execute contract function that performs sha256_hash_70 on input of length 70 (42 ms) 19:50:36 Should execute contract function that performs sha256_hash_80 on input of length 80 (31 ms) 19:50:36 Should execute contract function that performs sha256_hash_90 on input of length 90 (55 ms) 19:50:36 Should execute contract function that performs sha256_hash_100 on input of length 100 (45 ms) 19:50:36 Should execute contract function that performs sha256_hash_255 on input of length 255 (107 ms) 19:50:36 Should execute contract function that performs sha256_hash_256 on input of length 256 (101 ms) 19:50:36 Should execute contract function that performs sha256_hash_511 on input of length 511 (120 ms) 19:50:36 Should execute contract function that performs sha256_hash_512 on input of length 512 (124 ms) 19:50:36 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (637 ms) 19:50:36 Should execute contract function that performs keccak_hash on input of length 10 (50 ms) 19:50:36 Should execute contract function that performs keccak_f1600 on input of length 25 (10 ms) 19:50:36 Should execute contract function that performs poseidon2_hash on input of length 10 (19 ms) 19:50:36 Should execute contract function that performs pedersen_hash on input of length 10 (506 ms) 19:50:36 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (500 ms) 19:50:36 Environment getters 19:50:36 address getter (17 ms) 19:50:36 sender getter (25 ms) 19:50:36 transactionFee getter (30 ms) 19:50:36 chainId getter (34 ms) 19:50:36 version getter (32 ms) 19:50:36 blockNumber getter (33 ms) 19:50:36 timestamp getter (22 ms) 19:50:36 feePerDaGas getter (17 ms) 19:50:36 feePerL2Gas getter (20 ms) 19:50:36 Side effects, world state, nested calls 19:50:36 Should append a new note hash correctly (31 ms) 19:50:36 Should append a new nullifier correctly (27 ms) 19:50:36 Note hash checks 19:50:36 Should return false (and be traced) when noteHash does NOT exist (25 ms) 19:50:36 Should return true (and be traced) when noteHash DOES exist (16 ms) 19:50:36 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (20 ms) 19:50:36 Nullifier checks 19:50:36 Should return false (and be traced) when nullifier does NOT exist (24 ms) 19:50:36 Should return true (and be traced) when nullifier DOES exist (16 ms) 19:50:36 L1ToL2 message checks 19:50:36 Should return false (and be traced) when message does NOT exist (21 ms) 19:50:36 Should return true (and be traced) when message DOES exist (23 ms) 19:50:36 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (21 ms) 19:50:36 Cached nullifiers 19:50:36 Emits a nullifier and checks its existence (17 ms) 19:50:36 Emits same nullifier twice (expect failure) (28 ms) 19:50:36 Public Logs 19:50:36 Emit public logs (should be traced) (58 ms) 19:50:36 Public storage accesses 19:50:36 Should set value in storage (single) (27 ms) 19:50:36 Should read value in storage (single) (27 ms) 19:50:36 Should set and read a value from storage (single) (30 ms) 19:50:36 Should set a value in storage (list) (27 ms) 19:50:36 Should read a value in storage (list) (27 ms) 19:50:36 Should set a value in storage (map) (38 ms) 19:50:36 Should read-add-set a value in storage (map) (28 ms) 19:50:36 Should read value in storage (map) (21 ms) 19:50:36 Contract Instance Retrieval 19:50:36 Can getContractInstance (27 ms) 19:50:36 Nested external calls 19:50:36 Nested call to non-existent contract (30 ms) 19:50:36 Nested call (254 ms) 19:50:36 Nested static call (248 ms) 19:50:36 Nested call with not enough gas (expect failure) (164 ms) 19:50:36 Nested static call which modifies storage (expect failure) (162 ms) 19:50:36 Nested calls rethrow exceptions (233 ms) 19:50:36 Should handle returndatacopy oracle (226 ms) 19:50:36 Side effect trace errors on overflow 19:50:36 Overrun of Public storage writes (9 ms) 19:50:36 Overrun of New note hashes (16 ms) 19:50:36 Overrun of New nullifiers (13 ms) 19:50:36 Overrun of New unencrypted logs (1 ms) 19:50:36 Overrun of New L1 to L2 messages (2 ms) 19:50:36 Side effects including merkle checks 19:50:36 Note hashes 19:50:36 Should append new note hash correctly (300 ms) 19:50:36 Note hash check properly returns exists=false (254 ms) 19:50:36 Note hash check properly returns exists=true (270 ms) 19:50:36 Nullifiers 19:50:36 Should append a new nullifier correctly (259 ms) 19:50:36 Nullifier check properly returns exists=false (227 ms) 19:50:36 Nullifier check properly returns exists=true (234 ms) 19:50:36 Public storage accesses 19:50:36 Should set value in storage (single) (246 ms) 19:50:36 Should read value in storage (single) - never written (273 ms) 19:50:36 Should read value in storage (single) - written before, leaf exists (255 ms) 19:50:36 Should set and read value in storage (single) (243 ms) 19:50:36 19:50:36 Test Suites: 1 passed, 1 total 19:50:36 Tests: 103 passed, 103 total 19:50:36 Snapshots: 0 total 19:50:36 Time: 11.456 s 19:50:36 Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts. 19:50:36 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?