Parent Log: http://ci.aztec-labs.com/5910880ca7ea8613 Command: c6dc62f84205193f yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/3cbe7945c84145b8646cf5cf8fb730b915c0dc93 Env: REF_NAME=gh-readonly-queue/next/pr-15068-254faae7d330e160b14c6eaaa099dc92d4a9cac7 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 13:30:55 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15068_amd64_x4-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 13:30:59 [13:30:59.954] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 13:31:04 [13:31:04.231] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 13:31:05 [13:31:05.798] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-GKQGMQ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 13:31:06 [13:31:06.087] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-UaSyb8/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 13:31:06 [13:31:06.357] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-TVHGFy/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 13:31:06 [13:31:06.646] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-BqFenJ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 13:31:06 [13:31:06.910] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-XMAoX1/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 13:31:07 [13:31:07.174] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-ueL57Q/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 13:31:07 [13:31:07.457] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-hFBofo/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 13:31:07 [13:31:07.745] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-6F8cSi/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 13:31:07 [13:31:07.970] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Hm7EDk/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 13:31:08 [13:31:08.242] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-vwdSSa/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 13:31:08 PASS src/public/avm/avm_simulator.test.ts (11.594 s) 13:31:08 AVM simulator: injected bytecode 13:31:08 Should execute bytecode that performs basic addition (8 ms) 13:31:08 Should halt if runs out of gas (3 ms) 13:31:08 An exceptional halt should consume all allocated gas (1 ms) 13:31:08 AVM simulator: transpiled Noir contracts 13:31:08 execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms) 13:31:08 addition (47 ms) 13:31:08 addition via dispatch (277 ms) 13:31:08 get_args_hash via dispatch (58 ms) 13:31:08 modulo and u1 (19 ms) 13:31:08 Should handle calldata oracle (27 ms) 13:31:08 Should handle return oracle (30 ms) 13:31:08 Should handle revert oracle (22 ms) 13:31:08 ec_add should not revert (26 ms) 13:31:08 elliptic curve operations (24 ms) 13:31:08 pedersen commitment operations (32 ms) 13:31:08 conditional move operations (32 ms) 13:31:08 Logging (24 ms) 13:31:08 Assertion message (43 ms) 13:31:08 conversions (21 ms) 13:31:08 should be able to execute contracts that only have private functions (1 ms) 13:31:08 msm 13:31:08 low scalars (40 ms) 13:31:08 with a zero (34 ms) 13:31:08 high scalars (146 ms) 13:31:08 U128 addition and overflows 13:31:08 U128 addition (20 ms) 13:31:08 Expect failure on U128::add() overflow (39 ms) 13:31:08 SET functions 13:31:08 function 'set_opcode_u8' (22 ms) 13:31:08 function 'set_opcode_u32' (17 ms) 13:31:08 function 'set_opcode_u64' (25 ms) 13:31:08 function 'set_opcode_small_field' (23 ms) 13:31:08 function 'set_opcode_big_field' (24 ms) 13:31:08 function 'set_opcode_really_big_field' (19 ms) 13:31:08 Hashes in noir contracts 13:31:08 Should execute contract function that performs sha256_hash_10 on input of length 10 (31 ms) 13:31:08 Should execute contract function that performs sha256_hash_20 on input of length 20 (26 ms) 13:31:08 Should execute contract function that performs sha256_hash_30 on input of length 30 (28 ms) 13:31:08 Should execute contract function that performs sha256_hash_40 on input of length 40 (24 ms) 13:31:08 Should execute contract function that performs sha256_hash_50 on input of length 50 (37 ms) 13:31:08 Should execute contract function that performs sha256_hash_60 on input of length 60 (36 ms) 13:31:08 Should execute contract function that performs sha256_hash_70 on input of length 70 (31 ms) 13:31:08 Should execute contract function that performs sha256_hash_80 on input of length 80 (30 ms) 13:31:08 Should execute contract function that performs sha256_hash_90 on input of length 90 (55 ms) 13:31:08 Should execute contract function that performs sha256_hash_100 on input of length 100 (46 ms) 13:31:08 Should execute contract function that performs sha256_hash_255 on input of length 255 (69 ms) 13:31:08 Should execute contract function that performs sha256_hash_256 on input of length 256 (83 ms) 13:31:08 Should execute contract function that performs sha256_hash_511 on input of length 511 (140 ms) 13:31:08 Should execute contract function that performs sha256_hash_512 on input of length 512 (122 ms) 13:31:08 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (431 ms) 13:31:08 Should execute contract function that performs keccak_hash on input of length 10 (61 ms) 13:31:08 Should execute contract function that performs keccak_f1600 on input of length 25 (10 ms) 13:31:08 Should execute contract function that performs poseidon2_hash on input of length 10 (13 ms) 13:31:08 Should execute contract function that performs pedersen_hash on input of length 10 (604 ms) 13:31:08 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (471 ms) 13:31:08 Environment getters 13:31:08 address getter (21 ms) 13:31:08 sender getter (20 ms) 13:31:08 transactionFee getter (24 ms) 13:31:08 chainId getter (32 ms) 13:31:08 version getter (24 ms) 13:31:08 blockNumber getter (19 ms) 13:31:08 timestamp getter (34 ms) 13:31:08 feePerDaGas getter (27 ms) 13:31:08 feePerL2Gas getter (29 ms) 13:31:08 Side effects, world state, nested calls 13:31:08 Should append a new note hash correctly (22 ms) 13:31:08 Should append a new nullifier correctly (18 ms) 13:31:08 Note hash checks 13:31:08 Should return false (and be traced) when noteHash does NOT exist (26 ms) 13:31:08 Should return true (and be traced) when noteHash DOES exist (23 ms) 13:31:08 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (18 ms) 13:31:08 Nullifier checks 13:31:08 Should return false (and be traced) when nullifier does NOT exist (16 ms) 13:31:08 Should return true (and be traced) when nullifier DOES exist (16 ms) 13:31:08 L1ToL2 message checks 13:31:08 Should return false (and be traced) when message does NOT exist (30 ms) 13:31:08 Should return true (and be traced) when message DOES exist (16 ms) 13:31:08 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (16 ms) 13:31:08 Cached nullifiers 13:31:08 Emits a nullifier and checks its existence (29 ms) 13:31:08 Emits same nullifier twice (expect failure) (29 ms) 13:31:08 Public Logs 13:31:08 Emit public logs (should be traced) (40 ms) 13:31:08 Public storage accesses 13:31:08 Should set value in storage (single) (22 ms) 13:31:08 Should read value in storage (single) (28 ms) 13:31:08 Should set and read a value from storage (single) (25 ms) 13:31:08 Should set a value in storage (list) (20 ms) 13:31:08 Should read a value in storage (list) (19 ms) 13:31:08 Should set a value in storage (map) (27 ms) 13:31:08 Should read-add-set a value in storage (map) (27 ms) 13:31:08 Should read value in storage (map) (39 ms) 13:31:08 Contract Instance Retrieval 13:31:08 Can getContractInstance (33 ms) 13:31:08 Nested external calls 13:31:08 Nested call to non-existent contract (31 ms) 13:31:08 Nested call (220 ms) 13:31:08 Nested static call (221 ms) 13:31:08 Nested call with not enough gas (expect failure) (237 ms) 13:31:08 Nested static call which modifies storage (expect failure) (233 ms) 13:31:08 Nested calls rethrow exceptions (277 ms) 13:31:08 Should handle returndatacopy oracle (267 ms) 13:31:08 Side effect trace errors on overflow 13:31:08 Overrun of Public storage writes (15 ms) 13:31:08 Overrun of New note hashes (25 ms) 13:31:08 Overrun of New nullifiers (18 ms) 13:31:08 Overrun of New unencrypted logs (3 ms) 13:31:08 Overrun of New L1 to L2 messages (3 ms) 13:31:08 Side effects including merkle checks 13:31:08 Note hashes 13:31:08 Should append new note hash correctly (316 ms) 13:31:08 Note hash check properly returns exists=false (273 ms) 13:31:08 Note hash check properly returns exists=true (290 ms) 13:31:08 Nullifiers 13:31:08 Should append a new nullifier correctly (265 ms) 13:31:08 Nullifier check properly returns exists=false (260 ms) 13:31:08 Nullifier check properly returns exists=true (285 ms) 13:31:08 Public storage accesses 13:31:08 Should set value in storage (single) (289 ms) 13:31:08 Should read value in storage (single) - never written (221 ms) 13:31:08 Should read value in storage (single) - written before, leaf exists (272 ms) 13:31:08 Should set and read value in storage (single) (321 ms) 13:31:08 13:31:08 Test Suites: 1 passed, 1 total 13:31:08 Tests: 103 passed, 103 total 13:31:08 Snapshots: 0 total 13:31:08 Time: 11.709 s 13:31:08 Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts. 13:31:08 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?