Parent Log:
http://ci.aztec-labs.com/6cc9fa695c7cfc03
Command: 4ef547fa5e299294 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/d4893155ff105399557b55c16450c39921c70d11
Env: REF_NAME=gh-readonly-queue/next/pr-15218-7edf16da6c056f9499e2dfd9c71fb9b7580f9bfc CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 10:28:20 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15218_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
10:28:23 [10:28:23.737]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
10:28:28 [10:28:28.221]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
10:28:29 [10:28:28.999]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-cDH9er/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:28:29 [10:28:29.311]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-HmCib7/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:28:29 [10:28:29.591]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-NmsXUC/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:28:29 [10:28:29.900]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-7k4CKW/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:28:30 [10:28:30.164]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-kNXaZ3/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:28:30 [10:28:30.414]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-cEJUYv/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:28:30 [10:28:30.673]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-J891Ai/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:28:30 [10:28:30.971]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-c3PMLV/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:28:31 [10:28:31.238]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-KZ5bqQ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:28:31 [10:28:31.521]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Fqh5Pk/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:28:31
PASS src/public/avm/avm_simulator.test.ts (
10.61 s)
10:28:31 AVM simulator: injected bytecode
10:28:31
✓ Should execute bytecode that performs basic addition (7 ms)
10:28:31
✓ Should halt if runs out of gas (3 ms)
10:28:31
✓ An exceptional halt should consume all allocated gas (2 ms)
10:28:31 AVM simulator: transpiled Noir contracts
10:28:31
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (5 ms)
10:28:31
✓ addition (22 ms)
10:28:31
✓ addition via dispatch (251 ms)
10:28:31
✓ get_args_hash via dispatch (48 ms)
10:28:31
✓ modulo and u1 (25 ms)
10:28:31
✓ Should handle calldata oracle (29 ms)
10:28:31
✓ Should handle return oracle (29 ms)
10:28:31
✓ Should handle revert oracle (19 ms)
10:28:31
✓ ec_add should not revert (30 ms)
10:28:31
✓ elliptic curve operations (22 ms)
10:28:31
✓ pedersen commitment operations (36 ms)
10:28:31
✓ conditional move operations (30 ms)
10:28:31
✓ Logging (20 ms)
10:28:31
✓ Assertion message (51 ms)
10:28:31
✓ conversions (30 ms)
10:28:31
✓ should be able to execute contracts that only have private functions (2 ms)
10:28:31 msm
10:28:31
✓ low scalars (42 ms)
10:28:31
✓ with a zero (37 ms)
10:28:31
✓ high scalars (123 ms)
10:28:31 U128 addition and overflows
10:28:31
✓ U128 addition (30 ms)
10:28:31
✓ Expect failure on U128::add() overflow (62 ms)
10:28:31 SET functions
10:28:31
✓ function 'set_opcode_u8' (20 ms)
10:28:31
✓ function 'set_opcode_u32' (20 ms)
10:28:31
✓ function 'set_opcode_u64' (18 ms)
10:28:31
✓ function 'set_opcode_small_field' (20 ms)
10:28:31
✓ function 'set_opcode_big_field' (35 ms)
10:28:31
✓ function 'set_opcode_really_big_field' (31 ms)
10:28:31 Hashes in noir contracts
10:28:31
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (29 ms)
10:28:31
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (40 ms)
10:28:31
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (41 ms)
10:28:31
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (40 ms)
10:28:31
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (40 ms)
10:28:31
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (42 ms)
10:28:31
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (61 ms)
10:28:31
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (54 ms)
10:28:31
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (52 ms)
10:28:31
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (41 ms)
10:28:31
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (86 ms)
10:28:31
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (86 ms)
10:28:31
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (142 ms)
10:28:31
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (170 ms)
10:28:31
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (505 ms)
10:28:31
✓ Should execute contract function that performs keccak_hash on input of length 10 (48 ms)
10:28:31
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (19 ms)
10:28:31
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (13 ms)
10:28:31
✓ Should execute contract function that performs pedersen_hash on input of length 10 (499 ms)
10:28:31
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (451 ms)
10:28:31 Environment getters
10:28:31
✓ address getter (30 ms)
10:28:31
✓ sender getter (34 ms)
10:28:31
✓ transactionFee getter (29 ms)
10:28:31
✓ chainId getter (35 ms)
10:28:31
✓ version getter (35 ms)
10:28:31
✓ blockNumber getter (29 ms)
10:28:31
✓ timestamp getter (33 ms)
10:28:31
✓ feePerDaGas getter (38 ms)
10:28:31
✓ feePerL2Gas getter (29 ms)
10:28:31 Side effects, world state, nested calls
10:28:31
✓ Should append a new note hash correctly (25 ms)
10:28:31
✓ Should append a new nullifier correctly (27 ms)
10:28:31 Note hash checks
10:28:31
✓ Should return false (and be traced) when noteHash does NOT exist (33 ms)
10:28:31
✓ Should return true (and be traced) when noteHash DOES exist (23 ms)
10:28:31
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (22 ms)
10:28:31 Nullifier checks
10:28:31
✓ Should return false (and be traced) when nullifier does NOT exist (33 ms)
10:28:31
✓ Should return true (and be traced) when nullifier DOES exist (19 ms)
10:28:31 L1ToL2 message checks
10:28:31
✓ Should return false (and be traced) when message does NOT exist (30 ms)
10:28:31
✓ Should return true (and be traced) when message DOES exist (39 ms)
10:28:31
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (17 ms)
10:28:31 Cached nullifiers
10:28:31
✓ Emits a nullifier and checks its existence (24 ms)
10:28:31
✓ Emits same nullifier twice (expect failure) (25 ms)
10:28:31 Public Logs
10:28:31
✓ Emit public logs (should be traced) (41 ms)
10:28:31 Public storage accesses
10:28:31
✓ Should set value in storage (single) (21 ms)
10:28:31
✓ Should read value in storage (single) (29 ms)
10:28:31
✓ Should set and read a value from storage (single) (18 ms)
10:28:31
✓ Should set a value in storage (list) (17 ms)
10:28:31
✓ Should read a value in storage (list) (27 ms)
10:28:31
✓ Should set a value in storage (map) (38 ms)
10:28:31
✓ Should read-add-set a value in storage (map) (29 ms)
10:28:31
✓ Should read value in storage (map) (19 ms)
10:28:31 Contract Instance Retrieval
10:28:31
✓ Can getContractInstance (23 ms)
10:28:31 Nested external calls
10:28:31
✓ Nested call to non-existent contract (37 ms)
10:28:31
✓ Nested call (117 ms)
10:28:31
✓ Nested static call (107 ms)
10:28:31
✓ Nested call with not enough gas (expect failure) (104 ms)
10:28:31
✓ Nested static call which modifies storage (expect failure) (121 ms)
10:28:31
✓ Nested calls rethrow exceptions (137 ms)
10:28:31
✓ Should handle returndatacopy oracle (129 ms)
10:28:31 Side effect trace errors on overflow
10:28:31
✓ Overrun of Public storage writes (8 ms)
10:28:31
✓ Overrun of New note hashes (14 ms)
10:28:31
✓ Overrun of New nullifiers (9 ms)
10:28:31
✓ Overrun of New unencrypted logs (1 ms)
10:28:31
✓ Overrun of New L1 to L2 messages (2 ms)
10:28:31 Side effects including merkle checks
10:28:31 Note hashes
10:28:31
✓ Should append new note hash correctly (327 ms)
10:28:31
✓ Note hash check properly returns exists=false (273 ms)
10:28:31
✓ Note hash check properly returns exists=true (315 ms)
10:28:31 Nullifiers
10:28:31
✓ Should append a new nullifier correctly (262 ms)
10:28:31
✓ Nullifier check properly returns exists=false (248 ms)
10:28:31
✓ Nullifier check properly returns exists=true (258 ms)
10:28:31 Public storage accesses
10:28:31
✓ Should set value in storage (single) (299 ms)
10:28:31
✓ Should read value in storage (single) - never written (265 ms)
10:28:31
✓ Should read value in storage (single) - written before, leaf exists (277 ms)
10:28:31
✓ Should set and read value in storage (single) (272 ms)
10:28:31
10:28:31
Test Suites: 1 passed, 1 total
10:28:31
Tests: 103 passed, 103 total
10:28:31
Snapshots: 0 total
10:28:31
Time: 10.702 s
10:28:31
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
10:28:31
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?