Parent Log: http://ci.aztec-labs.com/af8b5f0ffc64dcdd Command: 9b90ba1cd25aa9c9 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/4ae29efe4b68ec58d68cf3708b9a36b94dad8b2b Env: REF_NAME=gh-readonly-queue/next/pr-15129-5c77169d7f01a9e15bc19b05fa231fd96111d7dd CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Wed Jun 18 15:19:34 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15129_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:19:38 [15:19:38.277] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 15:19:43 [15:19:43.034] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 15:19:43 [15:19:43.873] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-n3zliW/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:19:44 [15:19:44.162] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Jcm0qP/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:19:44 [15:19:44.455] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-xmnBuV/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:19:44 [15:19:44.735] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-oZQlSp/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:19:45 [15:19:45.022] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-NR9M8e/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:19:45 [15:19:45.284] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Cp2qFI/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:19:45 [15:19:45.556] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-ULZIkf/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:19:45 [15:19:45.783] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-hlqUYH/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:19:46 [15:19:46.042] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-aMZ4rI/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:19:46 [15:19:46.309] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Cc79lQ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:19:46 PASS src/public/avm/avm_simulator.test.ts (11.071 s) 15:19:46 AVM simulator: injected bytecode 15:19:46 Should execute bytecode that performs basic addition (8 ms) 15:19:46 Should halt if runs out of gas (4 ms) 15:19:46 An exceptional halt should consume all allocated gas (2 ms) 15:19:46 AVM simulator: transpiled Noir contracts 15:19:46 execution of a non-existent contract immediately reverts and consumes all allocated gas (6 ms) 15:19:46 addition (24 ms) 15:19:46 addition via dispatch (264 ms) 15:19:46 get_args_hash via dispatch (54 ms) 15:19:46 modulo and u1 (20 ms) 15:19:46 Should handle calldata oracle (31 ms) 15:19:46 Should handle return oracle (36 ms) 15:19:46 Should handle revert oracle (31 ms) 15:19:46 ec_add should not revert (33 ms) 15:19:46 elliptic curve operations (30 ms) 15:19:46 pedersen commitment operations (56 ms) 15:19:46 conditional move operations (35 ms) 15:19:46 Logging (32 ms) 15:19:46 Assertion message (57 ms) 15:19:46 conversions (23 ms) 15:19:46 should be able to execute contracts that only have private functions (1 ms) 15:19:46 msm 15:19:46 low scalars (49 ms) 15:19:46 with a zero (42 ms) 15:19:46 high scalars (169 ms) 15:19:46 U128 addition and overflows 15:19:46 U128 addition (32 ms) 15:19:46 Expect failure on U128::add() overflow (64 ms) 15:19:46 SET functions 15:19:46 function 'set_opcode_u8' (17 ms) 15:19:46 function 'set_opcode_u32' (19 ms) 15:19:46 function 'set_opcode_u64' (20 ms) 15:19:46 function 'set_opcode_small_field' (27 ms) 15:19:46 function 'set_opcode_big_field' (21 ms) 15:19:46 function 'set_opcode_really_big_field' (17 ms) 15:19:46 Hashes in noir contracts 15:19:46 Should execute contract function that performs sha256_hash_10 on input of length 10 (58 ms) 15:19:46 Should execute contract function that performs sha256_hash_20 on input of length 20 (39 ms) 15:19:46 Should execute contract function that performs sha256_hash_30 on input of length 30 (39 ms) 15:19:46 Should execute contract function that performs sha256_hash_40 on input of length 40 (33 ms) 15:19:46 Should execute contract function that performs sha256_hash_50 on input of length 50 (29 ms) 15:19:46 Should execute contract function that performs sha256_hash_60 on input of length 60 (29 ms) 15:19:46 Should execute contract function that performs sha256_hash_70 on input of length 70 (48 ms) 15:19:46 Should execute contract function that performs sha256_hash_80 on input of length 80 (44 ms) 15:19:46 Should execute contract function that performs sha256_hash_90 on input of length 90 (37 ms) 15:19:46 Should execute contract function that performs sha256_hash_100 on input of length 100 (39 ms) 15:19:46 Should execute contract function that performs sha256_hash_255 on input of length 255 (64 ms) 15:19:46 Should execute contract function that performs sha256_hash_256 on input of length 256 (60 ms) 15:19:46 Should execute contract function that performs sha256_hash_511 on input of length 511 (128 ms) 15:19:46 Should execute contract function that performs sha256_hash_512 on input of length 512 (149 ms) 15:19:46 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (539 ms) 15:19:46 Should execute contract function that performs keccak_hash on input of length 10 (53 ms) 15:19:46 Should execute contract function that performs keccak_f1600 on input of length 25 (12 ms) 15:19:46 Should execute contract function that performs poseidon2_hash on input of length 10 (13 ms) 15:19:46 Should execute contract function that performs pedersen_hash on input of length 10 (630 ms) 15:19:46 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (535 ms) 15:19:46 Environment getters 15:19:46 address getter (38 ms) 15:19:46 sender getter (28 ms) 15:19:46 transactionFee getter (18 ms) 15:19:46 chainId getter (32 ms) 15:19:46 version getter (42 ms) 15:19:46 blockNumber getter (23 ms) 15:19:46 timestamp getter (17 ms) 15:19:46 feePerDaGas getter (19 ms) 15:19:46 feePerL2Gas getter (23 ms) 15:19:46 Side effects, world state, nested calls 15:19:46 Should append a new note hash correctly (24 ms) 15:19:46 Should append a new nullifier correctly (23 ms) 15:19:46 Note hash checks 15:19:46 Should return false (and be traced) when noteHash does NOT exist (30 ms) 15:19:46 Should return true (and be traced) when noteHash DOES exist (28 ms) 15:19:46 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (27 ms) 15:19:46 Nullifier checks 15:19:46 Should return false (and be traced) when nullifier does NOT exist (22 ms) 15:19:46 Should return true (and be traced) when nullifier DOES exist (19 ms) 15:19:46 L1ToL2 message checks 15:19:46 Should return false (and be traced) when message does NOT exist (26 ms) 15:19:46 Should return true (and be traced) when message DOES exist (35 ms) 15:19:46 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (23 ms) 15:19:46 Cached nullifiers 15:19:46 Emits a nullifier and checks its existence (25 ms) 15:19:46 Emits same nullifier twice (expect failure) (23 ms) 15:19:46 Public Logs 15:19:46 Emit public logs (should be traced) (62 ms) 15:19:46 Public storage accesses 15:19:46 Should set value in storage (single) (34 ms) 15:19:46 Should read value in storage (single) (29 ms) 15:19:46 Should set and read a value from storage (single) (30 ms) 15:19:46 Should set a value in storage (list) (33 ms) 15:19:46 Should read a value in storage (list) (30 ms) 15:19:46 Should set a value in storage (map) (37 ms) 15:19:46 Should read-add-set a value in storage (map) (33 ms) 15:19:46 Should read value in storage (map) (22 ms) 15:19:46 Contract Instance Retrieval 15:19:46 Can getContractInstance (28 ms) 15:19:46 Nested external calls 15:19:46 Nested call to non-existent contract (34 ms) 15:19:46 Nested call (153 ms) 15:19:46 Nested static call (140 ms) 15:19:46 Nested call with not enough gas (expect failure) (101 ms) 15:19:46 Nested static call which modifies storage (expect failure) (120 ms) 15:19:46 Nested calls rethrow exceptions (138 ms) 15:19:46 Should handle returndatacopy oracle (125 ms) 15:19:46 Side effect trace errors on overflow 15:19:46 Overrun of Public storage writes (11 ms) 15:19:46 Overrun of New note hashes (15 ms) 15:19:46 Overrun of New nullifiers (9 ms) 15:19:46 Overrun of New unencrypted logs (1 ms) 15:19:46 Overrun of New L1 to L2 messages (2 ms) 15:19:46 Side effects including merkle checks 15:19:46 Note hashes 15:19:46 Should append new note hash correctly (298 ms) 15:19:46 Note hash check properly returns exists=false (292 ms) 15:19:46 Note hash check properly returns exists=true (282 ms) 15:19:46 Nullifiers 15:19:46 Should append a new nullifier correctly (287 ms) 15:19:46 Nullifier check properly returns exists=false (261 ms) 15:19:46 Nullifier check properly returns exists=true (272 ms) 15:19:46 Public storage accesses 15:19:46 Should set value in storage (single) (226 ms) 15:19:46 Should read value in storage (single) - never written (255 ms) 15:19:46 Should read value in storage (single) - written before, leaf exists (270 ms) 15:19:46 Should set and read value in storage (single) (259 ms) 15:19:46 15:19:46 Test Suites: 1 passed, 1 total 15:19:46 Tests: 103 passed, 103 total 15:19:46 Snapshots: 0 total 15:19:46 Time: 11.156 s 15:19:46 Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts. 15:19:46 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?