Parent Log:
http://ci.aztec-labs.com/c03ea752b0af6173
Command: 61f8e44af0fc4001 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/e56baa7f24bac54baf9e2f22f6f33ae6fa8b8c0f
Env: REF_NAME=gh-readonly-queue/next/pr-14891-76ca48a2187e3506bb464eae574e49476c2876ca CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 13 19:21:41 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14891_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
19:21:44 [19:21:44.497]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
19:21:48 [19:21:48.568]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
19:21:49 [19:21:49.995]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Vljjm9/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:21:50 [19:21:50.277]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-X1eFtP/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:21:50 [19:21:50.547]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-M6T3XC/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:21:50 [19:21:50.811]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-y07QP2/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:21:51 [19:21:51.081]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-7TOGXP/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:21:51 [19:21:51.361]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-w0NGWJ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:21:51 [19:21:51.617]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-4qQvis/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:21:51 [19:21:51.888]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-OhZHXA/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:21:52 [19:21:52.188]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-eZfLB6/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:21:52 [19:21:52.479]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-MktnD9/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:21:52
PASS src/public/avm/avm_simulator.test.ts (
10.668 s)
19:21:52 AVM simulator: injected bytecode
19:21:52
✓ Should execute bytecode that performs basic addition (9 ms)
19:21:52
✓ Should halt if runs out of gas (3 ms)
19:21:52
✓ An exceptional halt should consume all allocated gas (2 ms)
19:21:52 AVM simulator: transpiled Noir contracts
19:21:52
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms)
19:21:52
✓ addition (33 ms)
19:21:52
✓ addition via dispatch (238 ms)
19:21:52
✓ get_args_hash via dispatch (40 ms)
19:21:52
✓ modulo and u1 (25 ms)
19:21:52
✓ Should handle calldata oracle (28 ms)
19:21:52
✓ Should handle return oracle (18 ms)
19:21:52
✓ Should handle revert oracle (28 ms)
19:21:52
✓ ec_add should not revert (39 ms)
19:21:52
✓ elliptic curve operations (23 ms)
19:21:52
✓ pedersen commitment operations (45 ms)
19:21:52
✓ conditional move operations (23 ms)
19:21:52
✓ Logging (26 ms)
19:21:52
✓ Assertion message (38 ms)
19:21:52
✓ conversions (33 ms)
19:21:52
✓ should be able to execute contracts that only have private functions (1 ms)
19:21:52 msm
19:21:52
✓ low scalars (43 ms)
19:21:52
✓ with a zero (31 ms)
19:21:52
✓ high scalars (147 ms)
19:21:52 U128 addition and overflows
19:21:52
✓ U128 addition (14 ms)
19:21:52
✓ Expect failure on U128::add() overflow (28 ms)
19:21:52 SET functions
19:21:52
✓ function 'set_opcode_u8' (13 ms)
19:21:52
✓ function 'set_opcode_u32' (13 ms)
19:21:52
✓ function 'set_opcode_u64' (15 ms)
19:21:52
✓ function 'set_opcode_small_field' (16 ms)
19:21:52
✓ function 'set_opcode_big_field' (22 ms)
19:21:52
✓ function 'set_opcode_really_big_field' (16 ms)
19:21:52 Hashes in noir contracts
19:21:52
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (33 ms)
19:21:52
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (44 ms)
19:21:52
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (24 ms)
19:21:52
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (29 ms)
19:21:52
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (38 ms)
19:21:52
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (43 ms)
19:21:52
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (31 ms)
19:21:52
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (46 ms)
19:21:52
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (38 ms)
19:21:52
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (48 ms)
19:21:52
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (56 ms)
19:21:52
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (75 ms)
19:21:52
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (124 ms)
19:21:52
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (134 ms)
19:21:52
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (430 ms)
19:21:52
✓ Should execute contract function that performs keccak_hash on input of length 10 (37 ms)
19:21:52
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (9 ms)
19:21:52
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (48 ms)
19:21:52
✓ Should execute contract function that performs pedersen_hash on input of length 10 (519 ms)
19:21:52
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (437 ms)
19:21:52 Environment getters
19:21:52
✓ address getter (25 ms)
19:21:52
✓ sender getter (16 ms)
19:21:52
✓ transactionFee getter (20 ms)
19:21:52
✓ chainId getter (22 ms)
19:21:52
✓ version getter (31 ms)
19:21:52
✓ blockNumber getter (23 ms)
19:21:52
✓ timestamp getter (16 ms)
19:21:52
✓ feePerDaGas getter (20 ms)
19:21:52
✓ feePerL2Gas getter (19 ms)
19:21:52 Side effects, world state, nested calls
19:21:52
✓ Should append a new note hash correctly (37 ms)
19:21:52
✓ Should append a new nullifier correctly (22 ms)
19:21:52 Note hash checks
19:21:52
✓ Should return false (and be traced) when noteHash does NOT exist (17 ms)
19:21:52
✓ Should return true (and be traced) when noteHash DOES exist (15 ms)
19:21:52
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (22 ms)
19:21:52 Nullifier checks
19:21:52
✓ Should return false (and be traced) when nullifier does NOT exist (16 ms)
19:21:52
✓ Should return true (and be traced) when nullifier DOES exist (32 ms)
19:21:52 L1ToL2 message checks
19:21:52
✓ Should return false (and be traced) when message does NOT exist (17 ms)
19:21:52
✓ Should return true (and be traced) when message DOES exist (12 ms)
19:21:52
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (21 ms)
19:21:52 Cached nullifiers
19:21:52
✓ Emits a nullifier and checks its existence (25 ms)
19:21:52
✓ Emits same nullifier twice (expect failure) (23 ms)
19:21:52 Public Logs
19:21:52
✓ Emit public logs (should be traced) (60 ms)
19:21:52 Public storage accesses
19:21:52
✓ Should set value in storage (single) (23 ms)
19:21:52
✓ Should read value in storage (single) (25 ms)
19:21:52
✓ Should set and read a value from storage (single) (30 ms)
19:21:52
✓ Should set a value in storage (list) (22 ms)
19:21:52
✓ Should read a value in storage (list) (25 ms)
19:21:52
✓ Should set a value in storage (map) (38 ms)
19:21:52
✓ Should read-add-set a value in storage (map) (39 ms)
19:21:52
✓ Should read value in storage (map) (25 ms)
19:21:52 Contract Instance Retrieval
19:21:52
✓ Can getContractInstance (28 ms)
19:21:52 Nested external calls
19:21:52
✓ Nested call to non-existent contract (34 ms)
19:21:52
✓ Nested call (201 ms)
19:21:52
✓ Nested static call (202 ms)
19:21:52
✓ Nested call with not enough gas (expect failure) (183 ms)
19:21:52
✓ Nested static call which modifies storage (expect failure) (243 ms)
19:21:52
✓ Nested calls rethrow exceptions (289 ms)
19:21:52
✓ Should handle returndatacopy oracle (231 ms)
19:21:52 Side effect trace errors on overflow
19:21:52
✓ Overrun of Public storage writes (20 ms)
19:21:52
✓ Overrun of New note hashes (15 ms)
19:21:52
✓ Overrun of New nullifiers (9 ms)
19:21:52
✓ Overrun of New unencrypted logs (2 ms)
19:21:52
✓ Overrun of New L1 to L2 messages (2 ms)
19:21:52 Side effects including merkle checks
19:21:52 Note hashes
19:21:52
✓ Should append new note hash correctly (292 ms)
19:21:52
✓ Note hash check properly returns exists=false (250 ms)
19:21:52
✓ Note hash check properly returns exists=true (284 ms)
19:21:52 Nullifiers
19:21:52
✓ Should append a new nullifier correctly (268 ms)
19:21:52
✓ Nullifier check properly returns exists=false (277 ms)
19:21:52
✓ Nullifier check properly returns exists=true (260 ms)
19:21:52 Public storage accesses
19:21:52
✓ Should set value in storage (single) (269 ms)
19:21:52
✓ Should read value in storage (single) - never written (299 ms)
19:21:52
✓ Should read value in storage (single) - written before, leaf exists (289 ms)
19:21:52
✓ Should set and read value in storage (single) (290 ms)
19:21:52
19:21:52
Test Suites: 1 passed, 1 total
19:21:52
Tests: 103 passed, 103 total
19:21:52
Snapshots: 0 total
19:21:52
Time: 10.767 s
19:21:52
Ran all test suites matching /simulator\/src\/public\/avm\/avm_simulator.test.ts/i
.
19:21:52
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?