Parent Log: http://ci.aztec-labs.com/2adfcb763b57baed Command: 97e7ef9a556fd7e6 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/a3ecf3ea26aad0390dd15cfadbb1d160e85e5f89 Env: REF_NAME=gh-readonly-queue/master/pr-15194-f3a077dd83e56ee0ae0a1175f0dc39fdfa50e6d7 CURRENT_VERSION=0.87.9 CI_FULL=1 Date: Tue Jun 24 17:27:14 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15194_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_master 17:27:17 [17:27:17.445] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 17:27:20 [17:27:20.589] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 17:27:21 [17:27:21.783] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-87UrQs/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 17:27:22 [17:27:22.068] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-2lyLG6/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 17:27:22 [17:27:22.319] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-6JG4yS/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 17:27:22 [17:27:22.579] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-9PEmtu/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 17:27:22 [17:27:22.857] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-WNNHce/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 17:27:23 [17:27:23.123] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-UrwyQp/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 17:27:23 [17:27:23.382] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-wdHyBa/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 17:27:23 [17:27:23.673] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Cf8ok9/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 17:27:23 [17:27:23.931] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-P42wGM/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 17:27:24 [17:27:24.192] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-eE7rXJ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 17:27:24 PASS src/public/avm/avm_simulator.test.ts (9.267 s) 17:27:24 AVM simulator: injected bytecode 17:27:24 Should execute bytecode that performs basic addition (7 ms) 17:27:24 Should halt if runs out of gas (2 ms) 17:27:24 An exceptional halt should consume all allocated gas (1 ms) 17:27:24 AVM simulator: transpiled Noir contracts 17:27:24 execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms) 17:27:24 addition (27 ms) 17:27:24 addition via dispatch (35 ms) 17:27:24 get_args_hash via dispatch (39 ms) 17:27:24 modulo and u1 (22 ms) 17:27:24 Should handle calldata oracle (23 ms) 17:27:24 Should handle return oracle (23 ms) 17:27:24 Should handle revert oracle (24 ms) 17:27:24 ec_add should not revert (21 ms) 17:27:24 elliptic curve operations (15 ms) 17:27:24 pedersen commitment operations (31 ms) 17:27:24 conditional move operations (16 ms) 17:27:24 Logging (22 ms) 17:27:24 Assertion message (29 ms) 17:27:24 conversions (23 ms) 17:27:24 should be able to execute contracts that only have private functions (1 ms) 17:27:24 msm 17:27:24 low scalars (31 ms) 17:27:24 with a zero (19 ms) 17:27:24 high scalars (124 ms) 17:27:24 U128 addition and overflows 17:27:24 U128 addition (14 ms) 17:27:24 Expect failure on U128::add() overflow (35 ms) 17:27:24 SET functions 17:27:24 function 'set_opcode_u8' (14 ms) 17:27:24 function 'set_opcode_u32' (12 ms) 17:27:24 function 'set_opcode_u64' (12 ms) 17:27:24 function 'set_opcode_small_field' (20 ms) 17:27:24 function 'set_opcode_big_field' (12 ms) 17:27:24 function 'set_opcode_really_big_field' (13 ms) 17:27:24 Hashes in noir contracts 17:27:24 Should execute contract function that performs sha256_hash_10 on input of length 10 (33 ms) 17:27:24 Should execute contract function that performs sha256_hash_20 on input of length 20 (21 ms) 17:27:24 Should execute contract function that performs sha256_hash_30 on input of length 30 (20 ms) 17:27:24 Should execute contract function that performs sha256_hash_40 on input of length 40 (20 ms) 17:27:24 Should execute contract function that performs sha256_hash_50 on input of length 50 (25 ms) 17:27:24 Should execute contract function that performs sha256_hash_60 on input of length 60 (21 ms) 17:27:24 Should execute contract function that performs sha256_hash_70 on input of length 70 (31 ms) 17:27:24 Should execute contract function that performs sha256_hash_80 on input of length 80 (51 ms) 17:27:24 Should execute contract function that performs sha256_hash_90 on input of length 90 (34 ms) 17:27:24 Should execute contract function that performs sha256_hash_100 on input of length 100 (32 ms) 17:27:24 Should execute contract function that performs sha256_hash_255 on input of length 255 (63 ms) 17:27:24 Should execute contract function that performs sha256_hash_256 on input of length 256 (71 ms) 17:27:24 Should execute contract function that performs sha256_hash_511 on input of length 511 (92 ms) 17:27:24 Should execute contract function that performs sha256_hash_512 on input of length 512 (84 ms) 17:27:24 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (365 ms) 17:27:24 Should execute contract function that performs keccak_hash on input of length 10 (32 ms) 17:27:24 Should execute contract function that performs keccak_f1600 on input of length 25 (7 ms) 17:27:24 Should execute contract function that performs poseidon2_hash on input of length 10 (12 ms) 17:27:24 Should execute contract function that performs pedersen_hash on input of length 10 (462 ms) 17:27:24 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (369 ms) 17:27:24 Environment getters 17:27:24 address getter (11 ms) 17:27:24 sender getter (11 ms) 17:27:24 transactionFee getter (13 ms) 17:27:24 chainId getter (11 ms) 17:27:24 version getter (12 ms) 17:27:24 blockNumber getter (14 ms) 17:27:24 timestamp getter (23 ms) 17:27:24 feePerDaGas getter (13 ms) 17:27:24 feePerL2Gas getter (20 ms) 17:27:24 Side effects, world state, nested calls 17:27:24 Should append a new note hash correctly (18 ms) 17:27:24 Should append a new nullifier correctly (18 ms) 17:27:24 Note hash checks 17:27:24 Should return false (and be traced) when noteHash does NOT exist (22 ms) 17:27:24 Should return true (and be traced) when noteHash DOES exist (20 ms) 17:27:24 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (23 ms) 17:27:24 Nullifier checks 17:27:24 Should return false (and be traced) when nullifier does NOT exist (22 ms) 17:27:24 Should return true (and be traced) when nullifier DOES exist (23 ms) 17:27:24 L1ToL2 message checks 17:27:24 Should return false (and be traced) when message does NOT exist (23 ms) 17:27:24 Should return true (and be traced) when message DOES exist (18 ms) 17:27:24 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (12 ms) 17:27:24 Cached nullifiers 17:27:24 Emits a nullifier and checks its existence (15 ms) 17:27:24 Emits same nullifier twice (expect failure) (21 ms) 17:27:24 Public Logs 17:27:24 Emit public logs (should be traced) (29 ms) 17:27:24 Public storage accesses 17:27:24 Should set value in storage (single) (21 ms) 17:27:24 Should read value in storage (single) (17 ms) 17:27:24 Should set and read a value from storage (single) (18 ms) 17:27:24 Should set a value in storage (list) (26 ms) 17:27:24 Should read a value in storage (list) (20 ms) 17:27:24 Should set a value in storage (map) (23 ms) 17:27:24 Should read-add-set a value in storage (map) (27 ms) 17:27:24 Should read value in storage (map) (20 ms) 17:27:24 Contract Instance Retrieval 17:27:24 Can getContractInstance (20 ms) 17:27:24 Nested external calls 17:27:24 Nested call to non-existent contract (27 ms) 17:27:24 Nested call (236 ms) 17:27:24 Nested static call (183 ms) 17:27:24 Nested call with not enough gas (expect failure) (180 ms) 17:27:24 Nested static call which modifies storage (expect failure) (186 ms) 17:27:24 Nested calls rethrow exceptions (186 ms) 17:27:24 Should handle returndatacopy oracle (160 ms) 17:27:24 Side effect trace errors on overflow 17:27:24 Overrun of Public storage writes (10 ms) 17:27:24 Overrun of New note hashes (18 ms) 17:27:24 Overrun of New nullifiers (16 ms) 17:27:24 Overrun of New unencrypted logs (2 ms) 17:27:24 Overrun of New L1 to L2 messages (1 ms) 17:27:24 Side effects including merkle checks 17:27:24 Note hashes 17:27:24 Should append new note hash correctly (285 ms) 17:27:24 Note hash check properly returns exists=false (254 ms) 17:27:24 Note hash check properly returns exists=true (258 ms) 17:27:24 Nullifiers 17:27:24 Should append a new nullifier correctly (279 ms) 17:27:24 Nullifier check properly returns exists=false (259 ms) 17:27:24 Nullifier check properly returns exists=true (260 ms) 17:27:24 Public storage accesses 17:27:24 Should set value in storage (single) (296 ms) 17:27:24 Should read value in storage (single) - never written (256 ms) 17:27:24 Should read value in storage (single) - written before, leaf exists (261 ms) 17:27:24 Should set and read value in storage (single) (281 ms) 17:27:24 17:27:24 Test Suites: 1 passed, 1 total 17:27:24 Tests: 103 passed, 103 total 17:27:24 Snapshots: 0 total 17:27:24 Time: 9.338 s 17:27:24 Ran all test suites matching /simulator\/src\/public\/avm\/avm_simulator.test.ts/i. 17:27:24 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?