Parent Log: http://ci.aztec-labs.com/5d55b1615f5ec373 Command: 29957fbe93665d48 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/b43963b96401afabcaa75e0728adbb551b94d20f Env: REF_NAME=gh-readonly-queue/next/pr-15216-4608046e462faf9ff3fbee265ba34dbecb5d0b31 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 23 15:42:04 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15216_amd64_x4-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 15:42:08 [15:42:08.292] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 15:42:12 [15:42:12.375] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 15:42:13 [15:42:13.114] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-pPVbJj/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:42:13 [15:42:13.416] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Ykkrlp/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:42:13 [15:42:13.698] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-kpEUDa/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:42:13 [15:42:13.997] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-83Rwgp/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:42:14 [15:42:14.268] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-LSlIlF/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:42:14 [15:42:14.553] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-pWPLEm/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:42:14 [15:42:14.818] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-qs0SFP/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:42:15 [15:42:15.081] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-1zBxEd/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:42:15 [15:42:15.359] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-ANVpr3/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:42:15 [15:42:15.635] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-DxhtvV/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:42:16 PASS src/public/avm/avm_simulator.test.ts (10.582 s) 15:42:16 AVM simulator: injected bytecode 15:42:16 Should execute bytecode that performs basic addition (7 ms) 15:42:16 Should halt if runs out of gas (4 ms) 15:42:16 An exceptional halt should consume all allocated gas (2 ms) 15:42:16 AVM simulator: transpiled Noir contracts 15:42:16 execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms) 15:42:16 addition (31 ms) 15:42:16 addition via dispatch (253 ms) 15:42:16 get_args_hash via dispatch (52 ms) 15:42:16 modulo and u1 (37 ms) 15:42:16 Should handle calldata oracle (38 ms) 15:42:16 Should handle return oracle (27 ms) 15:42:16 Should handle revert oracle (24 ms) 15:42:16 ec_add should not revert (36 ms) 15:42:16 elliptic curve operations (21 ms) 15:42:16 pedersen commitment operations (32 ms) 15:42:16 conditional move operations (33 ms) 15:42:16 Logging (30 ms) 15:42:16 Assertion message (46 ms) 15:42:16 conversions (16 ms) 15:42:16 should be able to execute contracts that only have private functions (3 ms) 15:42:16 msm 15:42:16 low scalars (43 ms) 15:42:16 with a zero (36 ms) 15:42:16 high scalars (145 ms) 15:42:16 U128 addition and overflows 15:42:16 U128 addition (17 ms) 15:42:16 Expect failure on U128::add() overflow (41 ms) 15:42:16 SET functions 15:42:16 function 'set_opcode_u8' (17 ms) 15:42:16 function 'set_opcode_u32' (17 ms) 15:42:16 function 'set_opcode_u64' (30 ms) 15:42:16 function 'set_opcode_small_field' (16 ms) 15:42:16 function 'set_opcode_big_field' (16 ms) 15:42:16 function 'set_opcode_really_big_field' (18 ms) 15:42:16 Hashes in noir contracts 15:42:16 Should execute contract function that performs sha256_hash_10 on input of length 10 (37 ms) 15:42:16 Should execute contract function that performs sha256_hash_20 on input of length 20 (27 ms) 15:42:16 Should execute contract function that performs sha256_hash_30 on input of length 30 (20 ms) 15:42:16 Should execute contract function that performs sha256_hash_40 on input of length 40 (25 ms) 15:42:16 Should execute contract function that performs sha256_hash_50 on input of length 50 (36 ms) 15:42:16 Should execute contract function that performs sha256_hash_60 on input of length 60 (34 ms) 15:42:16 Should execute contract function that performs sha256_hash_70 on input of length 70 (51 ms) 15:42:16 Should execute contract function that performs sha256_hash_80 on input of length 80 (57 ms) 15:42:16 Should execute contract function that performs sha256_hash_90 on input of length 90 (54 ms) 15:42:16 Should execute contract function that performs sha256_hash_100 on input of length 100 (57 ms) 15:42:16 Should execute contract function that performs sha256_hash_255 on input of length 255 (80 ms) 15:42:16 Should execute contract function that performs sha256_hash_256 on input of length 256 (82 ms) 15:42:16 Should execute contract function that performs sha256_hash_511 on input of length 511 (121 ms) 15:42:16 Should execute contract function that performs sha256_hash_512 on input of length 512 (106 ms) 15:42:16 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (391 ms) 15:42:16 Should execute contract function that performs keccak_hash on input of length 10 (43 ms) 15:42:16 Should execute contract function that performs keccak_f1600 on input of length 25 (13 ms) 15:42:16 Should execute contract function that performs poseidon2_hash on input of length 10 (17 ms) 15:42:16 Should execute contract function that performs pedersen_hash on input of length 10 (514 ms) 15:42:16 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (495 ms) 15:42:16 Environment getters 15:42:16 address getter (22 ms) 15:42:16 sender getter (20 ms) 15:42:16 transactionFee getter (22 ms) 15:42:16 chainId getter (21 ms) 15:42:16 version getter (20 ms) 15:42:16 blockNumber getter (22 ms) 15:42:16 timestamp getter (19 ms) 15:42:16 feePerDaGas getter (15 ms) 15:42:16 feePerL2Gas getter (18 ms) 15:42:16 Side effects, world state, nested calls 15:42:16 Should append a new note hash correctly (21 ms) 15:42:16 Should append a new nullifier correctly (19 ms) 15:42:16 Note hash checks 15:42:16 Should return false (and be traced) when noteHash does NOT exist (20 ms) 15:42:16 Should return true (and be traced) when noteHash DOES exist (19 ms) 15:42:16 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (16 ms) 15:42:16 Nullifier checks 15:42:16 Should return false (and be traced) when nullifier does NOT exist (19 ms) 15:42:16 Should return true (and be traced) when nullifier DOES exist (21 ms) 15:42:16 L1ToL2 message checks 15:42:16 Should return false (and be traced) when message does NOT exist (22 ms) 15:42:16 Should return true (and be traced) when message DOES exist (25 ms) 15:42:16 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (25 ms) 15:42:16 Cached nullifiers 15:42:16 Emits a nullifier and checks its existence (21 ms) 15:42:16 Emits same nullifier twice (expect failure) (18 ms) 15:42:16 Public Logs 15:42:16 Emit public logs (should be traced) (45 ms) 15:42:16 Public storage accesses 15:42:16 Should set value in storage (single) (19 ms) 15:42:16 Should read value in storage (single) (20 ms) 15:42:16 Should set and read a value from storage (single) (20 ms) 15:42:16 Should set a value in storage (list) (23 ms) 15:42:16 Should read a value in storage (list) (28 ms) 15:42:16 Should set a value in storage (map) (31 ms) 15:42:16 Should read-add-set a value in storage (map) (28 ms) 15:42:16 Should read value in storage (map) (27 ms) 15:42:16 Contract Instance Retrieval 15:42:16 Can getContractInstance (23 ms) 15:42:16 Nested external calls 15:42:16 Nested call to non-existent contract (27 ms) 15:42:16 Nested call (125 ms) 15:42:16 Nested static call (121 ms) 15:42:16 Nested call with not enough gas (expect failure) (90 ms) 15:42:16 Nested static call which modifies storage (expect failure) (104 ms) 15:42:16 Nested calls rethrow exceptions (124 ms) 15:42:16 Should handle returndatacopy oracle (109 ms) 15:42:16 Side effect trace errors on overflow 15:42:16 Overrun of Public storage writes (11 ms) 15:42:16 Overrun of New note hashes (19 ms) 15:42:16 Overrun of New nullifiers (13 ms) 15:42:16 Overrun of New unencrypted logs (2 ms) 15:42:16 Overrun of New L1 to L2 messages (1 ms) 15:42:16 Side effects including merkle checks 15:42:16 Note hashes 15:42:16 Should append new note hash correctly (306 ms) 15:42:16 Note hash check properly returns exists=false (281 ms) 15:42:16 Note hash check properly returns exists=true (298 ms) 15:42:16 Nullifiers 15:42:16 Should append a new nullifier correctly (271 ms) 15:42:16 Nullifier check properly returns exists=false (286 ms) 15:42:16 Nullifier check properly returns exists=true (264 ms) 15:42:16 Public storage accesses 15:42:16 Should set value in storage (single) (260 ms) 15:42:16 Should read value in storage (single) - never written (277 ms) 15:42:16 Should read value in storage (single) - written before, leaf exists (280 ms) 15:42:16 Should set and read value in storage (single) (349 ms) 15:42:16 15:42:16 Test Suites: 1 passed, 1 total 15:42:16 Tests: 103 passed, 103 total 15:42:16 Snapshots: 0 total 15:42:16 Time: 10.7 s 15:42:16 Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts. 15:42:16 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?