Parent Log:
http://ci.aztec-labs.com/a1c0649f970fa576
Command: 6978e0e5f3e9e568 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/af094bce13530e078c78de9f3264280e6693d533
Env: REF_NAME=gh-readonly-queue/next/pr-15224-8ecfee1e20968adef7d520a6b827b218f486ba0e CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 23 18:28:32 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15224_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
18:28:36 [18:28:36.458]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
18:28:40 [18:28:40.717]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
18:28:41 [18:28:41.541]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-cdKUB1/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:28:41 [18:28:41.819]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-RwRglQ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:28:42 [18:28:42.088]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-wHzyQi/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:28:42 [18:28:42.330]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-cjetEo/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:28:42 [18:28:42.565]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Hg6zbB/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:28:42 [18:28:42.829]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-IQBKH1/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:28:43 [18:28:43.064]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-W2PPfb/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:28:43 [18:28:43.322]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-uvC8H3/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:28:43 [18:28:43.616]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-BDWS1C/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:28:43 [18:28:43.892]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-CgoAhJ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:28:44
PASS src/public/avm/avm_simulator.test.ts (
10.425 s)
18:28:44 AVM simulator: injected bytecode
18:28:44
✓ Should execute bytecode that performs basic addition (6 ms)
18:28:44
✓ Should halt if runs out of gas (3 ms)
18:28:44
✓ An exceptional halt should consume all allocated gas (2 ms)
18:28:44 AVM simulator: transpiled Noir contracts
18:28:44
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms)
18:28:44
✓ addition (33 ms)
18:28:44
✓ addition via dispatch (245 ms)
18:28:44
✓ get_args_hash via dispatch (59 ms)
18:28:44
✓ modulo and u1 (33 ms)
18:28:44
✓ Should handle calldata oracle (32 ms)
18:28:44
✓ Should handle return oracle (28 ms)
18:28:44
✓ Should handle revert oracle (27 ms)
18:28:44
✓ ec_add should not revert (28 ms)
18:28:44
✓ elliptic curve operations (24 ms)
18:28:44
✓ pedersen commitment operations (36 ms)
18:28:44
✓ conditional move operations (25 ms)
18:28:44
✓ Logging (23 ms)
18:28:44
✓ Assertion message (53 ms)
18:28:44
✓ conversions (23 ms)
18:28:44
✓ should be able to execute contracts that only have private functions (2 ms)
18:28:44 msm
18:28:44
✓ low scalars (52 ms)
18:28:44
✓ with a zero (34 ms)
18:28:44
✓ high scalars (155 ms)
18:28:44 U128 addition and overflows
18:28:44
✓ U128 addition (30 ms)
18:28:44
✓ Expect failure on U128::add() overflow (38 ms)
18:28:44 SET functions
18:28:44
✓ function 'set_opcode_u8' (22 ms)
18:28:44
✓ function 'set_opcode_u32' (30 ms)
18:28:44
✓ function 'set_opcode_u64' (23 ms)
18:28:44
✓ function 'set_opcode_small_field' (27 ms)
18:28:44
✓ function 'set_opcode_big_field' (17 ms)
18:28:44
✓ function 'set_opcode_really_big_field' (27 ms)
18:28:44 Hashes in noir contracts
18:28:44
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (41 ms)
18:28:44
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (37 ms)
18:28:44
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (33 ms)
18:28:44
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (39 ms)
18:28:44
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (30 ms)
18:28:44
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (48 ms)
18:28:44
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (32 ms)
18:28:44
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (57 ms)
18:28:44
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (45 ms)
18:28:44
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (56 ms)
18:28:44
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (104 ms)
18:28:44
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (56 ms)
18:28:44
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (144 ms)
18:28:44
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (103 ms)
18:28:44
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (452 ms)
18:28:44
✓ Should execute contract function that performs keccak_hash on input of length 10 (62 ms)
18:28:44
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (15 ms)
18:28:44
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (13 ms)
18:28:44
✓ Should execute contract function that performs pedersen_hash on input of length 10 (518 ms)
18:28:44
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (442 ms)
18:28:44 Environment getters
18:28:44
✓ address getter (19 ms)
18:28:44
✓ sender getter (15 ms)
18:28:44
✓ transactionFee getter (16 ms)
18:28:44
✓ chainId getter (28 ms)
18:28:44
✓ version getter (16 ms)
18:28:44
✓ blockNumber getter (16 ms)
18:28:44
✓ timestamp getter (20 ms)
18:28:44
✓ feePerDaGas getter (17 ms)
18:28:44
✓ feePerL2Gas getter (25 ms)
18:28:44 Side effects, world state, nested calls
18:28:44
✓ Should append a new note hash correctly (36 ms)
18:28:44
✓ Should append a new nullifier correctly (28 ms)
18:28:44 Note hash checks
18:28:44
✓ Should return false (and be traced) when noteHash does NOT exist (18 ms)
18:28:44
✓ Should return true (and be traced) when noteHash DOES exist (17 ms)
18:28:44
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (19 ms)
18:28:44 Nullifier checks
18:28:44
✓ Should return false (and be traced) when nullifier does NOT exist (28 ms)
18:28:44
✓ Should return true (and be traced) when nullifier DOES exist (20 ms)
18:28:44 L1ToL2 message checks
18:28:44
✓ Should return false (and be traced) when message does NOT exist (23 ms)
18:28:44
✓ Should return true (and be traced) when message DOES exist (21 ms)
18:28:44
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (18 ms)
18:28:44 Cached nullifiers
18:28:44
✓ Emits a nullifier and checks its existence (19 ms)
18:28:44
✓ Emits same nullifier twice (expect failure) (28 ms)
18:28:44 Public Logs
18:28:44
✓ Emit public logs (should be traced) (45 ms)
18:28:44 Public storage accesses
18:28:44
✓ Should set value in storage (single) (19 ms)
18:28:44
✓ Should read value in storage (single) (23 ms)
18:28:44
✓ Should set and read a value from storage (single) (26 ms)
18:28:44
✓ Should set a value in storage (list) (17 ms)
18:28:44
✓ Should read a value in storage (list) (28 ms)
18:28:44
✓ Should set a value in storage (map) (43 ms)
18:28:44
✓ Should read-add-set a value in storage (map) (32 ms)
18:28:44
✓ Should read value in storage (map) (29 ms)
18:28:44 Contract Instance Retrieval
18:28:44
✓ Can getContractInstance (26 ms)
18:28:44 Nested external calls
18:28:44
✓ Nested call to non-existent contract (34 ms)
18:28:44
✓ Nested call (131 ms)
18:28:44
✓ Nested static call (105 ms)
18:28:44
✓ Nested call with not enough gas (expect failure) (107 ms)
18:28:44
✓ Nested static call which modifies storage (expect failure) (132 ms)
18:28:44
✓ Nested calls rethrow exceptions (138 ms)
18:28:44
✓ Should handle returndatacopy oracle (128 ms)
18:28:44 Side effect trace errors on overflow
18:28:44
✓ Overrun of Public storage writes (15 ms)
18:28:44
✓ Overrun of New note hashes (29 ms)
18:28:44
✓ Overrun of New nullifiers (14 ms)
18:28:44
✓ Overrun of New unencrypted logs (2 ms)
18:28:44
✓ Overrun of New L1 to L2 messages (2 ms)
18:28:44 Side effects including merkle checks
18:28:44 Note hashes
18:28:44
✓ Should append new note hash correctly (283 ms)
18:28:44
✓ Note hash check properly returns exists=false (264 ms)
18:28:44
✓ Note hash check properly returns exists=true (248 ms)
18:28:44 Nullifiers
18:28:44
✓ Should append a new nullifier correctly (231 ms)
18:28:44
✓ Nullifier check properly returns exists=false (267 ms)
18:28:44
✓ Nullifier check properly returns exists=true (235 ms)
18:28:44 Public storage accesses
18:28:44
✓ Should set value in storage (single) (257 ms)
18:28:44
✓ Should read value in storage (single) - never written (292 ms)
18:28:44
✓ Should read value in storage (single) - written before, leaf exists (276 ms)
18:28:44
✓ Should set and read value in storage (single) (295 ms)
18:28:44
18:28:44
Test Suites: 1 passed, 1 total
18:28:44
Tests: 103 passed, 103 total
18:28:44
Snapshots: 0 total
18:28:44
Time: 10.517 s
18:28:44
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
18:28:44
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?