Parent Log:
http://ci.aztec-labs.com/5a5d3e4dc8dea85f
Command: a01b491a8c032117 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/60e60f99f2634ad75a76b6e103858ff9ccd041d5
Env: REF_NAME=gh-readonly-queue/next/pr-15081-58b067708e8ff927bf26b2994203134853a7eb71 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 18:29:37 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15081_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
18:29:41 [18:29:41.387]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
18:29:45 [18:29:45.848]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
18:29:47 [18:29:47.270]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-oRxsXq/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:29:47 [18:29:47.554]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Yz3O2Z/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:29:47 [18:29:47.825]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-X47WqU/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:29:48 [18:29:48.070]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-hAYhuW/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:29:48 [18:29:48.342]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-13pWu9/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:29:48 [18:29:48.621]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-YcR5VS/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:29:48 [18:29:48.907]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-7MvLke/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:29:49 [18:29:49.166]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-mEvqtZ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:29:49 [18:29:49.442]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-KEY4qw/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:29:49 [18:29:49.695]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-ZtDi0j/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:29:49
PASS src/public/avm/avm_simulator.test.ts (
11.173 s)
18:29:49 AVM simulator: injected bytecode
18:29:49
✓ Should execute bytecode that performs basic addition (7 ms)
18:29:49
✓ Should halt if runs out of gas (3 ms)
18:29:49
✓ An exceptional halt should consume all allocated gas (2 ms)
18:29:49 AVM simulator: transpiled Noir contracts
18:29:49
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (6 ms)
18:29:49
✓ addition (27 ms)
18:29:49
✓ addition via dispatch (214 ms)
18:29:49
✓ get_args_hash via dispatch (57 ms)
18:29:49
✓ modulo and u1 (32 ms)
18:29:49
✓ Should handle calldata oracle (29 ms)
18:29:49
✓ Should handle return oracle (23 ms)
18:29:49
✓ Should handle revert oracle (27 ms)
18:29:49
✓ ec_add should not revert (34 ms)
18:29:49
✓ elliptic curve operations (32 ms)
18:29:49
✓ pedersen commitment operations (45 ms)
18:29:49
✓ conditional move operations (22 ms)
18:29:49
✓ Logging (28 ms)
18:29:49
✓ Assertion message (61 ms)
18:29:49
✓ conversions (25 ms)
18:29:49
✓ should be able to execute contracts that only have private functions (3 ms)
18:29:49 msm
18:29:49
✓ low scalars (52 ms)
18:29:49
✓ with a zero (35 ms)
18:29:49
✓ high scalars (161 ms)
18:29:49 U128 addition and overflows
18:29:49
✓ U128 addition (25 ms)
18:29:49
✓ Expect failure on U128::add() overflow (56 ms)
18:29:49 SET functions
18:29:49
✓ function 'set_opcode_u8' (34 ms)
18:29:49
✓ function 'set_opcode_u32' (25 ms)
18:29:49
✓ function 'set_opcode_u64' (21 ms)
18:29:49
✓ function 'set_opcode_small_field' (21 ms)
18:29:49
✓ function 'set_opcode_big_field' (25 ms)
18:29:49
✓ function 'set_opcode_really_big_field' (21 ms)
18:29:49 Hashes in noir contracts
18:29:49
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (35 ms)
18:29:49
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (34 ms)
18:29:49
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (30 ms)
18:29:49
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (46 ms)
18:29:49
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (34 ms)
18:29:49
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (38 ms)
18:29:49
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (34 ms)
18:29:49
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (36 ms)
18:29:49
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (38 ms)
18:29:49
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (34 ms)
18:29:49
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (66 ms)
18:29:49
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (55 ms)
18:29:49
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (126 ms)
18:29:49
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (141 ms)
18:29:49
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (518 ms)
18:29:49
✓ Should execute contract function that performs keccak_hash on input of length 10 (44 ms)
18:29:49
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (11 ms)
18:29:49
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (13 ms)
18:29:49
✓ Should execute contract function that performs pedersen_hash on input of length 10 (587 ms)
18:29:49
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (499 ms)
18:29:49 Environment getters
18:29:49
✓ address getter (21 ms)
18:29:49
✓ sender getter (21 ms)
18:29:49
✓ transactionFee getter (21 ms)
18:29:49
✓ chainId getter (16 ms)
18:29:49
✓ version getter (19 ms)
18:29:49
✓ blockNumber getter (19 ms)
18:29:49
✓ timestamp getter (16 ms)
18:29:49
✓ feePerDaGas getter (21 ms)
18:29:49
✓ feePerL2Gas getter (18 ms)
18:29:49 Side effects, world state, nested calls
18:29:49
✓ Should append a new note hash correctly (32 ms)
18:29:49
✓ Should append a new nullifier correctly (33 ms)
18:29:49 Note hash checks
18:29:49
✓ Should return false (and be traced) when noteHash does NOT exist (20 ms)
18:29:49
✓ Should return true (and be traced) when noteHash DOES exist (18 ms)
18:29:49
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (25 ms)
18:29:49 Nullifier checks
18:29:49
✓ Should return false (and be traced) when nullifier does NOT exist (29 ms)
18:29:49
✓ Should return true (and be traced) when nullifier DOES exist (27 ms)
18:29:49 L1ToL2 message checks
18:29:49
✓ Should return false (and be traced) when message does NOT exist (19 ms)
18:29:49
✓ Should return true (and be traced) when message DOES exist (31 ms)
18:29:49
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (34 ms)
18:29:49 Cached nullifiers
18:29:49
✓ Emits a nullifier and checks its existence (30 ms)
18:29:49
✓ Emits same nullifier twice (expect failure) (32 ms)
18:29:49 Public Logs
18:29:49
✓ Emit public logs (should be traced) (63 ms)
18:29:49 Public storage accesses
18:29:49
✓ Should set value in storage (single) (30 ms)
18:29:49
✓ Should read value in storage (single) (27 ms)
18:29:49
✓ Should set and read a value from storage (single) (29 ms)
18:29:49
✓ Should set a value in storage (list) (30 ms)
18:29:49
✓ Should read a value in storage (list) (16 ms)
18:29:49
✓ Should set a value in storage (map) (35 ms)
18:29:49
✓ Should read-add-set a value in storage (map) (46 ms)
18:29:49
✓ Should read value in storage (map) (31 ms)
18:29:49 Contract Instance Retrieval
18:29:49
✓ Can getContractInstance (33 ms)
18:29:49 Nested external calls
18:29:49
✓ Nested call to non-existent contract (36 ms)
18:29:49
✓ Nested call (242 ms)
18:29:49
✓ Nested static call (202 ms)
18:29:49
✓ Nested call with not enough gas (expect failure) (170 ms)
18:29:49
✓ Nested static call which modifies storage (expect failure) (214 ms)
18:29:49
✓ Nested calls rethrow exceptions (264 ms)
18:29:49
✓ Should handle returndatacopy oracle (262 ms)
18:29:49 Side effect trace errors on overflow
18:29:49
✓ Overrun of Public storage writes (14 ms)
18:29:49
✓ Overrun of New note hashes (17 ms)
18:29:49
✓ Overrun of New nullifiers (10 ms)
18:29:49
✓ Overrun of New unencrypted logs (2 ms)
18:29:49
✓ Overrun of New L1 to L2 messages (2 ms)
18:29:49 Side effects including merkle checks
18:29:49 Note hashes
18:29:49
✓ Should append new note hash correctly (292 ms)
18:29:49
✓ Note hash check properly returns exists=false (272 ms)
18:29:49
✓ Note hash check properly returns exists=true (242 ms)
18:29:49 Nullifiers
18:29:49
✓ Should append a new nullifier correctly (273 ms)
18:29:49
✓ Nullifier check properly returns exists=false (279 ms)
18:29:49
✓ Nullifier check properly returns exists=true (288 ms)
18:29:49 Public storage accesses
18:29:49
✓ Should set value in storage (single) (249 ms)
18:29:49
✓ Should read value in storage (single) - never written (285 ms)
18:29:49
✓ Should read value in storage (single) - written before, leaf exists (249 ms)
18:29:49
✓ Should set and read value in storage (single) (276 ms)
18:29:49
18:29:49
Test Suites: 1 passed, 1 total
18:29:49
Tests: 103 passed, 103 total
18:29:49
Snapshots: 0 total
18:29:49
Time: 11.289 s
18:29:49
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
18:29:49
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?