Parent Log: http://ci.aztec-labs.com/7138843e6c6b7613 Command: a611913617ccaadc yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/fa23733be8278348dff0959c8094bcfd89eb44d5 Env: REF_NAME=gh-readonly-queue/next/pr-14929-15c121440ebf929fded7bd0c31960fb154a3fa7a CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Thu Jun 12 10:00:16 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14929_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 10:00:19 [10:00:19.406] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 10:00:23 [10:00:23.441] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 10:00:24 [10:00:24.845] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-2QBunZ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:00:25 [10:00:25.130] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-w861ge/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:00:25 [10:00:25.370] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-BBkhDb/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:00:25 [10:00:25.650] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Ppczzo/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:00:25 [10:00:25.972] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-vsEj5m/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:00:26 [10:00:26.200] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-bSRCo7/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:00:26 [10:00:26.471] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-e9onrP/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:00:26 [10:00:26.753] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-jSV732/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:00:27 [10:00:27.035] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Fe150i/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:00:27 [10:00:27.278] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-pxyzDw/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:00:27 PASS src/public/avm/avm_simulator.test.ts (10.488 s) 10:00:27 AVM simulator: injected bytecode 10:00:27 Should execute bytecode that performs basic addition (8 ms) 10:00:27 Should halt if runs out of gas (3 ms) 10:00:27 An exceptional halt should consume all allocated gas (2 ms) 10:00:27 AVM simulator: transpiled Noir contracts 10:00:27 execution of a non-existent contract immediately reverts and consumes all allocated gas (6 ms) 10:00:27 addition (17 ms) 10:00:27 addition via dispatch (257 ms) 10:00:27 get_args_hash via dispatch (76 ms) 10:00:27 modulo and u1 (25 ms) 10:00:27 Should handle calldata oracle (26 ms) 10:00:27 Should handle return oracle (37 ms) 10:00:27 Should handle revert oracle (23 ms) 10:00:27 ec_add should not revert (26 ms) 10:00:27 elliptic curve operations (31 ms) 10:00:27 pedersen commitment operations (43 ms) 10:00:27 conditional move operations (23 ms) 10:00:27 Logging (18 ms) 10:00:27 Assertion message (53 ms) 10:00:27 conversions (28 ms) 10:00:27 should be able to execute contracts that only have private functions (1 ms) 10:00:27 msm 10:00:27 low scalars (39 ms) 10:00:27 with a zero (36 ms) 10:00:27 high scalars (152 ms) 10:00:27 U128 addition and overflows 10:00:27 U128 addition (15 ms) 10:00:27 Expect failure on U128::add() overflow (33 ms) 10:00:27 SET functions 10:00:27 function 'set_opcode_u8' (22 ms) 10:00:27 function 'set_opcode_u32' (23 ms) 10:00:27 function 'set_opcode_u64' (26 ms) 10:00:27 function 'set_opcode_small_field' (25 ms) 10:00:27 function 'set_opcode_big_field' (12 ms) 10:00:27 function 'set_opcode_really_big_field' (16 ms) 10:00:27 Hashes in noir contracts 10:00:27 Should execute contract function that performs sha256_hash_10 on input of length 10 (39 ms) 10:00:27 Should execute contract function that performs sha256_hash_20 on input of length 20 (39 ms) 10:00:27 Should execute contract function that performs sha256_hash_30 on input of length 30 (33 ms) 10:00:27 Should execute contract function that performs sha256_hash_40 on input of length 40 (52 ms) 10:00:27 Should execute contract function that performs sha256_hash_50 on input of length 50 (34 ms) 10:00:27 Should execute contract function that performs sha256_hash_60 on input of length 60 (44 ms) 10:00:27 Should execute contract function that performs sha256_hash_70 on input of length 70 (45 ms) 10:00:27 Should execute contract function that performs sha256_hash_80 on input of length 80 (35 ms) 10:00:27 Should execute contract function that performs sha256_hash_90 on input of length 90 (55 ms) 10:00:27 Should execute contract function that performs sha256_hash_100 on input of length 100 (50 ms) 10:00:27 Should execute contract function that performs sha256_hash_255 on input of length 255 (77 ms) 10:00:27 Should execute contract function that performs sha256_hash_256 on input of length 256 (78 ms) 10:00:27 Should execute contract function that performs sha256_hash_511 on input of length 511 (114 ms) 10:00:27 Should execute contract function that performs sha256_hash_512 on input of length 512 (120 ms) 10:00:27 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (536 ms) 10:00:27 Should execute contract function that performs keccak_hash on input of length 10 (56 ms) 10:00:27 Should execute contract function that performs keccak_f1600 on input of length 25 (12 ms) 10:00:27 Should execute contract function that performs poseidon2_hash on input of length 10 (19 ms) 10:00:27 Should execute contract function that performs pedersen_hash on input of length 10 (449 ms) 10:00:27 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (370 ms) 10:00:27 Environment getters 10:00:27 address getter (14 ms) 10:00:27 sender getter (13 ms) 10:00:27 transactionFee getter (12 ms) 10:00:27 chainId getter (20 ms) 10:00:27 version getter (25 ms) 10:00:27 blockNumber getter (21 ms) 10:00:27 timestamp getter (22 ms) 10:00:27 feePerDaGas getter (15 ms) 10:00:27 feePerL2Gas getter (12 ms) 10:00:27 Side effects, world state, nested calls 10:00:27 Should append a new note hash correctly (14 ms) 10:00:27 Should append a new nullifier correctly (23 ms) 10:00:27 Note hash checks 10:00:27 Should return false (and be traced) when noteHash does NOT exist (12 ms) 10:00:27 Should return true (and be traced) when noteHash DOES exist (14 ms) 10:00:27 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (15 ms) 10:00:27 Nullifier checks 10:00:27 Should return false (and be traced) when nullifier does NOT exist (12 ms) 10:00:27 Should return true (and be traced) when nullifier DOES exist (13 ms) 10:00:27 L1ToL2 message checks 10:00:27 Should return false (and be traced) when message does NOT exist (22 ms) 10:00:27 Should return true (and be traced) when message DOES exist (22 ms) 10:00:27 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (13 ms) 10:00:27 Cached nullifiers 10:00:27 Emits a nullifier and checks its existence (25 ms) 10:00:27 Emits same nullifier twice (expect failure) (18 ms) 10:00:27 Public Logs 10:00:27 Emit public logs (should be traced) (52 ms) 10:00:27 Public storage accesses 10:00:27 Should set value in storage (single) (32 ms) 10:00:27 Should read value in storage (single) (19 ms) 10:00:27 Should set and read a value from storage (single) (15 ms) 10:00:27 Should set a value in storage (list) (16 ms) 10:00:27 Should read a value in storage (list) (14 ms) 10:00:27 Should set a value in storage (map) (19 ms) 10:00:27 Should read-add-set a value in storage (map) (48 ms) 10:00:27 Should read value in storage (map) (25 ms) 10:00:27 Contract Instance Retrieval 10:00:27 Can getContractInstance (27 ms) 10:00:27 Nested external calls 10:00:27 Nested call to non-existent contract (31 ms) 10:00:27 Nested call (251 ms) 10:00:27 Nested static call (193 ms) 10:00:27 Nested call with not enough gas (expect failure) (183 ms) 10:00:27 Nested static call which modifies storage (expect failure) (237 ms) 10:00:27 Nested calls rethrow exceptions (258 ms) 10:00:27 Should handle returndatacopy oracle (209 ms) 10:00:27 Side effect trace errors on overflow 10:00:27 Overrun of Public storage writes (11 ms) 10:00:27 Overrun of New note hashes (14 ms) 10:00:27 Overrun of New nullifiers (14 ms) 10:00:27 Overrun of New unencrypted logs (2 ms) 10:00:27 Overrun of New L1 to L2 messages (2 ms) 10:00:27 Side effects including merkle checks 10:00:27 Note hashes 10:00:27 Should append new note hash correctly (289 ms) 10:00:27 Note hash check properly returns exists=false (252 ms) 10:00:27 Note hash check properly returns exists=true (277 ms) 10:00:27 Nullifiers 10:00:27 Should append a new nullifier correctly (323 ms) 10:00:27 Nullifier check properly returns exists=false (226 ms) 10:00:27 Nullifier check properly returns exists=true (270 ms) 10:00:27 Public storage accesses 10:00:27 Should set value in storage (single) (281 ms) 10:00:27 Should read value in storage (single) - never written (280 ms) 10:00:27 Should read value in storage (single) - written before, leaf exists (247 ms) 10:00:27 Should set and read value in storage (single) (281 ms) 10:00:27 10:00:27 Test Suites: 1 passed, 1 total 10:00:27 Tests: 103 passed, 103 total 10:00:27 Snapshots: 0 total 10:00:27 Time: 10.565 s 10:00:27 Ran all test suites matching /simulator\/src\/public\/avm\/avm_simulator.test.ts/i. 10:00:27 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?