Parent Log: http://ci.aztec-labs.com/1320ea46e24a4ada Command: fa3d426c5ffed922 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/ddabb45f79cc171e41a0a5330544775de9fdf7fd Env: REF_NAME=gh-readonly-queue/next/pr-14983-4e03f15ca8099f25d50eddd19c4914764b84fe7b CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 13 14:37:58 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14983_amd64_x4-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 14:38:02 [14:38:02.262] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 14:38:06 [14:38:06.286] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 14:38:07 [14:38:07.770] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-8cw7BV/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:38:08 [14:38:08.020] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-AuhlUV/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:38:08 [14:38:08.267] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-ow6oMZ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:38:08 [14:38:08.521] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-JjC1aE/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:38:08 [14:38:08.787] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-zcA02v/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:38:09 [14:38:09.041] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-KZ3v44/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:38:09 [14:38:09.294] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-v12DIh/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:38:09 [14:38:09.555] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-jBQMfB/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:38:09 [14:38:09.807] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-4gwww8/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:38:10 [14:38:10.065] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-sOso7b/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:38:10 PASS src/public/avm/avm_simulator.test.ts (11.063 s) 14:38:10 AVM simulator: injected bytecode 14:38:10 Should execute bytecode that performs basic addition (10 ms) 14:38:10 Should halt if runs out of gas (5 ms) 14:38:10 An exceptional halt should consume all allocated gas (3 ms) 14:38:10 AVM simulator: transpiled Noir contracts 14:38:10 execution of a non-existent contract immediately reverts and consumes all allocated gas (17 ms) 14:38:10 addition (29 ms) 14:38:10 addition via dispatch (243 ms) 14:38:10 get_args_hash via dispatch (46 ms) 14:38:10 modulo and u1 (19 ms) 14:38:10 Should handle calldata oracle (21 ms) 14:38:10 Should handle return oracle (33 ms) 14:38:10 Should handle revert oracle (30 ms) 14:38:10 ec_add should not revert (19 ms) 14:38:10 elliptic curve operations (15 ms) 14:38:10 pedersen commitment operations (46 ms) 14:38:10 conditional move operations (21 ms) 14:38:10 Logging (18 ms) 14:38:10 Assertion message (50 ms) 14:38:10 conversions (24 ms) 14:38:10 should be able to execute contracts that only have private functions (2 ms) 14:38:10 msm 14:38:10 low scalars (49 ms) 14:38:10 with a zero (19 ms) 14:38:10 high scalars (140 ms) 14:38:10 U128 addition and overflows 14:38:10 U128 addition (16 ms) 14:38:10 Expect failure on U128::add() overflow (57 ms) 14:38:10 SET functions 14:38:10 function 'set_opcode_u8' (21 ms) 14:38:10 function 'set_opcode_u32' (19 ms) 14:38:10 function 'set_opcode_u64' (21 ms) 14:38:10 function 'set_opcode_small_field' (16 ms) 14:38:10 function 'set_opcode_big_field' (24 ms) 14:38:10 function 'set_opcode_really_big_field' (22 ms) 14:38:10 Hashes in noir contracts 14:38:10 Should execute contract function that performs sha256_hash_10 on input of length 10 (20 ms) 14:38:10 Should execute contract function that performs sha256_hash_20 on input of length 20 (21 ms) 14:38:10 Should execute contract function that performs sha256_hash_30 on input of length 30 (18 ms) 14:38:10 Should execute contract function that performs sha256_hash_40 on input of length 40 (36 ms) 14:38:10 Should execute contract function that performs sha256_hash_50 on input of length 50 (32 ms) 14:38:10 Should execute contract function that performs sha256_hash_60 on input of length 60 (36 ms) 14:38:10 Should execute contract function that performs sha256_hash_70 on input of length 70 (39 ms) 14:38:10 Should execute contract function that performs sha256_hash_80 on input of length 80 (39 ms) 14:38:10 Should execute contract function that performs sha256_hash_90 on input of length 90 (42 ms) 14:38:10 Should execute contract function that performs sha256_hash_100 on input of length 100 (35 ms) 14:38:10 Should execute contract function that performs sha256_hash_255 on input of length 255 (62 ms) 14:38:10 Should execute contract function that performs sha256_hash_256 on input of length 256 (63 ms) 14:38:10 Should execute contract function that performs sha256_hash_511 on input of length 511 (118 ms) 14:38:10 Should execute contract function that performs sha256_hash_512 on input of length 512 (118 ms) 14:38:10 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (446 ms) 14:38:10 Should execute contract function that performs keccak_hash on input of length 10 (45 ms) 14:38:10 Should execute contract function that performs keccak_f1600 on input of length 25 (11 ms) 14:38:10 Should execute contract function that performs poseidon2_hash on input of length 10 (14 ms) 14:38:10 Should execute contract function that performs pedersen_hash on input of length 10 (412 ms) 14:38:10 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (563 ms) 14:38:10 Environment getters 14:38:10 address getter (19 ms) 14:38:10 sender getter (20 ms) 14:38:10 transactionFee getter (16 ms) 14:38:10 chainId getter (14 ms) 14:38:10 version getter (25 ms) 14:38:10 blockNumber getter (20 ms) 14:38:10 timestamp getter (22 ms) 14:38:10 feePerDaGas getter (27 ms) 14:38:10 feePerL2Gas getter (24 ms) 14:38:10 Side effects, world state, nested calls 14:38:10 Should append a new note hash correctly (22 ms) 14:38:10 Should append a new nullifier correctly (26 ms) 14:38:10 Note hash checks 14:38:10 Should return false (and be traced) when noteHash does NOT exist (28 ms) 14:38:10 Should return true (and be traced) when noteHash DOES exist (23 ms) 14:38:10 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (18 ms) 14:38:10 Nullifier checks 14:38:10 Should return false (and be traced) when nullifier does NOT exist (22 ms) 14:38:10 Should return true (and be traced) when nullifier DOES exist (22 ms) 14:38:10 L1ToL2 message checks 14:38:10 Should return false (and be traced) when message does NOT exist (17 ms) 14:38:10 Should return true (and be traced) when message DOES exist (20 ms) 14:38:10 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (17 ms) 14:38:10 Cached nullifiers 14:38:10 Emits a nullifier and checks its existence (24 ms) 14:38:10 Emits same nullifier twice (expect failure) (22 ms) 14:38:10 Public Logs 14:38:10 Emit public logs (should be traced) (47 ms) 14:38:10 Public storage accesses 14:38:10 Should set value in storage (single) (25 ms) 14:38:10 Should read value in storage (single) (37 ms) 14:38:10 Should set and read a value from storage (single) (28 ms) 14:38:10 Should set a value in storage (list) (28 ms) 14:38:10 Should read a value in storage (list) (18 ms) 14:38:10 Should set a value in storage (map) (32 ms) 14:38:10 Should read-add-set a value in storage (map) (45 ms) 14:38:10 Should read value in storage (map) (20 ms) 14:38:10 Contract Instance Retrieval 14:38:10 Can getContractInstance (33 ms) 14:38:10 Nested external calls 14:38:10 Nested call to non-existent contract (23 ms) 14:38:10 Nested call (251 ms) 14:38:10 Nested static call (234 ms) 14:38:10 Nested call with not enough gas (expect failure) (226 ms) 14:38:10 Nested static call which modifies storage (expect failure) (233 ms) 14:38:10 Nested calls rethrow exceptions (273 ms) 14:38:10 Should handle returndatacopy oracle (196 ms) 14:38:10 Side effect trace errors on overflow 14:38:10 Overrun of Public storage writes (10 ms) 14:38:10 Overrun of New note hashes (17 ms) 14:38:10 Overrun of New nullifiers (11 ms) 14:38:10 Overrun of New unencrypted logs (2 ms) 14:38:10 Overrun of New L1 to L2 messages (2 ms) 14:38:10 Side effects including merkle checks 14:38:10 Note hashes 14:38:10 Should append new note hash correctly (267 ms) 14:38:10 Note hash check properly returns exists=false (248 ms) 14:38:10 Note hash check properly returns exists=true (252 ms) 14:38:10 Nullifiers 14:38:10 Should append a new nullifier correctly (265 ms) 14:38:10 Nullifier check properly returns exists=false (257 ms) 14:38:10 Nullifier check properly returns exists=true (251 ms) 14:38:10 Public storage accesses 14:38:10 Should set value in storage (single) (262 ms) 14:38:10 Should read value in storage (single) - never written (244 ms) 14:38:10 Should read value in storage (single) - written before, leaf exists (261 ms) 14:38:10 Should set and read value in storage (single) (269 ms) 14:38:10 14:38:10 Test Suites: 1 passed, 1 total 14:38:10 Tests: 103 passed, 103 total 14:38:10 Snapshots: 0 total 14:38:10 Time: 11.165 s 14:38:10 Ran all test suites matching /simulator\/src\/public\/avm\/avm_simulator.test.ts/i. 14:38:10 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?