Parent Log:
http://ci.aztec-labs.com/4d411729895c71ab
Command: 9c87e3b98c85c9a9 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/7763eef5eb7f045b9184a0a4591b394296eb3aa8
Env: REF_NAME=gh-readonly-queue/next/pr-14770-5ca43853c40a2b8bfbc2148d5fdd46c6f82a74eb CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 15:06:51 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14770_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
15:06:55 [15:06:55.300]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
15:06:59 [15:06:59.532]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
15:07:00 [15:07:00.928]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-oFOYdN/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:07:01 [15:07:01.198]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-KFxlBQ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:07:01 [15:07:01.444]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-7F4lgX/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:07:01 [15:07:01.693]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-RJSVYY/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:07:01 [15:07:01.963]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-gpT3Xs/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:07:02 [15:07:02.229]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-0oPWji/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:07:02 [15:07:02.491]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-CnbbIU/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:07:02 [15:07:02.763]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-4mAO4i/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:07:03 [15:07:03.021]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-AmA4kp/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:07:03 [15:07:03.333]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-rYseYS/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:07:03
PASS src/public/avm/avm_simulator.test.ts (
10.891 s)
15:07:03 AVM simulator: injected bytecode
15:07:03
✓ Should execute bytecode that performs basic addition (6 ms)
15:07:03
✓ Should halt if runs out of gas (2 ms)
15:07:03
✓ An exceptional halt should consume all allocated gas (1 ms)
15:07:03 AVM simulator: transpiled Noir contracts
15:07:03
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (6 ms)
15:07:03
✓ addition (41 ms)
15:07:03
✓ addition via dispatch (266 ms)
15:07:03
✓ get_args_hash via dispatch (50 ms)
15:07:03
✓ modulo and u1 (22 ms)
15:07:03
✓ Should handle calldata oracle (25 ms)
15:07:03
✓ Should handle return oracle (25 ms)
15:07:03
✓ Should handle revert oracle (25 ms)
15:07:03
✓ ec_add should not revert (30 ms)
15:07:03
✓ elliptic curve operations (28 ms)
15:07:03
✓ pedersen commitment operations (51 ms)
15:07:03
✓ conditional move operations (22 ms)
15:07:03
✓ Logging (23 ms)
15:07:03
✓ Assertion message (54 ms)
15:07:03
✓ conversions (31 ms)
15:07:03
✓ should be able to execute contracts that only have private functions (1 ms)
15:07:03 msm
15:07:03
✓ low scalars (37 ms)
15:07:03
✓ with a zero (33 ms)
15:07:03
✓ high scalars (144 ms)
15:07:03 U128 addition and overflows
15:07:03
✓ U128 addition (23 ms)
15:07:03
✓ Expect failure on U128::add() overflow (47 ms)
15:07:03 SET functions
15:07:03
✓ function 'set_opcode_u8' (33 ms)
15:07:03
✓ function 'set_opcode_u32' (30 ms)
15:07:03
✓ function 'set_opcode_u64' (29 ms)
15:07:03
✓ function 'set_opcode_small_field' (31 ms)
15:07:03
✓ function 'set_opcode_big_field' (18 ms)
15:07:03
✓ function 'set_opcode_really_big_field' (24 ms)
15:07:03 Hashes in noir contracts
15:07:03
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (35 ms)
15:07:03
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (28 ms)
15:07:03
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (33 ms)
15:07:03
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (27 ms)
15:07:03
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (36 ms)
15:07:03
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (39 ms)
15:07:03
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (45 ms)
15:07:03
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (41 ms)
15:07:03
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (44 ms)
15:07:03
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (39 ms)
15:07:03
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (69 ms)
15:07:03
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (63 ms)
15:07:03
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (116 ms)
15:07:03
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (125 ms)
15:07:03
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (473 ms)
15:07:03
✓ Should execute contract function that performs keccak_hash on input of length 10 (38 ms)
15:07:03
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (11 ms)
15:07:03
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (18 ms)
15:07:03
✓ Should execute contract function that performs pedersen_hash on input of length 10 (477 ms)
15:07:03
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (468 ms)
15:07:03 Environment getters
15:07:03
✓ address getter (23 ms)
15:07:03
✓ sender getter (19 ms)
15:07:03
✓ transactionFee getter (16 ms)
15:07:03
✓ chainId getter (17 ms)
15:07:03
✓ version getter (27 ms)
15:07:03
✓ blockNumber getter (26 ms)
15:07:03
✓ timestamp getter (21 ms)
15:07:03
✓ feePerDaGas getter (20 ms)
15:07:03
✓ feePerL2Gas getter (26 ms)
15:07:03 Side effects, world state, nested calls
15:07:03
✓ Should append a new note hash correctly (27 ms)
15:07:03
✓ Should append a new nullifier correctly (26 ms)
15:07:03 Note hash checks
15:07:03
✓ Should return false (and be traced) when noteHash does NOT exist (28 ms)
15:07:03
✓ Should return true (and be traced) when noteHash DOES exist (21 ms)
15:07:03
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (27 ms)
15:07:03 Nullifier checks
15:07:03
✓ Should return false (and be traced) when nullifier does NOT exist (24 ms)
15:07:03
✓ Should return true (and be traced) when nullifier DOES exist (24 ms)
15:07:03 L1ToL2 message checks
15:07:03
✓ Should return false (and be traced) when message does NOT exist (21 ms)
15:07:03
✓ Should return true (and be traced) when message DOES exist (25 ms)
15:07:03
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (21 ms)
15:07:03 Cached nullifiers
15:07:03
✓ Emits a nullifier and checks its existence (23 ms)
15:07:03
✓ Emits same nullifier twice (expect failure) (21 ms)
15:07:03 Public Logs
15:07:03
✓ Emit public logs (should be traced) (46 ms)
15:07:03 Public storage accesses
15:07:03
✓ Should set value in storage (single) (32 ms)
15:07:03
✓ Should read value in storage (single) (28 ms)
15:07:03
✓ Should set and read a value from storage (single) (24 ms)
15:07:03
✓ Should set a value in storage (list) (29 ms)
15:07:03
✓ Should read a value in storage (list) (25 ms)
15:07:03
✓ Should set a value in storage (map) (36 ms)
15:07:03
✓ Should read-add-set a value in storage (map) (46 ms)
15:07:03
✓ Should read value in storage (map) (35 ms)
15:07:03 Contract Instance Retrieval
15:07:03
✓ Can getContractInstance (29 ms)
15:07:03 Nested external calls
15:07:03
✓ Nested call to non-existent contract (24 ms)
15:07:03
✓ Nested call (211 ms)
15:07:03
✓ Nested static call (202 ms)
15:07:03
✓ Nested call with not enough gas (expect failure) (191 ms)
15:07:03
✓ Nested static call which modifies storage (expect failure) (232 ms)
15:07:03
✓ Nested calls rethrow exceptions (232 ms)
15:07:03
✓ Should handle returndatacopy oracle (264 ms)
15:07:03 Side effect trace errors on overflow
15:07:03
✓ Overrun of Public storage writes (12 ms)
15:07:03
✓ Overrun of New note hashes (20 ms)
15:07:03
✓ Overrun of New nullifiers (14 ms)
15:07:03
✓ Overrun of New unencrypted logs (2 ms)
15:07:03
✓ Overrun of New L1 to L2 messages (2 ms)
15:07:03 Side effects including merkle checks
15:07:03 Note hashes
15:07:03
✓ Should append new note hash correctly (274 ms)
15:07:03
✓ Note hash check properly returns exists=false (246 ms)
15:07:03
✓ Note hash check properly returns exists=true (250 ms)
15:07:03 Nullifiers
15:07:03
✓ Should append a new nullifier correctly (263 ms)
15:07:03
✓ Nullifier check properly returns exists=false (266 ms)
15:07:03
✓ Nullifier check properly returns exists=true (264 ms)
15:07:03 Public storage accesses
15:07:03
✓ Should set value in storage (single) (267 ms)
15:07:03
✓ Should read value in storage (single) - never written (259 ms)
15:07:03
✓ Should read value in storage (single) - written before, leaf exists (313 ms)
15:07:03
✓ Should set and read value in storage (single) (270 ms)
15:07:03
15:07:03
Test Suites: 1 passed, 1 total
15:07:03
Tests: 103 passed, 103 total
15:07:03
Snapshots: 0 total
15:07:03
Time: 11.001 s
15:07:03
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
15:07:03
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?