Parent Log: http://ci.aztec-labs.com/903550316e4b829b Command: ef85c2b8680d9e9c yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/9ba478709ce5c48099f79f9531da8292811cb18a Env: REF_NAME=gh-readonly-queue/staging/pr-15247-3863bc02d671057d0cffd4ced17ca317788ff190 CURRENT_VERSION=1.0.0 CI_FULL=1 Date: Tue Jun 24 14:59:45 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15247_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_staging 14:59:49 [14:59:49.550] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 14:59:54 [14:59:54.022] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 14:59:54 [14:59:54.876] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-l1TQv9/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:59:55 [14:59:55.167] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-wHOu8B/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:59:55 [14:59:55.456] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Jg1J88/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:59:55 [14:59:55.736] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-d88cJZ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:59:55 [14:59:55.966] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Stz6nu/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:59:56 [14:59:56.241] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-GEI0Ec/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:59:56 [14:59:56.529] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-VPRlkt/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:59:56 [14:59:56.792] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-QqGgD5/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:59:57 [14:59:57.041] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-qP0OI0/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:59:57 [14:59:57.322] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-m7oKSZ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:59:57 PASS src/public/avm/avm_simulator.test.ts (10.881 s) 14:59:57 AVM simulator: injected bytecode 14:59:57 Should execute bytecode that performs basic addition (9 ms) 14:59:57 Should halt if runs out of gas (4 ms) 14:59:57 An exceptional halt should consume all allocated gas (2 ms) 14:59:57 AVM simulator: transpiled Noir contracts 14:59:57 execution of a non-existent contract immediately reverts and consumes all allocated gas (8 ms) 14:59:57 addition (57 ms) 14:59:57 addition via dispatch (243 ms) 14:59:57 get_args_hash via dispatch (69 ms) 14:59:57 modulo and u1 (26 ms) 14:59:57 Should handle calldata oracle (22 ms) 14:59:57 Should handle return oracle (30 ms) 14:59:57 Should handle revert oracle (20 ms) 14:59:57 ec_add should not revert (26 ms) 14:59:57 elliptic curve operations (23 ms) 14:59:57 pedersen commitment operations (48 ms) 14:59:57 conditional move operations (29 ms) 14:59:57 Logging (27 ms) 14:59:57 Assertion message (70 ms) 14:59:57 conversions (25 ms) 14:59:57 should be able to execute contracts that only have private functions (3 ms) 14:59:57 msm 14:59:57 low scalars (46 ms) 14:59:57 with a zero (32 ms) 14:59:57 high scalars (169 ms) 14:59:57 U128 addition and overflows 14:59:57 U128 addition (23 ms) 14:59:57 Expect failure on U128::add() overflow (51 ms) 14:59:57 SET functions 14:59:57 function 'set_opcode_u8' (22 ms) 14:59:57 function 'set_opcode_u32' (30 ms) 14:59:57 function 'set_opcode_u64' (21 ms) 14:59:57 function 'set_opcode_small_field' (20 ms) 14:59:57 function 'set_opcode_big_field' (24 ms) 14:59:57 function 'set_opcode_really_big_field' (22 ms) 14:59:57 Hashes in noir contracts 14:59:57 Should execute contract function that performs sha256_hash_10 on input of length 10 (36 ms) 14:59:57 Should execute contract function that performs sha256_hash_20 on input of length 20 (29 ms) 14:59:57 Should execute contract function that performs sha256_hash_30 on input of length 30 (31 ms) 14:59:57 Should execute contract function that performs sha256_hash_40 on input of length 40 (36 ms) 14:59:57 Should execute contract function that performs sha256_hash_50 on input of length 50 (37 ms) 14:59:57 Should execute contract function that performs sha256_hash_60 on input of length 60 (40 ms) 14:59:57 Should execute contract function that performs sha256_hash_70 on input of length 70 (37 ms) 14:59:57 Should execute contract function that performs sha256_hash_80 on input of length 80 (45 ms) 14:59:57 Should execute contract function that performs sha256_hash_90 on input of length 90 (45 ms) 14:59:57 Should execute contract function that performs sha256_hash_100 on input of length 100 (49 ms) 14:59:57 Should execute contract function that performs sha256_hash_255 on input of length 255 (104 ms) 14:59:57 Should execute contract function that performs sha256_hash_256 on input of length 256 (75 ms) 14:59:57 Should execute contract function that performs sha256_hash_511 on input of length 511 (139 ms) 14:59:57 Should execute contract function that performs sha256_hash_512 on input of length 512 (120 ms) 14:59:57 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (442 ms) 14:59:57 Should execute contract function that performs keccak_hash on input of length 10 (43 ms) 14:59:57 Should execute contract function that performs keccak_f1600 on input of length 25 (14 ms) 14:59:57 Should execute contract function that performs poseidon2_hash on input of length 10 (17 ms) 14:59:57 Should execute contract function that performs pedersen_hash on input of length 10 (507 ms) 14:59:57 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (490 ms) 14:59:57 Environment getters 14:59:57 address getter (22 ms) 14:59:57 sender getter (40 ms) 14:59:57 transactionFee getter (19 ms) 14:59:57 chainId getter (19 ms) 14:59:57 version getter (24 ms) 14:59:57 blockNumber getter (31 ms) 14:59:57 timestamp getter (29 ms) 14:59:57 feePerDaGas getter (29 ms) 14:59:57 feePerL2Gas getter (26 ms) 14:59:57 Side effects, world state, nested calls 14:59:57 Should append a new note hash correctly (33 ms) 14:59:57 Should append a new nullifier correctly (28 ms) 14:59:57 Note hash checks 14:59:57 Should return false (and be traced) when noteHash does NOT exist (31 ms) 14:59:57 Should return true (and be traced) when noteHash DOES exist (22 ms) 14:59:57 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (30 ms) 14:59:57 Nullifier checks 14:59:57 Should return false (and be traced) when nullifier does NOT exist (22 ms) 14:59:57 Should return true (and be traced) when nullifier DOES exist (19 ms) 14:59:57 L1ToL2 message checks 14:59:57 Should return false (and be traced) when message does NOT exist (27 ms) 14:59:57 Should return true (and be traced) when message DOES exist (46 ms) 14:59:57 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (27 ms) 14:59:57 Cached nullifiers 14:59:57 Emits a nullifier and checks its existence (23 ms) 14:59:57 Emits same nullifier twice (expect failure) (22 ms) 14:59:57 Public Logs 14:59:57 Emit public logs (should be traced) (61 ms) 14:59:57 Public storage accesses 14:59:57 Should set value in storage (single) (36 ms) 14:59:57 Should read value in storage (single) (30 ms) 14:59:57 Should set and read a value from storage (single) (31 ms) 14:59:57 Should set a value in storage (list) (27 ms) 14:59:57 Should read a value in storage (list) (20 ms) 14:59:57 Should set a value in storage (map) (29 ms) 14:59:57 Should read-add-set a value in storage (map) (47 ms) 14:59:57 Should read value in storage (map) (20 ms) 14:59:57 Contract Instance Retrieval 14:59:57 Can getContractInstance (32 ms) 14:59:57 Nested external calls 14:59:57 Nested call to non-existent contract (23 ms) 14:59:57 Nested call (142 ms) 14:59:57 Nested static call (147 ms) 14:59:57 Nested call with not enough gas (expect failure) (106 ms) 14:59:57 Nested static call which modifies storage (expect failure) (107 ms) 14:59:57 Nested calls rethrow exceptions (175 ms) 14:59:57 Should handle returndatacopy oracle (119 ms) 14:59:57 Side effect trace errors on overflow 14:59:57 Overrun of Public storage writes (11 ms) 14:59:57 Overrun of New note hashes (15 ms) 14:59:57 Overrun of New nullifiers (11 ms) 14:59:57 Overrun of New unencrypted logs (2 ms) 14:59:57 Overrun of New L1 to L2 messages (2 ms) 14:59:57 Side effects including merkle checks 14:59:57 Note hashes 14:59:57 Should append new note hash correctly (297 ms) 14:59:57 Note hash check properly returns exists=false (290 ms) 14:59:57 Note hash check properly returns exists=true (280 ms) 14:59:57 Nullifiers 14:59:57 Should append a new nullifier correctly (229 ms) 14:59:57 Nullifier check properly returns exists=false (275 ms) 14:59:57 Nullifier check properly returns exists=true (286 ms) 14:59:57 Public storage accesses 14:59:57 Should set value in storage (single) (262 ms) 14:59:57 Should read value in storage (single) - never written (251 ms) 14:59:57 Should read value in storage (single) - written before, leaf exists (280 ms) 14:59:57 Should set and read value in storage (single) (291 ms) 14:59:57 14:59:57 Test Suites: 1 passed, 1 total 14:59:57 Tests: 103 passed, 103 total 14:59:57 Snapshots: 0 total 14:59:57 Time: 10.979 s 14:59:57 Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts. 14:59:57 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?