Parent Log: http://ci.aztec-labs.com/fd27c7b524aab244 Command: f803628267cda2b6 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/21a568ac0c9ef351b1923375be41d4620add2b60 Env: REF_NAME=gh-readonly-queue/next/pr-15042-b80949775e5c27908a6055ad24592f7d98bdc45a CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Sun Jun 15 12:35:12 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15042_amd64_x4-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 12:35:16 [12:35:16.314] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 12:35:20 [12:35:20.481] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 12:35:21 [12:35:21.993] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-kWAP4M/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 12:35:22 [12:35:22.260] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-KKCy7U/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 12:35:22 [12:35:22.537] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-juh7B5/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 12:35:22 [12:35:22.805] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Rd2Byx/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 12:35:23 [12:35:23.074] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-jyMKvD/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 12:35:23 [12:35:23.307] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Q5PZEm/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 12:35:23 [12:35:23.605] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-yHmlkK/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 12:35:23 [12:35:23.951] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-4GZ9Zc/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 12:35:24 [12:35:24.256] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Kp1fQH/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 12:35:24 [12:35:24.529] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-xPw7gI/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 12:35:24 PASS src/public/avm/avm_simulator.test.ts (11.013 s) 12:35:24 AVM simulator: injected bytecode 12:35:24 Should execute bytecode that performs basic addition (10 ms) 12:35:24 Should halt if runs out of gas (6 ms) 12:35:24 An exceptional halt should consume all allocated gas (4 ms) 12:35:24 AVM simulator: transpiled Noir contracts 12:35:24 execution of a non-existent contract immediately reverts and consumes all allocated gas (12 ms) 12:35:24 addition (31 ms) 12:35:24 addition via dispatch (266 ms) 12:35:24 get_args_hash via dispatch (45 ms) 12:35:24 modulo and u1 (18 ms) 12:35:24 Should handle calldata oracle (42 ms) 12:35:24 Should handle return oracle (17 ms) 12:35:24 Should handle revert oracle (15 ms) 12:35:24 ec_add should not revert (26 ms) 12:35:24 elliptic curve operations (25 ms) 12:35:24 pedersen commitment operations (36 ms) 12:35:24 conditional move operations (19 ms) 12:35:24 Logging (18 ms) 12:35:24 Assertion message (50 ms) 12:35:24 conversions (29 ms) 12:35:24 should be able to execute contracts that only have private functions (1 ms) 12:35:24 msm 12:35:24 low scalars (29 ms) 12:35:24 with a zero (22 ms) 12:35:24 high scalars (170 ms) 12:35:24 U128 addition and overflows 12:35:24 U128 addition (29 ms) 12:35:24 Expect failure on U128::add() overflow (30 ms) 12:35:24 SET functions 12:35:24 function 'set_opcode_u8' (23 ms) 12:35:24 function 'set_opcode_u32' (21 ms) 12:35:24 function 'set_opcode_u64' (24 ms) 12:35:24 function 'set_opcode_small_field' (37 ms) 12:35:24 function 'set_opcode_big_field' (21 ms) 12:35:24 function 'set_opcode_really_big_field' (22 ms) 12:35:24 Hashes in noir contracts 12:35:24 Should execute contract function that performs sha256_hash_10 on input of length 10 (50 ms) 12:35:24 Should execute contract function that performs sha256_hash_20 on input of length 20 (27 ms) 12:35:24 Should execute contract function that performs sha256_hash_30 on input of length 30 (33 ms) 12:35:24 Should execute contract function that performs sha256_hash_40 on input of length 40 (36 ms) 12:35:24 Should execute contract function that performs sha256_hash_50 on input of length 50 (42 ms) 12:35:24 Should execute contract function that performs sha256_hash_60 on input of length 60 (40 ms) 12:35:24 Should execute contract function that performs sha256_hash_70 on input of length 70 (43 ms) 12:35:24 Should execute contract function that performs sha256_hash_80 on input of length 80 (32 ms) 12:35:24 Should execute contract function that performs sha256_hash_90 on input of length 90 (42 ms) 12:35:24 Should execute contract function that performs sha256_hash_100 on input of length 100 (44 ms) 12:35:24 Should execute contract function that performs sha256_hash_255 on input of length 255 (68 ms) 12:35:24 Should execute contract function that performs sha256_hash_256 on input of length 256 (52 ms) 12:35:24 Should execute contract function that performs sha256_hash_511 on input of length 511 (108 ms) 12:35:24 Should execute contract function that performs sha256_hash_512 on input of length 512 (129 ms) 12:35:24 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (381 ms) 12:35:24 Should execute contract function that performs keccak_hash on input of length 10 (37 ms) 12:35:24 Should execute contract function that performs keccak_f1600 on input of length 25 (9 ms) 12:35:24 Should execute contract function that performs poseidon2_hash on input of length 10 (11 ms) 12:35:24 Should execute contract function that performs pedersen_hash on input of length 10 (565 ms) 12:35:24 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (475 ms) 12:35:24 Environment getters 12:35:24 address getter (21 ms) 12:35:24 sender getter (20 ms) 12:35:24 transactionFee getter (19 ms) 12:35:24 chainId getter (18 ms) 12:35:24 version getter (14 ms) 12:35:24 blockNumber getter (20 ms) 12:35:24 timestamp getter (18 ms) 12:35:24 feePerDaGas getter (22 ms) 12:35:24 feePerL2Gas getter (26 ms) 12:35:24 Side effects, world state, nested calls 12:35:24 Should append a new note hash correctly (34 ms) 12:35:24 Should append a new nullifier correctly (28 ms) 12:35:24 Note hash checks 12:35:24 Should return false (and be traced) when noteHash does NOT exist (27 ms) 12:35:24 Should return true (and be traced) when noteHash DOES exist (27 ms) 12:35:24 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (31 ms) 12:35:24 Nullifier checks 12:35:24 Should return false (and be traced) when nullifier does NOT exist (31 ms) 12:35:24 Should return true (and be traced) when nullifier DOES exist (29 ms) 12:35:24 L1ToL2 message checks 12:35:24 Should return false (and be traced) when message does NOT exist (31 ms) 12:35:24 Should return true (and be traced) when message DOES exist (27 ms) 12:35:24 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (27 ms) 12:35:24 Cached nullifiers 12:35:24 Emits a nullifier and checks its existence (28 ms) 12:35:24 Emits same nullifier twice (expect failure) (33 ms) 12:35:24 Public Logs 12:35:24 Emit public logs (should be traced) (48 ms) 12:35:24 Public storage accesses 12:35:24 Should set value in storage (single) (23 ms) 12:35:24 Should read value in storage (single) (17 ms) 12:35:24 Should set and read a value from storage (single) (25 ms) 12:35:24 Should set a value in storage (list) (22 ms) 12:35:24 Should read a value in storage (list) (25 ms) 12:35:24 Should set a value in storage (map) (35 ms) 12:35:24 Should read-add-set a value in storage (map) (38 ms) 12:35:24 Should read value in storage (map) (31 ms) 12:35:24 Contract Instance Retrieval 12:35:24 Can getContractInstance (26 ms) 12:35:24 Nested external calls 12:35:24 Nested call to non-existent contract (27 ms) 12:35:24 Nested call (233 ms) 12:35:24 Nested static call (215 ms) 12:35:24 Nested call with not enough gas (expect failure) (202 ms) 12:35:24 Nested static call which modifies storage (expect failure) (250 ms) 12:35:24 Nested calls rethrow exceptions (274 ms) 12:35:24 Should handle returndatacopy oracle (261 ms) 12:35:24 Side effect trace errors on overflow 12:35:24 Overrun of Public storage writes (11 ms) 12:35:24 Overrun of New note hashes (18 ms) 12:35:24 Overrun of New nullifiers (26 ms) 12:35:24 Overrun of New unencrypted logs (3 ms) 12:35:24 Overrun of New L1 to L2 messages (1 ms) 12:35:24 Side effects including merkle checks 12:35:24 Note hashes 12:35:24 Should append new note hash correctly (270 ms) 12:35:24 Note hash check properly returns exists=false (263 ms) 12:35:24 Note hash check properly returns exists=true (284 ms) 12:35:24 Nullifiers 12:35:24 Should append a new nullifier correctly (267 ms) 12:35:24 Nullifier check properly returns exists=false (230 ms) 12:35:24 Nullifier check properly returns exists=true (281 ms) 12:35:24 Public storage accesses 12:35:24 Should set value in storage (single) (363 ms) 12:35:24 Should read value in storage (single) - never written (306 ms) 12:35:24 Should read value in storage (single) - written before, leaf exists (272 ms) 12:35:24 Should set and read value in storage (single) (253 ms) 12:35:24 12:35:24 Test Suites: 1 passed, 1 total 12:35:24 Tests: 103 passed, 103 total 12:35:24 Snapshots: 0 total 12:35:24 Time: 11.105 s 12:35:24 Ran all test suites matching /simulator\/src\/public\/avm\/avm_simulator.test.ts/i. 12:35:24 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?