Parent Log: http://ci.aztec-labs.com/ac73f67c4ebf5c73 Command: a5511b51e55ea9c0 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/0dc6f60f84deaa57a8570f9942eb75317f5aeea5 Env: REF_NAME=gh-readonly-queue/next/pr-15162-6ee95286f8bcc5bb6dca43222459ac5bf43a8a75 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 20 09:45:06 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15162_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 09:45:10 [09:45:10.052] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 09:45:14 [09:45:14.716] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 09:45:15 [09:45:15.543] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-re7VHn/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:45:15 [09:45:15.806] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-BHVcYZ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:45:16 [09:45:16.064] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-xS3E9p/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:45:16 [09:45:16.308] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-yvuUCn/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:45:16 [09:45:16.558] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-2M6xTG/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:45:16 [09:45:16.843] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-1Oliej/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:45:17 [09:45:17.124] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-TaMD4J/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:45:17 [09:45:17.463] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-kyzjx6/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:45:17 [09:45:17.775] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-A4UQxD/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:45:18 [09:45:18.034] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-pFo0TR/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:45:18 PASS src/public/avm/avm_simulator.test.ts (10.81 s) 09:45:18 AVM simulator: injected bytecode 09:45:18 Should execute bytecode that performs basic addition (9 ms) 09:45:18 Should halt if runs out of gas (2 ms) 09:45:18 An exceptional halt should consume all allocated gas (2 ms) 09:45:18 AVM simulator: transpiled Noir contracts 09:45:18 execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms) 09:45:18 addition (28 ms) 09:45:18 addition via dispatch (261 ms) 09:45:18 get_args_hash via dispatch (53 ms) 09:45:18 modulo and u1 (30 ms) 09:45:18 Should handle calldata oracle (39 ms) 09:45:18 Should handle return oracle (35 ms) 09:45:18 Should handle revert oracle (33 ms) 09:45:18 ec_add should not revert (35 ms) 09:45:18 elliptic curve operations (22 ms) 09:45:18 pedersen commitment operations (40 ms) 09:45:18 conditional move operations (32 ms) 09:45:18 Logging (27 ms) 09:45:18 Assertion message (43 ms) 09:45:18 conversions (34 ms) 09:45:18 should be able to execute contracts that only have private functions (1 ms) 09:45:18 msm 09:45:18 low scalars (39 ms) 09:45:18 with a zero (36 ms) 09:45:18 high scalars (161 ms) 09:45:18 U128 addition and overflows 09:45:18 U128 addition (24 ms) 09:45:18 Expect failure on U128::add() overflow (43 ms) 09:45:18 SET functions 09:45:18 function 'set_opcode_u8' (19 ms) 09:45:18 function 'set_opcode_u32' (25 ms) 09:45:18 function 'set_opcode_u64' (20 ms) 09:45:18 function 'set_opcode_small_field' (19 ms) 09:45:18 function 'set_opcode_big_field' (20 ms) 09:45:18 function 'set_opcode_really_big_field' (28 ms) 09:45:18 Hashes in noir contracts 09:45:18 Should execute contract function that performs sha256_hash_10 on input of length 10 (44 ms) 09:45:18 Should execute contract function that performs sha256_hash_20 on input of length 20 (28 ms) 09:45:18 Should execute contract function that performs sha256_hash_30 on input of length 30 (30 ms) 09:45:18 Should execute contract function that performs sha256_hash_40 on input of length 40 (27 ms) 09:45:18 Should execute contract function that performs sha256_hash_50 on input of length 50 (29 ms) 09:45:18 Should execute contract function that performs sha256_hash_60 on input of length 60 (36 ms) 09:45:18 Should execute contract function that performs sha256_hash_70 on input of length 70 (61 ms) 09:45:18 Should execute contract function that performs sha256_hash_80 on input of length 80 (53 ms) 09:45:18 Should execute contract function that performs sha256_hash_90 on input of length 90 (53 ms) 09:45:18 Should execute contract function that performs sha256_hash_100 on input of length 100 (31 ms) 09:45:18 Should execute contract function that performs sha256_hash_255 on input of length 255 (94 ms) 09:45:18 Should execute contract function that performs sha256_hash_256 on input of length 256 (85 ms) 09:45:18 Should execute contract function that performs sha256_hash_511 on input of length 511 (149 ms) 09:45:18 Should execute contract function that performs sha256_hash_512 on input of length 512 (129 ms) 09:45:18 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (527 ms) 09:45:18 Should execute contract function that performs keccak_hash on input of length 10 (53 ms) 09:45:18 Should execute contract function that performs keccak_f1600 on input of length 25 (18 ms) 09:45:18 Should execute contract function that performs poseidon2_hash on input of length 10 (23 ms) 09:45:18 Should execute contract function that performs pedersen_hash on input of length 10 (622 ms) 09:45:18 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (488 ms) 09:45:18 Environment getters 09:45:18 address getter (20 ms) 09:45:18 sender getter (17 ms) 09:45:18 transactionFee getter (27 ms) 09:45:18 chainId getter (25 ms) 09:45:18 version getter (17 ms) 09:45:18 blockNumber getter (16 ms) 09:45:18 timestamp getter (19 ms) 09:45:18 feePerDaGas getter (16 ms) 09:45:18 feePerL2Gas getter (32 ms) 09:45:18 Side effects, world state, nested calls 09:45:18 Should append a new note hash correctly (35 ms) 09:45:18 Should append a new nullifier correctly (31 ms) 09:45:18 Note hash checks 09:45:18 Should return false (and be traced) when noteHash does NOT exist (30 ms) 09:45:18 Should return true (and be traced) when noteHash DOES exist (30 ms) 09:45:18 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (32 ms) 09:45:18 Nullifier checks 09:45:18 Should return false (and be traced) when nullifier does NOT exist (30 ms) 09:45:18 Should return true (and be traced) when nullifier DOES exist (30 ms) 09:45:18 L1ToL2 message checks 09:45:18 Should return false (and be traced) when message does NOT exist (33 ms) 09:45:18 Should return true (and be traced) when message DOES exist (29 ms) 09:45:18 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (30 ms) 09:45:18 Cached nullifiers 09:45:18 Emits a nullifier and checks its existence (31 ms) 09:45:18 Emits same nullifier twice (expect failure) (31 ms) 09:45:18 Public Logs 09:45:18 Emit public logs (should be traced) (55 ms) 09:45:18 Public storage accesses 09:45:18 Should set value in storage (single) (32 ms) 09:45:18 Should read value in storage (single) (26 ms) 09:45:18 Should set and read a value from storage (single) (28 ms) 09:45:18 Should set a value in storage (list) (35 ms) 09:45:18 Should read a value in storage (list) (26 ms) 09:45:18 Should set a value in storage (map) (27 ms) 09:45:18 Should read-add-set a value in storage (map) (32 ms) 09:45:18 Should read value in storage (map) (18 ms) 09:45:18 Contract Instance Retrieval 09:45:18 Can getContractInstance (34 ms) 09:45:18 Nested external calls 09:45:18 Nested call to non-existent contract (30 ms) 09:45:18 Nested call (128 ms) 09:45:18 Nested static call (103 ms) 09:45:18 Nested call with not enough gas (expect failure) (88 ms) 09:45:18 Nested static call which modifies storage (expect failure) (96 ms) 09:45:18 Nested calls rethrow exceptions (185 ms) 09:45:18 Should handle returndatacopy oracle (158 ms) 09:45:18 Side effect trace errors on overflow 09:45:18 Overrun of Public storage writes (12 ms) 09:45:18 Overrun of New note hashes (20 ms) 09:45:18 Overrun of New nullifiers (13 ms) 09:45:18 Overrun of New unencrypted logs (2 ms) 09:45:18 Overrun of New L1 to L2 messages (4 ms) 09:45:18 Side effects including merkle checks 09:45:18 Note hashes 09:45:18 Should append new note hash correctly (271 ms) 09:45:18 Note hash check properly returns exists=false (253 ms) 09:45:18 Note hash check properly returns exists=true (246 ms) 09:45:18 Nullifiers 09:45:18 Should append a new nullifier correctly (251 ms) 09:45:18 Nullifier check properly returns exists=false (280 ms) 09:45:18 Nullifier check properly returns exists=true (278 ms) 09:45:18 Public storage accesses 09:45:18 Should set value in storage (single) (341 ms) 09:45:18 Should read value in storage (single) - never written (312 ms) 09:45:18 Should read value in storage (single) - written before, leaf exists (261 ms) 09:45:18 Should set and read value in storage (single) (244 ms) 09:45:18 09:45:18 Test Suites: 1 passed, 1 total 09:45:18 Tests: 103 passed, 103 total 09:45:18 Snapshots: 0 total 09:45:18 Time: 10.889 s 09:45:18 Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts. 09:45:18 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?