Parent Log: http://ci.aztec-labs.com/a36edd533f52a26c Command: 47858aa9bf665f8a yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/1bb4f0588a9dc5b1df622753aab1d907b3f12c7a Env: REF_NAME=gh-readonly-queue/next/pr-15245-534f06e45f48274efd53a2204c90cb0b91a53efb CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Wed Jun 25 08:20:06 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15245_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 08:20:10 [08:20:10.051] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 08:20:14 [08:20:14.611] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 08:20:15 [08:20:15.515] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-41i9IJ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 08:20:15 [08:20:15.820] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-PkNFyy/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 08:20:16 [08:20:16.096] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-kfDEEU/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 08:20:16 [08:20:16.361] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Hvvelp/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 08:20:16 [08:20:16.620] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-5T3Jhh/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 08:20:16 [08:20:16.903] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-I6AbTF/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 08:20:17 [08:20:17.194] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-ulmyGU/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 08:20:17 [08:20:17.448] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-HmwNJf/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 08:20:17 [08:20:17.720] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-gwEYen/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 08:20:18 [08:20:18.015] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-uWzlG9/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 08:20:18 PASS src/public/avm/avm_simulator.test.ts (10.97 s) 08:20:18 AVM simulator: injected bytecode 08:20:18 Should execute bytecode that performs basic addition (7 ms) 08:20:18 Should halt if runs out of gas (2 ms) 08:20:18 An exceptional halt should consume all allocated gas (1 ms) 08:20:18 AVM simulator: transpiled Noir contracts 08:20:18 execution of a non-existent contract immediately reverts and consumes all allocated gas (6 ms) 08:20:18 addition (25 ms) 08:20:18 addition via dispatch (242 ms) 08:20:18 get_args_hash via dispatch (57 ms) 08:20:18 modulo and u1 (31 ms) 08:20:18 Should handle calldata oracle (25 ms) 08:20:18 Should handle return oracle (22 ms) 08:20:18 Should handle revert oracle (34 ms) 08:20:18 ec_add should not revert (32 ms) 08:20:18 elliptic curve operations (24 ms) 08:20:18 pedersen commitment operations (48 ms) 08:20:18 conditional move operations (24 ms) 08:20:18 Logging (33 ms) 08:20:18 Assertion message (58 ms) 08:20:18 conversions (23 ms) 08:20:18 should be able to execute contracts that only have private functions (1 ms) 08:20:18 msm 08:20:18 low scalars (40 ms) 08:20:18 with a zero (37 ms) 08:20:18 high scalars (151 ms) 08:20:18 U128 addition and overflows 08:20:18 U128 addition (26 ms) 08:20:18 Expect failure on U128::add() overflow (72 ms) 08:20:18 SET functions 08:20:18 function 'set_opcode_u8' (31 ms) 08:20:18 function 'set_opcode_u32' (32 ms) 08:20:18 function 'set_opcode_u64' (28 ms) 08:20:18 function 'set_opcode_small_field' (26 ms) 08:20:18 function 'set_opcode_big_field' (30 ms) 08:20:18 function 'set_opcode_really_big_field' (17 ms) 08:20:18 Hashes in noir contracts 08:20:18 Should execute contract function that performs sha256_hash_10 on input of length 10 (29 ms) 08:20:18 Should execute contract function that performs sha256_hash_20 on input of length 20 (32 ms) 08:20:18 Should execute contract function that performs sha256_hash_30 on input of length 30 (47 ms) 08:20:18 Should execute contract function that performs sha256_hash_40 on input of length 40 (27 ms) 08:20:18 Should execute contract function that performs sha256_hash_50 on input of length 50 (52 ms) 08:20:18 Should execute contract function that performs sha256_hash_60 on input of length 60 (51 ms) 08:20:18 Should execute contract function that performs sha256_hash_70 on input of length 70 (56 ms) 08:20:18 Should execute contract function that performs sha256_hash_80 on input of length 80 (58 ms) 08:20:18 Should execute contract function that performs sha256_hash_90 on input of length 90 (61 ms) 08:20:18 Should execute contract function that performs sha256_hash_100 on input of length 100 (37 ms) 08:20:18 Should execute contract function that performs sha256_hash_255 on input of length 255 (73 ms) 08:20:18 Should execute contract function that performs sha256_hash_256 on input of length 256 (80 ms) 08:20:18 Should execute contract function that performs sha256_hash_511 on input of length 511 (185 ms) 08:20:18 Should execute contract function that performs sha256_hash_512 on input of length 512 (187 ms) 08:20:18 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (544 ms) 08:20:18 Should execute contract function that performs keccak_hash on input of length 10 (59 ms) 08:20:18 Should execute contract function that performs keccak_f1600 on input of length 25 (11 ms) 08:20:18 Should execute contract function that performs poseidon2_hash on input of length 10 (17 ms) 08:20:18 Should execute contract function that performs pedersen_hash on input of length 10 (485 ms) 08:20:18 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (416 ms) 08:20:18 Environment getters 08:20:18 address getter (16 ms) 08:20:18 sender getter (25 ms) 08:20:18 transactionFee getter (33 ms) 08:20:18 chainId getter (24 ms) 08:20:18 version getter (21 ms) 08:20:18 blockNumber getter (18 ms) 08:20:18 timestamp getter (31 ms) 08:20:18 feePerDaGas getter (26 ms) 08:20:18 feePerL2Gas getter (21 ms) 08:20:18 Side effects, world state, nested calls 08:20:18 Should append a new note hash correctly (30 ms) 08:20:18 Should append a new nullifier correctly (29 ms) 08:20:18 Note hash checks 08:20:18 Should return false (and be traced) when noteHash does NOT exist (42 ms) 08:20:18 Should return true (and be traced) when noteHash DOES exist (18 ms) 08:20:18 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (18 ms) 08:20:18 Nullifier checks 08:20:18 Should return false (and be traced) when nullifier does NOT exist (38 ms) 08:20:18 Should return true (and be traced) when nullifier DOES exist (29 ms) 08:20:18 L1ToL2 message checks 08:20:18 Should return false (and be traced) when message does NOT exist (19 ms) 08:20:18 Should return true (and be traced) when message DOES exist (22 ms) 08:20:18 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (27 ms) 08:20:18 Cached nullifiers 08:20:18 Emits a nullifier and checks its existence (16 ms) 08:20:18 Emits same nullifier twice (expect failure) (42 ms) 08:20:18 Public Logs 08:20:18 Emit public logs (should be traced) (54 ms) 08:20:18 Public storage accesses 08:20:18 Should set value in storage (single) (34 ms) 08:20:18 Should read value in storage (single) (23 ms) 08:20:18 Should set and read a value from storage (single) (17 ms) 08:20:18 Should set a value in storage (list) (18 ms) 08:20:18 Should read a value in storage (list) (22 ms) 08:20:18 Should set a value in storage (map) (28 ms) 08:20:18 Should read-add-set a value in storage (map) (27 ms) 08:20:18 Should read value in storage (map) (18 ms) 08:20:18 Contract Instance Retrieval 08:20:18 Can getContractInstance (26 ms) 08:20:18 Nested external calls 08:20:18 Nested call to non-existent contract (37 ms) 08:20:18 Nested call (175 ms) 08:20:18 Nested static call (158 ms) 08:20:18 Nested call with not enough gas (expect failure) (112 ms) 08:20:18 Nested static call which modifies storage (expect failure) (112 ms) 08:20:18 Nested calls rethrow exceptions (160 ms) 08:20:18 Should handle returndatacopy oracle (120 ms) 08:20:18 Side effect trace errors on overflow 08:20:18 Overrun of Public storage writes (9 ms) 08:20:18 Overrun of New note hashes (23 ms) 08:20:18 Overrun of New nullifiers (16 ms) 08:20:18 Overrun of New unencrypted logs (2 ms) 08:20:18 Overrun of New L1 to L2 messages (2 ms) 08:20:18 Side effects including merkle checks 08:20:18 Note hashes 08:20:18 Should append new note hash correctly (306 ms) 08:20:18 Note hash check properly returns exists=false (275 ms) 08:20:18 Note hash check properly returns exists=true (266 ms) 08:20:18 Nullifiers 08:20:18 Should append a new nullifier correctly (258 ms) 08:20:18 Nullifier check properly returns exists=false (284 ms) 08:20:18 Nullifier check properly returns exists=true (271 ms) 08:20:18 Public storage accesses 08:20:18 Should set value in storage (single) (273 ms) 08:20:18 Should read value in storage (single) - never written (270 ms) 08:20:18 Should read value in storage (single) - written before, leaf exists (295 ms) 08:20:18 Should set and read value in storage (single) (250 ms) 08:20:18 08:20:18 Test Suites: 1 passed, 1 total 08:20:18 Tests: 103 passed, 103 total 08:20:18 Snapshots: 0 total 08:20:18 Time: 11.067 s 08:20:18 Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts. 08:20:18 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?