Parent Log:
http://ci.aztec-labs.com/8467400d6ac67b43
Command: 1a84647d900d18a3 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/484694b997ac4ff62ed6d008cc3f12e0c60720ff
Env: REF_NAME=gh-readonly-queue/next/pr-15077-3c1b9d57eadcc8fb03a7ed42610cf0a1ae4a32eb CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 18 07:43:27 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15077_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
07:43:30 [07:43:30.961]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
07:43:35 [07:43:35.234]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
07:43:36 [07:43:36.051]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-mFwxa8/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
07:43:36 [07:43:36.327]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-2DNUAd/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
07:43:36 [07:43:36.583]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-YLIOf2/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
07:43:36 [07:43:36.841]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-8gLevU/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
07:43:37 [07:43:37.114]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-etogEr/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
07:43:37 [07:43:37.362]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-xtvft7/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
07:43:37 [07:43:37.612]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-QrhW4u/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
07:43:37 [07:43:37.844]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-IZ1W72/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
07:43:38 [07:43:38.131]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-R7fXC3/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
07:43:38 [07:43:38.392]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-ekBB7S/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
07:43:38
PASS src/public/avm/avm_simulator.test.ts (
10.487 s)
07:43:38 AVM simulator: injected bytecode
07:43:38
✓ Should execute bytecode that performs basic addition (10 ms)
07:43:38
✓ Should halt if runs out of gas (4 ms)
07:43:38
✓ An exceptional halt should consume all allocated gas (2 ms)
07:43:38 AVM simulator: transpiled Noir contracts
07:43:38
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (8 ms)
07:43:38
✓ addition (35 ms)
07:43:38
✓ addition via dispatch (245 ms)
07:43:38
✓ get_args_hash via dispatch (41 ms)
07:43:38
✓ modulo and u1 (19 ms)
07:43:38
✓ Should handle calldata oracle (29 ms)
07:43:38
✓ Should handle return oracle (24 ms)
07:43:38
✓ Should handle revert oracle (26 ms)
07:43:38
✓ ec_add should not revert (32 ms)
07:43:38
✓ elliptic curve operations (32 ms)
07:43:38
✓ pedersen commitment operations (50 ms)
07:43:38
✓ conditional move operations (22 ms)
07:43:38
✓ Logging (22 ms)
07:43:38
✓ Assertion message (48 ms)
07:43:38
✓ conversions (18 ms)
07:43:38
✓ should be able to execute contracts that only have private functions (1 ms)
07:43:38 msm
07:43:38
✓ low scalars (58 ms)
07:43:38
✓ with a zero (39 ms)
07:43:38
✓ high scalars (137 ms)
07:43:38 U128 addition and overflows
07:43:38
✓ U128 addition (17 ms)
07:43:38
✓ Expect failure on U128::add() overflow (58 ms)
07:43:38 SET functions
07:43:38
✓ function 'set_opcode_u8' (23 ms)
07:43:38
✓ function 'set_opcode_u32' (24 ms)
07:43:38
✓ function 'set_opcode_u64' (27 ms)
07:43:38
✓ function 'set_opcode_small_field' (26 ms)
07:43:38
✓ function 'set_opcode_big_field' (31 ms)
07:43:38
✓ function 'set_opcode_really_big_field' (27 ms)
07:43:38 Hashes in noir contracts
07:43:38
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (49 ms)
07:43:38
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (36 ms)
07:43:38
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (39 ms)
07:43:38
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (39 ms)
07:43:38
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (28 ms)
07:43:38
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (40 ms)
07:43:38
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (34 ms)
07:43:38
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (40 ms)
07:43:38
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (48 ms)
07:43:38
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (55 ms)
07:43:38
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (81 ms)
07:43:38
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (74 ms)
07:43:38
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (117 ms)
07:43:38
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (130 ms)
07:43:38
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (480 ms)
07:43:38
✓ Should execute contract function that performs keccak_hash on input of length 10 (59 ms)
07:43:38
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (18 ms)
07:43:38
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (15 ms)
07:43:38
✓ Should execute contract function that performs pedersen_hash on input of length 10 (507 ms)
07:43:38
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (464 ms)
07:43:38 Environment getters
07:43:38
✓ address getter (18 ms)
07:43:38
✓ sender getter (32 ms)
07:43:38
✓ transactionFee getter (18 ms)
07:43:38
✓ chainId getter (17 ms)
07:43:38
✓ version getter (21 ms)
07:43:38
✓ blockNumber getter (21 ms)
07:43:38
✓ timestamp getter (22 ms)
07:43:38
✓ feePerDaGas getter (28 ms)
07:43:38
✓ feePerL2Gas getter (19 ms)
07:43:38 Side effects, world state, nested calls
07:43:38
✓ Should append a new note hash correctly (21 ms)
07:43:38
✓ Should append a new nullifier correctly (22 ms)
07:43:38 Note hash checks
07:43:38
✓ Should return false (and be traced) when noteHash does NOT exist (25 ms)
07:43:38
✓ Should return true (and be traced) when noteHash DOES exist (24 ms)
07:43:38
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (20 ms)
07:43:38 Nullifier checks
07:43:38
✓ Should return false (and be traced) when nullifier does NOT exist (22 ms)
07:43:38
✓ Should return true (and be traced) when nullifier DOES exist (20 ms)
07:43:38 L1ToL2 message checks
07:43:38
✓ Should return false (and be traced) when message does NOT exist (25 ms)
07:43:38
✓ Should return true (and be traced) when message DOES exist (22 ms)
07:43:38
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (22 ms)
07:43:38 Cached nullifiers
07:43:38
✓ Emits a nullifier and checks its existence (19 ms)
07:43:38
✓ Emits same nullifier twice (expect failure) (19 ms)
07:43:38 Public Logs
07:43:38
✓ Emit public logs (should be traced) (44 ms)
07:43:38 Public storage accesses
07:43:38
✓ Should set value in storage (single) (21 ms)
07:43:38
✓ Should read value in storage (single) (20 ms)
07:43:38
✓ Should set and read a value from storage (single) (19 ms)
07:43:38
✓ Should set a value in storage (list) (25 ms)
07:43:38
✓ Should read a value in storage (list) (24 ms)
07:43:38
✓ Should set a value in storage (map) (32 ms)
07:43:38
✓ Should read-add-set a value in storage (map) (35 ms)
07:43:38
✓ Should read value in storage (map) (26 ms)
07:43:38 Contract Instance Retrieval
07:43:38
✓ Can getContractInstance (34 ms)
07:43:38 Nested external calls
07:43:38
✓ Nested call to non-existent contract (33 ms)
07:43:38
✓ Nested call (147 ms)
07:43:38
✓ Nested static call (157 ms)
07:43:38
✓ Nested call with not enough gas (expect failure) (110 ms)
07:43:38
✓ Nested static call which modifies storage (expect failure) (108 ms)
07:43:38
✓ Nested calls rethrow exceptions (126 ms)
07:43:38
✓ Should handle returndatacopy oracle (111 ms)
07:43:38 Side effect trace errors on overflow
07:43:38
✓ Overrun of Public storage writes (10 ms)
07:43:38
✓ Overrun of New note hashes (16 ms)
07:43:38
✓ Overrun of New nullifiers (12 ms)
07:43:38
✓ Overrun of New unencrypted logs (2 ms)
07:43:38
✓ Overrun of New L1 to L2 messages (2 ms)
07:43:38 Side effects including merkle checks
07:43:38 Note hashes
07:43:38
✓ Should append new note hash correctly (277 ms)
07:43:38
✓ Note hash check properly returns exists=false (256 ms)
07:43:38
✓ Note hash check properly returns exists=true (257 ms)
07:43:38 Nullifiers
07:43:38
✓ Should append a new nullifier correctly (275 ms)
07:43:38
✓ Nullifier check properly returns exists=false (248 ms)
07:43:38
✓ Nullifier check properly returns exists=true (249 ms)
07:43:38 Public storage accesses
07:43:38
✓ Should set value in storage (single) (231 ms)
07:43:38
✓ Should read value in storage (single) - never written (289 ms)
07:43:38
✓ Should read value in storage (single) - written before, leaf exists (260 ms)
07:43:38
✓ Should set and read value in storage (single) (260 ms)
07:43:38
07:43:38
Test Suites: 1 passed, 1 total
07:43:38
Tests: 103 passed, 103 total
07:43:38
Snapshots: 0 total
07:43:38
Time: 10.612 s
07:43:38
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
07:43:38
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?