Parent Log: http://ci.aztec-labs.com/e42a30cf155520c9 Command: d14a91e37c8b1083 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/97080f178c0a3e244c64b3c17bf255bed63fc3cf Env: REF_NAME=gh-readonly-queue/next/pr-15065-4110b08ca823c6af4399e58e54e0483d6e3459ed CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 10:23:07 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15065_amd64_x4-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 10:23:10 [10:23:10.512] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 10:23:14 [10:23:14.151] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 10:23:15 [10:23:15.429] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-EMuxY4/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:23:15 [10:23:15.685] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-IZ78Zh/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:23:15 [10:23:15.937] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-ocuZcw/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:23:16 [10:23:16.175] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-yvJYIM/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:23:16 [10:23:16.425] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-rC4c17/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:23:16 [10:23:16.649] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-ftWzoB/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:23:16 [10:23:16.877] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-1JMKK0/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:23:17 [10:23:17.135] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-LH7HiI/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:23:17 [10:23:17.411] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-UrKCsZ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:23:17 [10:23:17.691] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-u5M8q6/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:23:17 PASS src/public/avm/avm_simulator.test.ts (9.721 s) 10:23:17 AVM simulator: injected bytecode 10:23:17 Should execute bytecode that performs basic addition (8 ms) 10:23:17 Should halt if runs out of gas (3 ms) 10:23:17 An exceptional halt should consume all allocated gas (1 ms) 10:23:17 AVM simulator: transpiled Noir contracts 10:23:17 execution of a non-existent contract immediately reverts and consumes all allocated gas (5 ms) 10:23:17 addition (23 ms) 10:23:17 addition via dispatch (222 ms) 10:23:17 get_args_hash via dispatch (42 ms) 10:23:17 modulo and u1 (18 ms) 10:23:17 Should handle calldata oracle (21 ms) 10:23:17 Should handle return oracle (18 ms) 10:23:17 Should handle revert oracle (18 ms) 10:23:17 ec_add should not revert (23 ms) 10:23:17 elliptic curve operations (17 ms) 10:23:17 pedersen commitment operations (32 ms) 10:23:17 conditional move operations (17 ms) 10:23:17 Logging (31 ms) 10:23:17 Assertion message (44 ms) 10:23:17 conversions (29 ms) 10:23:17 should be able to execute contracts that only have private functions (1 ms) 10:23:17 msm 10:23:17 low scalars (34 ms) 10:23:17 with a zero (23 ms) 10:23:17 high scalars (120 ms) 10:23:17 U128 addition and overflows 10:23:17 U128 addition (15 ms) 10:23:17 Expect failure on U128::add() overflow (34 ms) 10:23:17 SET functions 10:23:17 function 'set_opcode_u8' (31 ms) 10:23:17 function 'set_opcode_u32' (15 ms) 10:23:17 function 'set_opcode_u64' (18 ms) 10:23:17 function 'set_opcode_small_field' (17 ms) 10:23:17 function 'set_opcode_big_field' (16 ms) 10:23:17 function 'set_opcode_really_big_field' (28 ms) 10:23:17 Hashes in noir contracts 10:23:17 Should execute contract function that performs sha256_hash_10 on input of length 10 (25 ms) 10:23:17 Should execute contract function that performs sha256_hash_20 on input of length 20 (19 ms) 10:23:17 Should execute contract function that performs sha256_hash_30 on input of length 30 (22 ms) 10:23:17 Should execute contract function that performs sha256_hash_40 on input of length 40 (33 ms) 10:23:17 Should execute contract function that performs sha256_hash_50 on input of length 50 (33 ms) 10:23:17 Should execute contract function that performs sha256_hash_60 on input of length 60 (35 ms) 10:23:17 Should execute contract function that performs sha256_hash_70 on input of length 70 (33 ms) 10:23:17 Should execute contract function that performs sha256_hash_80 on input of length 80 (28 ms) 10:23:17 Should execute contract function that performs sha256_hash_90 on input of length 90 (43 ms) 10:23:17 Should execute contract function that performs sha256_hash_100 on input of length 100 (41 ms) 10:23:17 Should execute contract function that performs sha256_hash_255 on input of length 255 (71 ms) 10:23:17 Should execute contract function that performs sha256_hash_256 on input of length 256 (78 ms) 10:23:17 Should execute contract function that performs sha256_hash_511 on input of length 511 (139 ms) 10:23:17 Should execute contract function that performs sha256_hash_512 on input of length 512 (105 ms) 10:23:17 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (316 ms) 10:23:17 Should execute contract function that performs keccak_hash on input of length 10 (43 ms) 10:23:17 Should execute contract function that performs keccak_f1600 on input of length 25 (12 ms) 10:23:17 Should execute contract function that performs poseidon2_hash on input of length 10 (16 ms) 10:23:17 Should execute contract function that performs pedersen_hash on input of length 10 (449 ms) 10:23:17 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (462 ms) 10:23:17 Environment getters 10:23:17 address getter (26 ms) 10:23:17 sender getter (24 ms) 10:23:17 transactionFee getter (25 ms) 10:23:17 chainId getter (25 ms) 10:23:17 version getter (24 ms) 10:23:17 blockNumber getter (21 ms) 10:23:17 timestamp getter (24 ms) 10:23:17 feePerDaGas getter (23 ms) 10:23:17 feePerL2Gas getter (23 ms) 10:23:17 Side effects, world state, nested calls 10:23:17 Should append a new note hash correctly (19 ms) 10:23:17 Should append a new nullifier correctly (16 ms) 10:23:17 Note hash checks 10:23:17 Should return false (and be traced) when noteHash does NOT exist (25 ms) 10:23:17 Should return true (and be traced) when noteHash DOES exist (24 ms) 10:23:17 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (25 ms) 10:23:17 Nullifier checks 10:23:17 Should return false (and be traced) when nullifier does NOT exist (22 ms) 10:23:17 Should return true (and be traced) when nullifier DOES exist (22 ms) 10:23:17 L1ToL2 message checks 10:23:17 Should return false (and be traced) when message does NOT exist (23 ms) 10:23:17 Should return true (and be traced) when message DOES exist (13 ms) 10:23:17 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (15 ms) 10:23:17 Cached nullifiers 10:23:17 Emits a nullifier and checks its existence (17 ms) 10:23:17 Emits same nullifier twice (expect failure) (21 ms) 10:23:17 Public Logs 10:23:17 Emit public logs (should be traced) (32 ms) 10:23:17 Public storage accesses 10:23:17 Should set value in storage (single) (24 ms) 10:23:17 Should read value in storage (single) (22 ms) 10:23:17 Should set and read a value from storage (single) (22 ms) 10:23:17 Should set a value in storage (list) (19 ms) 10:23:17 Should read a value in storage (list) (15 ms) 10:23:17 Should set a value in storage (map) (27 ms) 10:23:17 Should read-add-set a value in storage (map) (23 ms) 10:23:17 Should read value in storage (map) (22 ms) 10:23:17 Contract Instance Retrieval 10:23:17 Can getContractInstance (17 ms) 10:23:17 Nested external calls 10:23:17 Nested call to non-existent contract (17 ms) 10:23:17 Nested call (215 ms) 10:23:17 Nested static call (188 ms) 10:23:17 Nested call with not enough gas (expect failure) (182 ms) 10:23:17 Nested static call which modifies storage (expect failure) (231 ms) 10:23:17 Nested calls rethrow exceptions (218 ms) 10:23:17 Should handle returndatacopy oracle (180 ms) 10:23:17 Side effect trace errors on overflow 10:23:17 Overrun of Public storage writes (9 ms) 10:23:17 Overrun of New note hashes (19 ms) 10:23:17 Overrun of New nullifiers (15 ms) 10:23:17 Overrun of New unencrypted logs (2 ms) 10:23:17 Overrun of New L1 to L2 messages (1 ms) 10:23:17 Side effects including merkle checks 10:23:17 Note hashes 10:23:17 Should append new note hash correctly (262 ms) 10:23:17 Note hash check properly returns exists=false (250 ms) 10:23:17 Note hash check properly returns exists=true (239 ms) 10:23:17 Nullifiers 10:23:17 Should append a new nullifier correctly (250 ms) 10:23:17 Nullifier check properly returns exists=false (221 ms) 10:23:17 Nullifier check properly returns exists=true (231 ms) 10:23:17 Public storage accesses 10:23:17 Should set value in storage (single) (257 ms) 10:23:17 Should read value in storage (single) - never written (269 ms) 10:23:17 Should read value in storage (single) - written before, leaf exists (287 ms) 10:23:17 Should set and read value in storage (single) (274 ms) 10:23:17 10:23:17 Test Suites: 1 passed, 1 total 10:23:17 Tests: 103 passed, 103 total 10:23:17 Snapshots: 0 total 10:23:17 Time: 9.804 s 10:23:17 Ran all test suites matching /simulator\/src\/public\/avm\/avm_simulator.test.ts/i. 10:23:17 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?