Parent Log: http://ci.aztec-labs.com/a44a7be5cf1b53ae Command: 5b4d9f16dc72b5a7 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/1b10c7d500621ca2e4c0db764df67f3085beb282 Env: REF_NAME=gh-readonly-queue/next/pr-15229-99e234fe4473771b32124e0402885610a6a3f98a CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 24 10:05:05 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15229_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 10:05:09 [10:05:09.216] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 10:05:13 [10:05:13.976] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 10:05:14 [10:05:14.852] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-fKZDoJ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:05:15 [10:05:15.157] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Jykf3f/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:05:15 [10:05:15.394] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-zWY1tr/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:05:15 [10:05:15.632] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-MTghW4/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:05:15 [10:05:15.919] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-xVng36/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:05:16 [10:05:16.166] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-FhT4S8/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:05:16 [10:05:16.409] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-TtP1R0/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:05:16 [10:05:16.689] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Rz5mk4/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:05:16 [10:05:16.964] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Dn6KuM/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:05:17 [10:05:17.267] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Z3l4UF/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:05:17 PASS src/public/avm/avm_simulator.test.ts (11.027 s) 10:05:17 AVM simulator: injected bytecode 10:05:17 Should execute bytecode that performs basic addition (8 ms) 10:05:17 Should halt if runs out of gas (3 ms) 10:05:17 An exceptional halt should consume all allocated gas (2 ms) 10:05:17 AVM simulator: transpiled Noir contracts 10:05:17 execution of a non-existent contract immediately reverts and consumes all allocated gas (8 ms) 10:05:17 addition (40 ms) 10:05:17 addition via dispatch (268 ms) 10:05:17 get_args_hash via dispatch (58 ms) 10:05:17 modulo and u1 (26 ms) 10:05:17 Should handle calldata oracle (29 ms) 10:05:17 Should handle return oracle (26 ms) 10:05:17 Should handle revert oracle (25 ms) 10:05:17 ec_add should not revert (27 ms) 10:05:17 elliptic curve operations (39 ms) 10:05:17 pedersen commitment operations (40 ms) 10:05:17 conditional move operations (43 ms) 10:05:17 Logging (28 ms) 10:05:17 Assertion message (52 ms) 10:05:17 conversions (17 ms) 10:05:17 should be able to execute contracts that only have private functions 10:05:17 msm 10:05:17 low scalars (38 ms) 10:05:17 with a zero (32 ms) 10:05:17 high scalars (153 ms) 10:05:17 U128 addition and overflows 10:05:17 U128 addition (17 ms) 10:05:17 Expect failure on U128::add() overflow (48 ms) 10:05:17 SET functions 10:05:17 function 'set_opcode_u8' (27 ms) 10:05:17 function 'set_opcode_u32' (32 ms) 10:05:17 function 'set_opcode_u64' (29 ms) 10:05:17 function 'set_opcode_small_field' (25 ms) 10:05:17 function 'set_opcode_big_field' (43 ms) 10:05:17 function 'set_opcode_really_big_field' (27 ms) 10:05:17 Hashes in noir contracts 10:05:17 Should execute contract function that performs sha256_hash_10 on input of length 10 (57 ms) 10:05:17 Should execute contract function that performs sha256_hash_20 on input of length 20 (39 ms) 10:05:17 Should execute contract function that performs sha256_hash_30 on input of length 30 (45 ms) 10:05:17 Should execute contract function that performs sha256_hash_40 on input of length 40 (46 ms) 10:05:17 Should execute contract function that performs sha256_hash_50 on input of length 50 (45 ms) 10:05:17 Should execute contract function that performs sha256_hash_60 on input of length 60 (46 ms) 10:05:17 Should execute contract function that performs sha256_hash_70 on input of length 70 (53 ms) 10:05:17 Should execute contract function that performs sha256_hash_80 on input of length 80 (42 ms) 10:05:17 Should execute contract function that performs sha256_hash_90 on input of length 90 (32 ms) 10:05:17 Should execute contract function that performs sha256_hash_100 on input of length 100 (44 ms) 10:05:17 Should execute contract function that performs sha256_hash_255 on input of length 255 (72 ms) 10:05:17 Should execute contract function that performs sha256_hash_256 on input of length 256 (75 ms) 10:05:17 Should execute contract function that performs sha256_hash_511 on input of length 511 (142 ms) 10:05:17 Should execute contract function that performs sha256_hash_512 on input of length 512 (208 ms) 10:05:17 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (466 ms) 10:05:17 Should execute contract function that performs keccak_hash on input of length 10 (70 ms) 10:05:17 Should execute contract function that performs keccak_f1600 on input of length 25 (13 ms) 10:05:17 Should execute contract function that performs poseidon2_hash on input of length 10 (19 ms) 10:05:17 Should execute contract function that performs pedersen_hash on input of length 10 (638 ms) 10:05:17 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (530 ms) 10:05:17 Environment getters 10:05:17 address getter (18 ms) 10:05:17 sender getter (22 ms) 10:05:17 transactionFee getter (21 ms) 10:05:17 chainId getter (19 ms) 10:05:17 version getter (23 ms) 10:05:17 blockNumber getter (20 ms) 10:05:17 timestamp getter (19 ms) 10:05:17 feePerDaGas getter (22 ms) 10:05:17 feePerL2Gas getter (17 ms) 10:05:17 Side effects, world state, nested calls 10:05:17 Should append a new note hash correctly (21 ms) 10:05:17 Should append a new nullifier correctly (25 ms) 10:05:17 Note hash checks 10:05:17 Should return false (and be traced) when noteHash does NOT exist (28 ms) 10:05:17 Should return true (and be traced) when noteHash DOES exist (24 ms) 10:05:17 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (29 ms) 10:05:17 Nullifier checks 10:05:17 Should return false (and be traced) when nullifier does NOT exist (25 ms) 10:05:17 Should return true (and be traced) when nullifier DOES exist (17 ms) 10:05:17 L1ToL2 message checks 10:05:17 Should return false (and be traced) when message does NOT exist (32 ms) 10:05:17 Should return true (and be traced) when message DOES exist (19 ms) 10:05:17 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (21 ms) 10:05:17 Cached nullifiers 10:05:17 Emits a nullifier and checks its existence (25 ms) 10:05:17 Emits same nullifier twice (expect failure) (23 ms) 10:05:17 Public Logs 10:05:17 Emit public logs (should be traced) (46 ms) 10:05:17 Public storage accesses 10:05:17 Should set value in storage (single) (31 ms) 10:05:17 Should read value in storage (single) (21 ms) 10:05:17 Should set and read a value from storage (single) (21 ms) 10:05:17 Should set a value in storage (list) (25 ms) 10:05:17 Should read a value in storage (list) (37 ms) 10:05:17 Should set a value in storage (map) (38 ms) 10:05:17 Should read-add-set a value in storage (map) (49 ms) 10:05:17 Should read value in storage (map) (35 ms) 10:05:17 Contract Instance Retrieval 10:05:17 Can getContractInstance (32 ms) 10:05:17 Nested external calls 10:05:17 Nested call to non-existent contract (45 ms) 10:05:17 Nested call (167 ms) 10:05:17 Nested static call (129 ms) 10:05:17 Nested call with not enough gas (expect failure) (112 ms) 10:05:17 Nested static call which modifies storage (expect failure) (122 ms) 10:05:17 Nested calls rethrow exceptions (136 ms) 10:05:17 Should handle returndatacopy oracle (142 ms) 10:05:17 Side effect trace errors on overflow 10:05:17 Overrun of Public storage writes (13 ms) 10:05:17 Overrun of New note hashes (15 ms) 10:05:17 Overrun of New nullifiers (11 ms) 10:05:17 Overrun of New unencrypted logs (2 ms) 10:05:17 Overrun of New L1 to L2 messages (2 ms) 10:05:17 Side effects including merkle checks 10:05:17 Note hashes 10:05:17 Should append new note hash correctly (312 ms) 10:05:17 Note hash check properly returns exists=false (243 ms) 10:05:17 Note hash check properly returns exists=true (238 ms) 10:05:17 Nullifiers 10:05:17 Should append a new nullifier correctly (284 ms) 10:05:17 Nullifier check properly returns exists=false (247 ms) 10:05:17 Nullifier check properly returns exists=true (245 ms) 10:05:17 Public storage accesses 10:05:17 Should set value in storage (single) (279 ms) 10:05:17 Should read value in storage (single) - never written (273 ms) 10:05:17 Should read value in storage (single) - written before, leaf exists (302 ms) 10:05:17 Should set and read value in storage (single) (253 ms) 10:05:17 10:05:17 Test Suites: 1 passed, 1 total 10:05:17 Tests: 103 passed, 103 total 10:05:17 Snapshots: 0 total 10:05:17 Time: 11.122 s 10:05:17 Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts. 10:05:17 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?