Parent Log: http://ci.aztec-labs.com/b136f0c1bb7af195 Command: 26102936e69ab88b yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/b1b65bcdbd44a49fbebe5d2265256dc9466e92be Env: REF_NAME=gh-readonly-queue/master/pr-15044-267ac35e8ccb487bdc79bbe12d428f4c8b4d4d9f CURRENT_VERSION=0.87.8 CI_FULL=1 Date: Fri Jun 13 16:24:56 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15044_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_master 16:24:59 [16:24:59.675] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 16:25:03 [16:25:03.366] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 16:25:04 [16:25:04.688] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-2G1hI9/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:25:04 [16:25:04.984] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-cO3ibD/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:25:05 [16:25:05.252] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-4eIbF7/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:25:05 [16:25:05.520] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-pg3CqA/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:25:05 [16:25:05.763] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-c2mkcL/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:25:06 [16:25:06.052] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-g945xM/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:25:06 [16:25:06.362] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-PsVzSz/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:25:06 [16:25:06.641] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-REBrpz/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:25:06 [16:25:06.939] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-4im6gP/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:25:07 [16:25:07.188] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-CnH8DK/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:25:07 PASS src/public/avm/avm_simulator.test.ts (10.316 s) 16:25:07 AVM simulator: injected bytecode 16:25:07 Should execute bytecode that performs basic addition (6 ms) 16:25:07 Should halt if runs out of gas (2 ms) 16:25:07 An exceptional halt should consume all allocated gas (2 ms) 16:25:07 AVM simulator: transpiled Noir contracts 16:25:07 execution of a non-existent contract immediately reverts and consumes all allocated gas (5 ms) 16:25:07 addition (15 ms) 16:25:07 addition via dispatch (35 ms) 16:25:07 get_args_hash via dispatch (31 ms) 16:25:07 modulo and u1 (15 ms) 16:25:07 Should handle calldata oracle (14 ms) 16:25:07 Should handle return oracle (28 ms) 16:25:07 Should handle revert oracle (22 ms) 16:25:07 ec_add should not revert (23 ms) 16:25:07 elliptic curve operations (24 ms) 16:25:07 pedersen commitment operations (39 ms) 16:25:07 conditional move operations (14 ms) 16:25:07 Logging (35 ms) 16:25:07 Assertion message (48 ms) 16:25:07 conversions (20 ms) 16:25:07 should be able to execute contracts that only have private functions (2 ms) 16:25:07 msm 16:25:07 low scalars (51 ms) 16:25:07 with a zero (16 ms) 16:25:07 high scalars (139 ms) 16:25:07 U128 addition and overflows 16:25:07 U128 addition (17 ms) 16:25:07 Expect failure on U128::add() overflow (28 ms) 16:25:07 SET functions 16:25:07 function 'set_opcode_u8' (24 ms) 16:25:07 function 'set_opcode_u32' (30 ms) 16:25:07 function 'set_opcode_u64' (19 ms) 16:25:07 function 'set_opcode_small_field' (16 ms) 16:25:07 function 'set_opcode_big_field' (22 ms) 16:25:07 function 'set_opcode_really_big_field' (23 ms) 16:25:07 Hashes in noir contracts 16:25:07 Should execute contract function that performs sha256_hash_10 on input of length 10 (32 ms) 16:25:07 Should execute contract function that performs sha256_hash_20 on input of length 20 (31 ms) 16:25:07 Should execute contract function that performs sha256_hash_30 on input of length 30 (34 ms) 16:25:07 Should execute contract function that performs sha256_hash_40 on input of length 40 (25 ms) 16:25:07 Should execute contract function that performs sha256_hash_50 on input of length 50 (22 ms) 16:25:07 Should execute contract function that performs sha256_hash_60 on input of length 60 (34 ms) 16:25:07 Should execute contract function that performs sha256_hash_70 on input of length 70 (40 ms) 16:25:07 Should execute contract function that performs sha256_hash_80 on input of length 80 (27 ms) 16:25:07 Should execute contract function that performs sha256_hash_90 on input of length 90 (23 ms) 16:25:07 Should execute contract function that performs sha256_hash_100 on input of length 100 (47 ms) 16:25:07 Should execute contract function that performs sha256_hash_255 on input of length 255 (59 ms) 16:25:07 Should execute contract function that performs sha256_hash_256 on input of length 256 (70 ms) 16:25:07 Should execute contract function that performs sha256_hash_511 on input of length 511 (103 ms) 16:25:07 Should execute contract function that performs sha256_hash_512 on input of length 512 (162 ms) 16:25:07 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (448 ms) 16:25:07 Should execute contract function that performs keccak_hash on input of length 10 (52 ms) 16:25:07 Should execute contract function that performs keccak_f1600 on input of length 25 (8 ms) 16:25:07 Should execute contract function that performs poseidon2_hash on input of length 10 (13 ms) 16:25:07 Should execute contract function that performs pedersen_hash on input of length 10 (494 ms) 16:25:07 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (477 ms) 16:25:07 Environment getters 16:25:07 address getter (22 ms) 16:25:07 sender getter (19 ms) 16:25:07 transactionFee getter (16 ms) 16:25:07 chainId getter (25 ms) 16:25:07 version getter (20 ms) 16:25:07 blockNumber getter (18 ms) 16:25:07 timestamp getter (19 ms) 16:25:07 feePerDaGas getter (27 ms) 16:25:07 feePerL2Gas getter (31 ms) 16:25:07 Side effects, world state, nested calls 16:25:07 Should append a new note hash correctly (24 ms) 16:25:07 Should append a new nullifier correctly (17 ms) 16:25:07 Note hash checks 16:25:07 Should return false (and be traced) when noteHash does NOT exist (24 ms) 16:25:07 Should return true (and be traced) when noteHash DOES exist (20 ms) 16:25:07 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (20 ms) 16:25:07 Nullifier checks 16:25:07 Should return false (and be traced) when nullifier does NOT exist (19 ms) 16:25:07 Should return true (and be traced) when nullifier DOES exist (13 ms) 16:25:07 L1ToL2 message checks 16:25:07 Should return false (and be traced) when message does NOT exist (18 ms) 16:25:07 Should return true (and be traced) when message DOES exist (23 ms) 16:25:07 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (18 ms) 16:25:07 Cached nullifiers 16:25:07 Emits a nullifier and checks its existence (22 ms) 16:25:07 Emits same nullifier twice (expect failure) (22 ms) 16:25:07 Public Logs 16:25:07 Emit public logs (should be traced) (55 ms) 16:25:07 Public storage accesses 16:25:07 Should set value in storage (single) (16 ms) 16:25:07 Should read value in storage (single) (18 ms) 16:25:07 Should set and read a value from storage (single) (22 ms) 16:25:07 Should set a value in storage (list) (22 ms) 16:25:07 Should read a value in storage (list) (20 ms) 16:25:07 Should set a value in storage (map) (22 ms) 16:25:07 Should read-add-set a value in storage (map) (26 ms) 16:25:07 Should read value in storage (map) (27 ms) 16:25:07 Contract Instance Retrieval 16:25:07 Can getContractInstance (25 ms) 16:25:07 Nested external calls 16:25:07 Nested call to non-existent contract (18 ms) 16:25:07 Nested call (219 ms) 16:25:07 Nested static call (213 ms) 16:25:07 Nested call with not enough gas (expect failure) (215 ms) 16:25:07 Nested static call which modifies storage (expect failure) (197 ms) 16:25:07 Nested calls rethrow exceptions (216 ms) 16:25:07 Should handle returndatacopy oracle (204 ms) 16:25:07 Side effect trace errors on overflow 16:25:07 Overrun of Public storage writes (7 ms) 16:25:07 Overrun of New note hashes (18 ms) 16:25:07 Overrun of New nullifiers (10 ms) 16:25:07 Overrun of New unencrypted logs (1 ms) 16:25:07 Overrun of New L1 to L2 messages (1 ms) 16:25:07 Side effects including merkle checks 16:25:07 Note hashes 16:25:07 Should append new note hash correctly (302 ms) 16:25:07 Note hash check properly returns exists=false (272 ms) 16:25:07 Note hash check properly returns exists=true (260 ms) 16:25:07 Nullifiers 16:25:07 Should append a new nullifier correctly (246 ms) 16:25:07 Nullifier check properly returns exists=false (288 ms) 16:25:07 Nullifier check properly returns exists=true (293 ms) 16:25:07 Public storage accesses 16:25:07 Should set value in storage (single) (287 ms) 16:25:07 Should read value in storage (single) - never written (295 ms) 16:25:07 Should read value in storage (single) - written before, leaf exists (253 ms) 16:25:07 Should set and read value in storage (single) (295 ms) 16:25:07 16:25:07 Test Suites: 1 passed, 1 total 16:25:07 Tests: 103 passed, 103 total 16:25:07 Snapshots: 0 total 16:25:07 Time: 10.392 s 16:25:07 Ran all test suites matching /simulator\/src\/public\/avm\/avm_simulator.test.ts/i. 16:25:07 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?