Parent Log: http://ci.aztec-labs.com/70b89db270779f49 Command: a852c28f8f853b32 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/ffc8af0c47dad3be6fb4bfb9f3f5af6cd3a05a67 Env: REF_NAME=gh-readonly-queue/next/pr-15214-69efc9daf98e823f486416900de52fe8a44f25d9 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 23 16:12:41 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15214_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 16:12:44 [16:12:44.629] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 16:12:48 [16:12:48.818] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 16:12:49 [16:12:49.669] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-quavir/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:12:49 [16:12:49.933] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-0yagCc/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:12:50 [16:12:50.202] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-FLFN2M/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:12:50 [16:12:50.435] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-E6kvv8/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:12:50 [16:12:50.715] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-AGVKX9/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:12:50 [16:12:50.986] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-2LLnzL/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:12:51 [16:12:51.268] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Eq6tLJ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:12:51 [16:12:51.533] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-OYgzGo/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:12:51 [16:12:51.807] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-aAeaa2/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:12:52 [16:12:52.115] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-5iXTUy/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:12:52 PASS src/public/avm/avm_simulator.test.ts (10.357 s) 16:12:52 AVM simulator: injected bytecode 16:12:52 Should execute bytecode that performs basic addition (9 ms) 16:12:52 Should halt if runs out of gas (3 ms) 16:12:52 An exceptional halt should consume all allocated gas (2 ms) 16:12:52 AVM simulator: transpiled Noir contracts 16:12:52 execution of a non-existent contract immediately reverts and consumes all allocated gas (6 ms) 16:12:52 addition (34 ms) 16:12:52 addition via dispatch (195 ms) 16:12:52 get_args_hash via dispatch (51 ms) 16:12:52 modulo and u1 (19 ms) 16:12:52 Should handle calldata oracle (34 ms) 16:12:52 Should handle return oracle (32 ms) 16:12:52 Should handle revert oracle (31 ms) 16:12:52 ec_add should not revert (37 ms) 16:12:52 elliptic curve operations (28 ms) 16:12:52 pedersen commitment operations (38 ms) 16:12:52 conditional move operations (31 ms) 16:12:52 Logging (29 ms) 16:12:52 Assertion message (38 ms) 16:12:52 conversions (19 ms) 16:12:52 should be able to execute contracts that only have private functions (2 ms) 16:12:52 msm 16:12:52 low scalars (56 ms) 16:12:52 with a zero (37 ms) 16:12:52 high scalars (194 ms) 16:12:52 U128 addition and overflows 16:12:52 U128 addition (23 ms) 16:12:52 Expect failure on U128::add() overflow (63 ms) 16:12:52 SET functions 16:12:52 function 'set_opcode_u8' (24 ms) 16:12:52 function 'set_opcode_u32' (24 ms) 16:12:52 function 'set_opcode_u64' (19 ms) 16:12:52 function 'set_opcode_small_field' (20 ms) 16:12:52 function 'set_opcode_big_field' (15 ms) 16:12:52 function 'set_opcode_really_big_field' (16 ms) 16:12:52 Hashes in noir contracts 16:12:52 Should execute contract function that performs sha256_hash_10 on input of length 10 (39 ms) 16:12:52 Should execute contract function that performs sha256_hash_20 on input of length 20 (31 ms) 16:12:52 Should execute contract function that performs sha256_hash_30 on input of length 30 (31 ms) 16:12:52 Should execute contract function that performs sha256_hash_40 on input of length 40 (36 ms) 16:12:52 Should execute contract function that performs sha256_hash_50 on input of length 50 (30 ms) 16:12:52 Should execute contract function that performs sha256_hash_60 on input of length 60 (30 ms) 16:12:52 Should execute contract function that performs sha256_hash_70 on input of length 70 (41 ms) 16:12:52 Should execute contract function that performs sha256_hash_80 on input of length 80 (37 ms) 16:12:52 Should execute contract function that performs sha256_hash_90 on input of length 90 (50 ms) 16:12:52 Should execute contract function that performs sha256_hash_100 on input of length 100 (34 ms) 16:12:52 Should execute contract function that performs sha256_hash_255 on input of length 255 (75 ms) 16:12:52 Should execute contract function that performs sha256_hash_256 on input of length 256 (80 ms) 16:12:52 Should execute contract function that performs sha256_hash_511 on input of length 511 (132 ms) 16:12:52 Should execute contract function that performs sha256_hash_512 on input of length 512 (161 ms) 16:12:52 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (505 ms) 16:12:52 Should execute contract function that performs keccak_hash on input of length 10 (53 ms) 16:12:52 Should execute contract function that performs keccak_f1600 on input of length 25 (10 ms) 16:12:52 Should execute contract function that performs poseidon2_hash on input of length 10 (19 ms) 16:12:52 Should execute contract function that performs pedersen_hash on input of length 10 (510 ms) 16:12:52 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (423 ms) 16:12:52 Environment getters 16:12:52 address getter (18 ms) 16:12:52 sender getter (15 ms) 16:12:52 transactionFee getter (16 ms) 16:12:52 chainId getter (29 ms) 16:12:52 version getter (30 ms) 16:12:52 blockNumber getter (18 ms) 16:12:52 timestamp getter (18 ms) 16:12:52 feePerDaGas getter (24 ms) 16:12:52 feePerL2Gas getter (17 ms) 16:12:52 Side effects, world state, nested calls 16:12:52 Should append a new note hash correctly (28 ms) 16:12:52 Should append a new nullifier correctly (16 ms) 16:12:52 Note hash checks 16:12:52 Should return false (and be traced) when noteHash does NOT exist (18 ms) 16:12:52 Should return true (and be traced) when noteHash DOES exist (16 ms) 16:12:52 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (23 ms) 16:12:52 Nullifier checks 16:12:52 Should return false (and be traced) when nullifier does NOT exist (27 ms) 16:12:52 Should return true (and be traced) when nullifier DOES exist (26 ms) 16:12:52 L1ToL2 message checks 16:12:52 Should return false (and be traced) when message does NOT exist (28 ms) 16:12:52 Should return true (and be traced) when message DOES exist (24 ms) 16:12:52 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (26 ms) 16:12:52 Cached nullifiers 16:12:52 Emits a nullifier and checks its existence (16 ms) 16:12:52 Emits same nullifier twice (expect failure) (28 ms) 16:12:52 Public Logs 16:12:52 Emit public logs (should be traced) (35 ms) 16:12:52 Public storage accesses 16:12:52 Should set value in storage (single) (19 ms) 16:12:52 Should read value in storage (single) (21 ms) 16:12:52 Should set and read a value from storage (single) (25 ms) 16:12:52 Should set a value in storage (list) (16 ms) 16:12:52 Should read a value in storage (list) (16 ms) 16:12:52 Should set a value in storage (map) (23 ms) 16:12:52 Should read-add-set a value in storage (map) (33 ms) 16:12:52 Should read value in storage (map) (20 ms) 16:12:52 Contract Instance Retrieval 16:12:52 Can getContractInstance (17 ms) 16:12:52 Nested external calls 16:12:52 Nested call to non-existent contract (19 ms) 16:12:52 Nested call (144 ms) 16:12:52 Nested static call (108 ms) 16:12:52 Nested call with not enough gas (expect failure) (111 ms) 16:12:52 Nested static call which modifies storage (expect failure) (133 ms) 16:12:52 Nested calls rethrow exceptions (153 ms) 16:12:52 Should handle returndatacopy oracle (135 ms) 16:12:52 Side effect trace errors on overflow 16:12:52 Overrun of Public storage writes (11 ms) 16:12:52 Overrun of New note hashes (19 ms) 16:12:52 Overrun of New nullifiers (15 ms) 16:12:52 Overrun of New unencrypted logs (2 ms) 16:12:52 Overrun of New L1 to L2 messages (2 ms) 16:12:52 Side effects including merkle checks 16:12:52 Note hashes 16:12:52 Should append new note hash correctly (266 ms) 16:12:52 Note hash check properly returns exists=false (269 ms) 16:12:52 Note hash check properly returns exists=true (235 ms) 16:12:52 Nullifiers 16:12:52 Should append a new nullifier correctly (277 ms) 16:12:52 Nullifier check properly returns exists=false (274 ms) 16:12:52 Nullifier check properly returns exists=true (279 ms) 16:12:52 Public storage accesses 16:12:52 Should set value in storage (single) (265 ms) 16:12:52 Should read value in storage (single) - never written (272 ms) 16:12:52 Should read value in storage (single) - written before, leaf exists (310 ms) 16:12:52 Should set and read value in storage (single) (242 ms) 16:12:52 16:12:52 Test Suites: 1 passed, 1 total 16:12:52 Tests: 103 passed, 103 total 16:12:52 Snapshots: 0 total 16:12:52 Time: 10.437 s 16:12:52 Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts. 16:12:52 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?