Parent Log: http://ci.aztec-labs.com/345c5ed524d6c3dd Command: 557c108a8ed544a3 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/ed4f6d71e2ea98f43186114eb914d54b87dd1183 Env: REF_NAME=gh-readonly-queue/next/pr-15116-433ba6218aed45169029991a493e4232b30b8ec6 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 17 19:34:34 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15116_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 19:34:38 [19:34:38.942] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 19:34:43 [19:34:43.656] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 19:34:44 [19:34:44.595] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-zC8Q9S/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 19:34:44 [19:34:44.872] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-6PmK4g/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 19:34:45 [19:34:45.144] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-khjh1u/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 19:34:45 [19:34:45.418] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-7ilyx8/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 19:34:45 [19:34:45.657] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-sKX8Zs/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 19:34:45 [19:34:45.893] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-yac9Oo/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 19:34:46 [19:34:46.134] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Rn7Dz1/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 19:34:46 [19:34:46.407] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-2SSvT7/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 19:34:46 [19:34:46.693] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-oqAo9S/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 19:34:46 [19:34:46.959] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-zEHbaF/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 19:34:47 PASS src/public/avm/avm_simulator.test.ts (11.246 s) 19:34:47 AVM simulator: injected bytecode 19:34:47 Should execute bytecode that performs basic addition (9 ms) 19:34:47 Should halt if runs out of gas (4 ms) 19:34:47 An exceptional halt should consume all allocated gas (2 ms) 19:34:47 AVM simulator: transpiled Noir contracts 19:34:47 execution of a non-existent contract immediately reverts and consumes all allocated gas (8 ms) 19:34:47 addition (40 ms) 19:34:47 addition via dispatch (269 ms) 19:34:47 get_args_hash via dispatch (65 ms) 19:34:47 modulo and u1 (21 ms) 19:34:47 Should handle calldata oracle (31 ms) 19:34:47 Should handle return oracle (28 ms) 19:34:47 Should handle revert oracle (23 ms) 19:34:47 ec_add should not revert (28 ms) 19:34:47 elliptic curve operations (20 ms) 19:34:47 pedersen commitment operations (45 ms) 19:34:47 conditional move operations (30 ms) 19:34:47 Logging (25 ms) 19:34:47 Assertion message (40 ms) 19:34:47 conversions (19 ms) 19:34:47 should be able to execute contracts that only have private functions (2 ms) 19:34:47 msm 19:34:47 low scalars (53 ms) 19:34:47 with a zero (35 ms) 19:34:47 high scalars (203 ms) 19:34:47 U128 addition and overflows 19:34:47 U128 addition (32 ms) 19:34:47 Expect failure on U128::add() overflow (66 ms) 19:34:47 SET functions 19:34:47 function 'set_opcode_u8' (34 ms) 19:34:47 function 'set_opcode_u32' (28 ms) 19:34:47 function 'set_opcode_u64' (29 ms) 19:34:47 function 'set_opcode_small_field' (37 ms) 19:34:47 function 'set_opcode_big_field' (16 ms) 19:34:47 function 'set_opcode_really_big_field' (18 ms) 19:34:47 Hashes in noir contracts 19:34:47 Should execute contract function that performs sha256_hash_10 on input of length 10 (58 ms) 19:34:47 Should execute contract function that performs sha256_hash_20 on input of length 20 (44 ms) 19:34:47 Should execute contract function that performs sha256_hash_30 on input of length 30 (39 ms) 19:34:47 Should execute contract function that performs sha256_hash_40 on input of length 40 (32 ms) 19:34:47 Should execute contract function that performs sha256_hash_50 on input of length 50 (30 ms) 19:34:47 Should execute contract function that performs sha256_hash_60 on input of length 60 (47 ms) 19:34:47 Should execute contract function that performs sha256_hash_70 on input of length 70 (36 ms) 19:34:47 Should execute contract function that performs sha256_hash_80 on input of length 80 (41 ms) 19:34:47 Should execute contract function that performs sha256_hash_90 on input of length 90 (40 ms) 19:34:47 Should execute contract function that performs sha256_hash_100 on input of length 100 (32 ms) 19:34:47 Should execute contract function that performs sha256_hash_255 on input of length 255 (95 ms) 19:34:47 Should execute contract function that performs sha256_hash_256 on input of length 256 (84 ms) 19:34:47 Should execute contract function that performs sha256_hash_511 on input of length 511 (144 ms) 19:34:47 Should execute contract function that performs sha256_hash_512 on input of length 512 (138 ms) 19:34:47 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (570 ms) 19:34:47 Should execute contract function that performs keccak_hash on input of length 10 (61 ms) 19:34:47 Should execute contract function that performs keccak_f1600 on input of length 25 (17 ms) 19:34:47 Should execute contract function that performs poseidon2_hash on input of length 10 (24 ms) 19:34:47 Should execute contract function that performs pedersen_hash on input of length 10 (569 ms) 19:34:47 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (472 ms) 19:34:47 Environment getters 19:34:47 address getter (28 ms) 19:34:47 sender getter (31 ms) 19:34:47 transactionFee getter (15 ms) 19:34:47 chainId getter (18 ms) 19:34:47 version getter (16 ms) 19:34:47 blockNumber getter (16 ms) 19:34:47 timestamp getter (29 ms) 19:34:47 feePerDaGas getter (20 ms) 19:34:47 feePerL2Gas getter (17 ms) 19:34:47 Side effects, world state, nested calls 19:34:47 Should append a new note hash correctly (37 ms) 19:34:47 Should append a new nullifier correctly (33 ms) 19:34:47 Note hash checks 19:34:47 Should return false (and be traced) when noteHash does NOT exist (18 ms) 19:34:47 Should return true (and be traced) when noteHash DOES exist (26 ms) 19:34:47 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (23 ms) 19:34:47 Nullifier checks 19:34:47 Should return false (and be traced) when nullifier does NOT exist (17 ms) 19:34:47 Should return true (and be traced) when nullifier DOES exist (16 ms) 19:34:47 L1ToL2 message checks 19:34:47 Should return false (and be traced) when message does NOT exist (29 ms) 19:34:47 Should return true (and be traced) when message DOES exist (22 ms) 19:34:47 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (26 ms) 19:34:47 Cached nullifiers 19:34:47 Emits a nullifier and checks its existence (19 ms) 19:34:47 Emits same nullifier twice (expect failure) (33 ms) 19:34:47 Public Logs 19:34:47 Emit public logs (should be traced) (66 ms) 19:34:47 Public storage accesses 19:34:47 Should set value in storage (single) (29 ms) 19:34:47 Should read value in storage (single) (30 ms) 19:34:47 Should set and read a value from storage (single) (34 ms) 19:34:47 Should set a value in storage (list) (28 ms) 19:34:47 Should read a value in storage (list) (32 ms) 19:34:47 Should set a value in storage (map) (42 ms) 19:34:47 Should read-add-set a value in storage (map) (43 ms) 19:34:47 Should read value in storage (map) (35 ms) 19:34:47 Contract Instance Retrieval 19:34:47 Can getContractInstance (22 ms) 19:34:47 Nested external calls 19:34:47 Nested call to non-existent contract (20 ms) 19:34:47 Nested call (153 ms) 19:34:47 Nested static call (118 ms) 19:34:47 Nested call with not enough gas (expect failure) (105 ms) 19:34:47 Nested static call which modifies storage (expect failure) (124 ms) 19:34:47 Nested calls rethrow exceptions (194 ms) 19:34:47 Should handle returndatacopy oracle (158 ms) 19:34:47 Side effect trace errors on overflow 19:34:47 Overrun of Public storage writes (14 ms) 19:34:47 Overrun of New note hashes (23 ms) 19:34:47 Overrun of New nullifiers (19 ms) 19:34:47 Overrun of New unencrypted logs (2 ms) 19:34:47 Overrun of New L1 to L2 messages (2 ms) 19:34:47 Side effects including merkle checks 19:34:47 Note hashes 19:34:47 Should append new note hash correctly (288 ms) 19:34:47 Note hash check properly returns exists=false (272 ms) 19:34:47 Note hash check properly returns exists=true (276 ms) 19:34:47 Nullifiers 19:34:47 Should append a new nullifier correctly (238 ms) 19:34:47 Nullifier check properly returns exists=false (236 ms) 19:34:47 Nullifier check properly returns exists=true (240 ms) 19:34:47 Public storage accesses 19:34:47 Should set value in storage (single) (274 ms) 19:34:47 Should read value in storage (single) - never written (283 ms) 19:34:47 Should read value in storage (single) - written before, leaf exists (265 ms) 19:34:47 Should set and read value in storage (single) (325 ms) 19:34:47 19:34:47 Test Suites: 1 passed, 1 total 19:34:47 Tests: 103 passed, 103 total 19:34:47 Snapshots: 0 total 19:34:47 Time: 11.377 s 19:34:47 Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts. 19:34:47 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?