Parent Log:
http://ci.aztec-labs.com/0ea4460de0036ae9
Command: 519e29bba0e33530 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/2469b5f1633350f6be15733c04242af1cdc98227
Env: REF_NAME=gh-readonly-queue/next/pr-15042-ee3655e025191bc85c5b3d3122eeedb44e38ffb2 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 19:44:41 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15042_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:44:45 [19:44:45.547]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
19:44:49 [19:44:49.797]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
19:44:51 [19:44:51.063]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-PoTp1i/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:44:51 [19:44:51.329]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-XUz7jx/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:44:51 [19:44:51.586]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-cinivB/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:44:51 [19:44:51.849]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-pZpZS8/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:44:52 [19:44:52.117]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-7IonCE/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:44:52 [19:44:52.412]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-9esYgx/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:44:52 [19:44:52.683]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-bRKTiS/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:44:52 [19:44:52.931]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-0L64S0/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:44:53 [19:44:53.194]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-O4j1b5/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:44:53 [19:44:53.477]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-lfrKsH/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:44:53
PASS src/public/avm/avm_simulator.test.ts (
11.095 s)
19:44:53 AVM simulator: injected bytecode
19:44:53
✓ Should execute bytecode that performs basic addition (9 ms)
19:44:53
✓ Should halt if runs out of gas (4 ms)
19:44:53
✓ An exceptional halt should consume all allocated gas (2 ms)
19:44:53 AVM simulator: transpiled Noir contracts
19:44:53
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms)
19:44:53
✓ addition (41 ms)
19:44:53
✓ addition via dispatch (249 ms)
19:44:53
✓ get_args_hash via dispatch (65 ms)
19:44:53
✓ modulo and u1 (21 ms)
19:44:53
✓ Should handle calldata oracle (31 ms)
19:44:53
✓ Should handle return oracle (40 ms)
19:44:53
✓ Should handle revert oracle (20 ms)
19:44:53
✓ ec_add should not revert (28 ms)
19:44:53
✓ elliptic curve operations (23 ms)
19:44:53
✓ pedersen commitment operations (38 ms)
19:44:53
✓ conditional move operations (24 ms)
19:44:53
✓ Logging (32 ms)
19:44:53
✓ Assertion message (42 ms)
19:44:53
✓ conversions (22 ms)
19:44:53
✓ should be able to execute contracts that only have private functions (1 ms)
19:44:53 msm
19:44:53
✓ low scalars (44 ms)
19:44:53
✓ with a zero (25 ms)
19:44:53
✓ high scalars (138 ms)
19:44:53 U128 addition and overflows
19:44:53
✓ U128 addition (27 ms)
19:44:53
✓ Expect failure on U128::add() overflow (57 ms)
19:44:53 SET functions
19:44:53
✓ function 'set_opcode_u8' (22 ms)
19:44:53
✓ function 'set_opcode_u32' (28 ms)
19:44:53
✓ function 'set_opcode_u64' (28 ms)
19:44:53
✓ function 'set_opcode_small_field' (29 ms)
19:44:53
✓ function 'set_opcode_big_field' (28 ms)
19:44:53
✓ function 'set_opcode_really_big_field' (28 ms)
19:44:53 Hashes in noir contracts
19:44:53
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (44 ms)
19:44:53
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (31 ms)
19:44:53
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (32 ms)
19:44:53
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (32 ms)
19:44:53
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (27 ms)
19:44:53
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (32 ms)
19:44:53
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (44 ms)
19:44:53
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (45 ms)
19:44:53
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (52 ms)
19:44:53
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (44 ms)
19:44:53
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (72 ms)
19:44:53
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (86 ms)
19:44:53
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (110 ms)
19:44:53
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (120 ms)
19:44:53
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (462 ms)
19:44:53
✓ Should execute contract function that performs keccak_hash on input of length 10 (42 ms)
19:44:53
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (10 ms)
19:44:53
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (22 ms)
19:44:53
✓ Should execute contract function that performs pedersen_hash on input of length 10 (503 ms)
19:44:53
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (546 ms)
19:44:53 Environment getters
19:44:53
✓ address getter (30 ms)
19:44:53
✓ sender getter (28 ms)
19:44:53
✓ transactionFee getter (21 ms)
19:44:53
✓ chainId getter (24 ms)
19:44:53
✓ version getter (20 ms)
19:44:53
✓ blockNumber getter (16 ms)
19:44:53
✓ timestamp getter (18 ms)
19:44:53
✓ feePerDaGas getter (19 ms)
19:44:53
✓ feePerL2Gas getter (16 ms)
19:44:53 Side effects, world state, nested calls
19:44:53
✓ Should append a new note hash correctly (25 ms)
19:44:53
✓ Should append a new nullifier correctly (18 ms)
19:44:53 Note hash checks
19:44:53
✓ Should return false (and be traced) when noteHash does NOT exist (23 ms)
19:44:53
✓ Should return true (and be traced) when noteHash DOES exist (22 ms)
19:44:53
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (25 ms)
19:44:53 Nullifier checks
19:44:53
✓ Should return false (and be traced) when nullifier does NOT exist (19 ms)
19:44:53
✓ Should return true (and be traced) when nullifier DOES exist (25 ms)
19:44:53 L1ToL2 message checks
19:44:53
✓ Should return false (and be traced) when message does NOT exist (23 ms)
19:44:53
✓ Should return true (and be traced) when message DOES exist (18 ms)
19:44:53
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (18 ms)
19:44:53 Cached nullifiers
19:44:53
✓ Emits a nullifier and checks its existence (21 ms)
19:44:53
✓ Emits same nullifier twice (expect failure) (26 ms)
19:44:53 Public Logs
19:44:53
✓ Emit public logs (should be traced) (39 ms)
19:44:53 Public storage accesses
19:44:53
✓ Should set value in storage (single) (21 ms)
19:44:53
✓ Should read value in storage (single) (17 ms)
19:44:53
✓ Should set and read a value from storage (single) (22 ms)
19:44:53
✓ Should set a value in storage (list) (21 ms)
19:44:53
✓ Should read a value in storage (list) (20 ms)
19:44:53
✓ Should set a value in storage (map) (28 ms)
19:44:53
✓ Should read-add-set a value in storage (map) (33 ms)
19:44:53
✓ Should read value in storage (map) (22 ms)
19:44:53 Contract Instance Retrieval
19:44:53
✓ Can getContractInstance (27 ms)
19:44:53 Nested external calls
19:44:53
✓ Nested call to non-existent contract (26 ms)
19:44:53
✓ Nested call (209 ms)
19:44:53
✓ Nested static call (192 ms)
19:44:53
✓ Nested call with not enough gas (expect failure) (164 ms)
19:44:53
✓ Nested static call which modifies storage (expect failure) (198 ms)
19:44:53
✓ Nested calls rethrow exceptions (244 ms)
19:44:53
✓ Should handle returndatacopy oracle (201 ms)
19:44:53 Side effect trace errors on overflow
19:44:53
✓ Overrun of Public storage writes (8 ms)
19:44:53
✓ Overrun of New note hashes (15 ms)
19:44:53
✓ Overrun of New nullifiers (11 ms)
19:44:53
✓ Overrun of New unencrypted logs (1 ms)
19:44:53
✓ Overrun of New L1 to L2 messages (2 ms)
19:44:53 Side effects including merkle checks
19:44:53 Note hashes
19:44:53
✓ Should append new note hash correctly (278 ms)
19:44:53
✓ Note hash check properly returns exists=false (255 ms)
19:44:53
✓ Note hash check properly returns exists=true (263 ms)
19:44:53 Nullifiers
19:44:53
✓ Should append a new nullifier correctly (266 ms)
19:44:53
✓ Nullifier check properly returns exists=false (295 ms)
19:44:53
✓ Nullifier check properly returns exists=true (274 ms)
19:44:53 Public storage accesses
19:44:53
✓ Should set value in storage (single) (248 ms)
19:44:53
✓ Should read value in storage (single) - never written (261 ms)
19:44:53
✓ Should read value in storage (single) - written before, leaf exists (278 ms)
19:44:53
✓ Should set and read value in storage (single) (295 ms)
19:44:53
19:44:53
Test Suites: 1 passed, 1 total
19:44:53
Tests: 103 passed, 103 total
19:44:53
Snapshots: 0 total
19:44:53
Time: 11.204 s
19:44:53
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
19:44:53
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?