Parent Log: http://ci.aztec-labs.com/2a5202e13d8bd91e Command: 13dd8684e4e32fd7 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/1c9ca312bfdace816082212846900a49694e1e50 Env: REF_NAME=gh-readonly-queue/next/pr-15182-af094bce13530e078c78de9f3264280e6693d533 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 24 08:56:04 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15182_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 08:56:08 [08:56:08.375] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 08:56:12 [08:56:12.782] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 08:56:13 [08:56:13.583] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-EK6RRS/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 08:56:13 [08:56:13.868] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-EcN22A/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 08:56:14 [08:56:14.163] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-TUE3Im/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 08:56:14 [08:56:14.436] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-uwnGbM/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 08:56:14 [08:56:14.702] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-0FCfE1/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 08:56:14 [08:56:14.949] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-XIRzbb/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 08:56:15 [08:56:15.205] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-wFHKbg/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 08:56:15 [08:56:15.484] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-ZRqone/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 08:56:15 [08:56:15.750] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-ZMISbp/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 08:56:16 [08:56:16.038] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-eRCezE/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 08:56:16 PASS src/public/avm/avm_simulator.test.ts (10.673 s) 08:56:16 AVM simulator: injected bytecode 08:56:16 Should execute bytecode that performs basic addition (8 ms) 08:56:16 Should halt if runs out of gas (3 ms) 08:56:16 An exceptional halt should consume all allocated gas (7 ms) 08:56:16 AVM simulator: transpiled Noir contracts 08:56:16 execution of a non-existent contract immediately reverts and consumes all allocated gas (6 ms) 08:56:16 addition (36 ms) 08:56:16 addition via dispatch (264 ms) 08:56:16 get_args_hash via dispatch (35 ms) 08:56:16 modulo and u1 (32 ms) 08:56:16 Should handle calldata oracle (26 ms) 08:56:16 Should handle return oracle (25 ms) 08:56:16 Should handle revert oracle (20 ms) 08:56:16 ec_add should not revert (32 ms) 08:56:16 elliptic curve operations (19 ms) 08:56:16 pedersen commitment operations (43 ms) 08:56:16 conditional move operations (22 ms) 08:56:16 Logging (26 ms) 08:56:16 Assertion message (48 ms) 08:56:16 conversions (27 ms) 08:56:16 should be able to execute contracts that only have private functions (1 ms) 08:56:16 msm 08:56:16 low scalars (35 ms) 08:56:16 with a zero (36 ms) 08:56:16 high scalars (181 ms) 08:56:16 U128 addition and overflows 08:56:16 U128 addition (25 ms) 08:56:16 Expect failure on U128::add() overflow (54 ms) 08:56:16 SET functions 08:56:16 function 'set_opcode_u8' (18 ms) 08:56:16 function 'set_opcode_u32' (17 ms) 08:56:16 function 'set_opcode_u64' (18 ms) 08:56:16 function 'set_opcode_small_field' (18 ms) 08:56:16 function 'set_opcode_big_field' (23 ms) 08:56:16 function 'set_opcode_really_big_field' (24 ms) 08:56:16 Hashes in noir contracts 08:56:16 Should execute contract function that performs sha256_hash_10 on input of length 10 (28 ms) 08:56:16 Should execute contract function that performs sha256_hash_20 on input of length 20 (26 ms) 08:56:16 Should execute contract function that performs sha256_hash_30 on input of length 30 (38 ms) 08:56:16 Should execute contract function that performs sha256_hash_40 on input of length 40 (39 ms) 08:56:16 Should execute contract function that performs sha256_hash_50 on input of length 50 (30 ms) 08:56:16 Should execute contract function that performs sha256_hash_60 on input of length 60 (45 ms) 08:56:16 Should execute contract function that performs sha256_hash_70 on input of length 70 (34 ms) 08:56:16 Should execute contract function that performs sha256_hash_80 on input of length 80 (60 ms) 08:56:16 Should execute contract function that performs sha256_hash_90 on input of length 90 (33 ms) 08:56:16 Should execute contract function that performs sha256_hash_100 on input of length 100 (56 ms) 08:56:16 Should execute contract function that performs sha256_hash_255 on input of length 255 (81 ms) 08:56:16 Should execute contract function that performs sha256_hash_256 on input of length 256 (70 ms) 08:56:16 Should execute contract function that performs sha256_hash_511 on input of length 511 (148 ms) 08:56:16 Should execute contract function that performs sha256_hash_512 on input of length 512 (137 ms) 08:56:16 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (489 ms) 08:56:16 Should execute contract function that performs keccak_hash on input of length 10 (55 ms) 08:56:16 Should execute contract function that performs keccak_f1600 on input of length 25 (15 ms) 08:56:16 Should execute contract function that performs poseidon2_hash on input of length 10 (18 ms) 08:56:16 Should execute contract function that performs pedersen_hash on input of length 10 (524 ms) 08:56:16 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (558 ms) 08:56:16 Environment getters 08:56:16 address getter (28 ms) 08:56:16 sender getter (20 ms) 08:56:16 transactionFee getter (34 ms) 08:56:16 chainId getter (20 ms) 08:56:16 version getter (19 ms) 08:56:16 blockNumber getter (22 ms) 08:56:16 timestamp getter (16 ms) 08:56:16 feePerDaGas getter (22 ms) 08:56:16 feePerL2Gas getter (30 ms) 08:56:16 Side effects, world state, nested calls 08:56:16 Should append a new note hash correctly (20 ms) 08:56:16 Should append a new nullifier correctly (20 ms) 08:56:16 Note hash checks 08:56:16 Should return false (and be traced) when noteHash does NOT exist (26 ms) 08:56:16 Should return true (and be traced) when noteHash DOES exist (36 ms) 08:56:16 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (17 ms) 08:56:16 Nullifier checks 08:56:16 Should return false (and be traced) when nullifier does NOT exist (16 ms) 08:56:16 Should return true (and be traced) when nullifier DOES exist (20 ms) 08:56:16 L1ToL2 message checks 08:56:16 Should return false (and be traced) when message does NOT exist (16 ms) 08:56:16 Should return true (and be traced) when message DOES exist (17 ms) 08:56:16 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (24 ms) 08:56:16 Cached nullifiers 08:56:16 Emits a nullifier and checks its existence (17 ms) 08:56:16 Emits same nullifier twice (expect failure) (17 ms) 08:56:16 Public Logs 08:56:16 Emit public logs (should be traced) (39 ms) 08:56:16 Public storage accesses 08:56:16 Should set value in storage (single) (17 ms) 08:56:16 Should read value in storage (single) (28 ms) 08:56:16 Should set and read a value from storage (single) (23 ms) 08:56:16 Should set a value in storage (list) (17 ms) 08:56:16 Should read a value in storage (list) (30 ms) 08:56:16 Should set a value in storage (map) (41 ms) 08:56:16 Should read-add-set a value in storage (map) (46 ms) 08:56:16 Should read value in storage (map) (31 ms) 08:56:16 Contract Instance Retrieval 08:56:16 Can getContractInstance (31 ms) 08:56:16 Nested external calls 08:56:16 Nested call to non-existent contract (25 ms) 08:56:16 Nested call (128 ms) 08:56:16 Nested static call (107 ms) 08:56:16 Nested call with not enough gas (expect failure) (106 ms) 08:56:16 Nested static call which modifies storage (expect failure) (115 ms) 08:56:16 Nested calls rethrow exceptions (133 ms) 08:56:16 Should handle returndatacopy oracle (132 ms) 08:56:16 Side effect trace errors on overflow 08:56:16 Overrun of Public storage writes (14 ms) 08:56:16 Overrun of New note hashes (25 ms) 08:56:16 Overrun of New nullifiers (15 ms) 08:56:16 Overrun of New unencrypted logs (3 ms) 08:56:16 Overrun of New L1 to L2 messages (2 ms) 08:56:16 Side effects including merkle checks 08:56:16 Note hashes 08:56:16 Should append new note hash correctly (291 ms) 08:56:16 Note hash check properly returns exists=false (295 ms) 08:56:16 Note hash check properly returns exists=true (271 ms) 08:56:16 Nullifiers 08:56:16 Should append a new nullifier correctly (271 ms) 08:56:16 Nullifier check properly returns exists=false (244 ms) 08:56:16 Nullifier check properly returns exists=true (254 ms) 08:56:16 Public storage accesses 08:56:16 Should set value in storage (single) (281 ms) 08:56:16 Should read value in storage (single) - never written (263 ms) 08:56:16 Should read value in storage (single) - written before, leaf exists (286 ms) 08:56:16 Should set and read value in storage (single) (263 ms) 08:56:16 08:56:16 Test Suites: 1 passed, 1 total 08:56:16 Tests: 103 passed, 103 total 08:56:16 Snapshots: 0 total 08:56:16 Time: 10.767 s 08:56:16 Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts. 08:56:16 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?