Parent Log:
http://ci.aztec-labs.com/171b2d80c85afdbd
Command: eebb3ae31c0c785a yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/cbd66b52b44f3aad75bf6e52a67987ed206598aa
Env: REF_NAME=gh-readonly-queue/next/pr-15121-5d017313171ed95ebc6dbf88c1dffe207497338e CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Wed Jun 18 20:42:20 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15121_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
20:42:24 [20:42:24.207]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:42:26 [20:42:26.993]
INFO:
archiver:test Waiting for archiver to sync to block 3
20:42:27 [20:42:27.007]
INFO:
archiver Retrieved 2 new L1 to L2 messages up to message with index 1 for L2 block 1
{"lastMessage":{"index":1,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000063","l1BlockNumber":99,"l2BlockNumber":1,"leaf":"0x06caf02ce08c536c8e5ec5f5b4feeb81bf0aa3beceda7a86bfbec693ab392b9b","rollingHash":"0x4ee45a43b6f9188dfbfd675de6b5f2da"},"messageCount":2}
20:42:27 [20:42:27.086]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x118d7dfcf996a950b075aa885a4bb62e5116e3257a27433090f6ddcab554512c","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750279344206,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
20:42:28 [20:42:28.101]
INFO:
archiver Retrieved 4 new L1 to L2 messages up to message with index 32 for L2 block 3
{"lastMessage":{"index":32,"l1BlockHash":"0x00000000000000000000000000000000000000000000000000000000000009ca","l1BlockNumber":2506,"l2BlockNumber":3,"leaf":"0x06a44ed36bf9032f4d5211a4bdcce63186011637f4e14369c22f70ed39092818","rollingHash":"0x53f49480014bbf35b4d5bcc1e4e1e573"},"messageCount":4}
20:42:28 [20:42:28.126]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
20:42:28 [20:42:28.262]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x26a027703c1744376cd61f845a6e70e2f6a150598af5ef9637b8de00bac6943e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750279344218,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
20:42:28 [20:42:28.263]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x034fcdae84dd6196d84c7e8aa7d0314810f1b7b66d53c7b99686f188a3408b81","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750279344230,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
20:42:28 [20:42:28.465]
INFO:
archiver Stopped.
20:42:28 [20:42:28.469]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:42:31 [20:42:31.027]
INFO:
archiver:test Waiting for archiver to sync to block 2
20:42:31 [20:42:31.035]
INFO:
archiver Retrieved 2 new L1 to L2 messages up to message with index 1 for L2 block 1
{"lastMessage":{"index":1,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000044","l1BlockNumber":68,"l2BlockNumber":1,"leaf":"0x0683c494d5a32a4b4569a476ae7a2a967d4befb9cbee30d18fc5a81e8d84a457","rollingHash":"0x51bd7ba00e921f2497c400542a86e7fd"},"messageCount":2}
20:42:31 [20:42:31.053]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x1de79618634ce8b6206044af1f4fd6b1452784c9482d487c7b08c449f180f598","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
20:42:31 [20:42:31.146]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x11a50e1c2497423d39361e4e008914b15c370bcb542cddd978ed210d1095ca32","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750279348480,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
20:42:31 [20:42:31.146]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0f0d1589d3f9dbfa7edceb78a704c29a8de3c55cba1fb648c8a3ba0729008add","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750279348492,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
20:42:31 [20:42:31.236]
INFO:
archiver Stopped.
20:42:31 [20:42:31.238]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:42:33 [20:42:33.792]
INFO:
archiver:test Waiting for archiver to sync to block 2
20:42:34 [20:42:34.810]
INFO:
archiver Retrieved 2 new L1 to L2 messages up to message with index 1 for L2 block 1
{"lastMessage":{"index":1,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000044","l1BlockNumber":68,"l2BlockNumber":1,"leaf":"0x1d57dbd1473c4260922f5f5a2e0e777cc7f68e1275aff3dbcda9504bca20458e","rollingHash":"0x528fa0af22a2aff80a373e10d3650029"},"messageCount":2}
20:42:34 [20:42:34.919]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0ced0e18f81a633a9ece29787664b4ebf5a67acaf78d03695ec9370f381a0950","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750279351250,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
20:42:34 [20:42:34.920]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1354f6a300f149f48609eed7a27e6359fea951c3142f19dd2d0127b2d8cdf999","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750279351262,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
20:42:35 [20:42:35.012]
INFO:
archiver Stopped.
20:42:35 [20:42:35.013]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:42:37 [20:42:37.579]
INFO:
archiver:test Waiting for archiver to sync to block 2
20:42:37 [20:42:37.611]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
20:42:37 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
20:42:37 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
20:42:37 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
20:42:37 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
20:42:37 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
20:42:37 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
20:42:37 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
20:42:38 [20:42:38.619]
INFO:
archiver Retrieved 2 new L1 to L2 messages up to message with index 1 for L2 block 1
{"lastMessage":{"index":1,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000044","l1BlockNumber":68,"l2BlockNumber":1,"leaf":"0x292cfb750d72194bc7728441a8a7e4b11734fae3af6e0523592992f2c3450cad","rollingHash":"0x5f973a5e42b531229ed403d58938825e"},"messageCount":2}
20:42:38 [20:42:38.731]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0acc38c8158a411241534727b582435f6f5b890fcbdcc59e4adb2b45221266a1","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750279355025,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
20:42:38 [20:42:38.732]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1ea55ff08a1ec2762bfb85f6a0d6b9c28cde04500131196be58c004553a37089","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750279355037,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
20:42:38 [20:42:38.734]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
20:42:38 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
20:42:38 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
20:42:38 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
20:42:38 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
20:42:38 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
20:42:38 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
20:42:38 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
20:42:39 [20:42:39.826]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
20:42:39 [20:42:39.828]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
20:42:39 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
20:42:39 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
20:42:39 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
20:42:39 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
20:42:39 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
20:42:39 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
20:42:39 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
20:42:40 [20:42:40.826]
INFO:
archiver Stopped.
20:42:40 [20:42:40.827]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:42:41 [20:42:41.093]
INFO:
archiver Retrieved 6 new L1 to L2 messages up to message with index 35 for L2 block 3
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x26cf93c643c8338b3660b74649a4236f7dfb881ed825d279564c2bf07711c55a","rollingHash":"0x16e002e00a631927439e2cc4cb14f261"},"messageCount":6}
20:42:41 [20:42:41.094]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x26cf93c643c8338b3660b74649a4236f7dfb881ed825d279564c2bf07711c55a","rollingHash":"0x16e002e00a631927439e2cc4cb14f261"},"remoteMessagesState":{"messagesRollingHash":"0x9f62b2ecd82a5e1bc2eac454d697d694","totalMessagesInserted":5,"treeInProgress":0}}
20:42:41 [20:42:41.188]
WARN:
archiver:test Reorging L1 to L2 messages
20:42:42 [20:42:42.101]
WARN:
archiver Rolling back L1 to L2 messages due to hash mismatch or msg not found.
{"messagesSyncPoint":{"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101},"localLastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x26cf93c643c8338b3660b74649a4236f7dfb881ed825d279564c2bf07711c55a","rollingHash":"0x16e002e00a631927439e2cc4cb14f261"}}
20:42:42 [20:42:42.103]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
20:42:42 [20:42:42.104]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
20:42:42 [20:42:42.124]
INFO:
archiver Retrieved 5 new L1 to L2 messages up to message with index 65 for L2 block 5
{"lastMessage":{"index":65,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000066","l1BlockNumber":102,"l2BlockNumber":5,"leaf":"0x0af2c03ec9983392ed881357e60f2fa2fc699c7a98061687d6068d72ba570358","rollingHash":"0xa016a6ddb558821f2d8b8533c68e4fac"},"messageCount":5}
20:42:42 [20:42:42.197]
INFO:
archiver Stopped.
20:42:42 [20:42:42.198]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:42:42 [20:42:42.463]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
20:42:43 [20:42:43.215]
INFO:
archiver:test Waiting for archiver to sync to block 1
20:42:43 [20:42:43.272]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0ea1d72211d16081f2914046594d9b4c3dd043491fd0752204381c878870edef","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750279362210,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
20:42:43 [20:42:43.317]
INFO:
archiver Stopped.
20:42:43 [20:42:43.320]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:42:43 [20:42:43.583]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
20:42:44 [20:42:44.336]
INFO:
archiver:test Waiting for archiver to sync to block 1
20:42:44 [20:42:44.392]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x14b54e97348ae35c6ab05443131cac16910a20a217ece66d02cf404ab97848f8","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750279363331,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
20:42:44 [20:42:44.438]
INFO:
archiver Stopped.
20:42:44 [20:42:44.440]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:42:44 [20:42:44.696]
INFO:
archiver:test Syncing archiver to L1 block 6
20:42:44 [20:42:44.702]
INFO:
archiver Starting archiver sync to rollup contract 0x0000000000000000000000000000000000000000 from L1 block 0 to current L1 block 6 with hash 0x0000000000000000000000000000000000000000000000000000000000000006
{"blocksSynchedTo":0,"messagesSynchedTo":{"l1BlockHash":"0x6a41af11debd89dcf7a29e87545de90ab4bc9ccc065d2348a7ebb80328e2c97b","l1BlockNumber":0}}
20:42:44 [20:42:44.710]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
20:42:44 [20:42:44.711]
INFO:
archiver Stopped.
20:42:44 [20:42:44.713]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:42:44 [20:42:44.975]
INFO:
archiver:test Syncing archiver to L1 block 7
20:42:44 [20:42:44.976]
INFO:
archiver Starting archiver sync to rollup contract 0x0000000000000000000000000000000000000000 from L1 block 0 to current L1 block 7 with hash 0x0000000000000000000000000000000000000000000000000000000000000007
{"blocksSynchedTo":0,"messagesSynchedTo":{"l1BlockHash":"0x756e9bfc8aac60fc675ba9aa7600a941d16e29a55c90e1335baaaafe0bfca45b","l1BlockNumber":0}}
20:42:44 [20:42:44.982]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
20:42:44 [20:42:44.984]
INFO:
archiver Stopped.
20:42:44 [20:42:44.986]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:42:45 [20:42:45.247]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
20:42:46 [20:42:46.079]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x05e37deef1e86e1c77f6434622e54ee3d0bd5bb637ca3e6309780989992250b8","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750279364997,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
20:42:46 [20:42:46.083]
INFO:
archiver Stopped.
20:42:46 [20:42:46.084]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:42:46 [20:42:46.410]
INFO:
archiver Starting archiver sync to rollup contract 0x0000000000000000000000000000000000000000 from L1 block 0 to current L1 block 2000 with hash 0x00000000000000000000000000000000000000000000000000000000000007d0
{"blocksSynchedTo":0,"messagesSynchedTo":{"l1BlockHash":"0xf170217582bdc5b6cf238fe922219a0b599b0cf11d852b60a85afdcf40379222","l1BlockNumber":0}}
20:42:46 [20:42:46.423]
INFO:
archiver Stopped.
20:42:46 [20:42:46.425]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:42:49 [20:42:49.207]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x166038596de07e01b229a4def205a83a5082962e92ae5c32ddc198a30949c8ec","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750279366436,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
20:42:49 [20:42:49.208]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x03ebf1f38b2f612e1fdbf89977f53abefb7a188652d1db24f73eb352d3714760","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750279366448,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
20:42:50 [20:42:50.320]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
20:42:51 [20:42:51.358]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
20:42:51 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
20:42:51 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
20:42:51 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
20:42:51 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7
20:42:51 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:42:51 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:42:51 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:42:51 newBlockNumber: 3,
20:42:51 previousBlockNumber: 1
20:42:51 }
20:42:51 [20:42:51.378]
WARN:
archiver Attempting to insert block 3 with previous block 1. Rolling back L1 sync point to 70 to try and fetch the missing blocks.
{"previousBlockNumber":1,"previousBlockHash":"0x166038596de07e01b229a4def205a83a5082962e92ae5c32ddc198a30949c8ec","newBlockNumber":3,"updatedL1SyncPoint":70}
20:42:51 [20:42:51.379]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
20:42:51 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
20:42:51 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
20:42:51 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
20:42:51 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7
20:42:51 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:42:51 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:42:51 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:42:51 newBlockNumber: 3,
20:42:51 previousBlockNumber: 1
20:42:51 }
20:42:52 [20:42:52.512]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x03ebf1f38b2f612e1fdbf89977f53abefb7a188652d1db24f73eb352d3714760","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750279366448,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
20:42:52 [20:42:52.513]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x02abca0c26255915dc6e6948638b88d4a4898901161a73f329ee0e63bed283ef","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750279366460,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
20:42:52 [20:42:52.611]
INFO:
archiver Stopped.
20:42:52
PASS src/archiver/archiver.test.ts (
30.889 s)
20:42:52 Archiver
20:42:52
✓ syncs l1 to l2 messages and blocks (4274 ms)
20:42:52
✓ ignores block 3 because it has been pruned (2769 ms)
20:42:52
✓ skip event search if no changes found (3775 ms)
20:42:52
✓ handles L2 reorg (5814 ms)
20:42:52
✓ handles updated messages due to L1 reorg (1370 ms)
20:42:52
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1120 ms)
20:42:52
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1121 ms)
20:42:52
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (273 ms)
20:42:52
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (273 ms)
20:42:52
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1098 ms)
20:42:52
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (341 ms)
20:42:52
✓ handles a block gap due to a spurious L2 prune (6188 ms)
20:42:52
○ skipped handles an upcoming L2 prune
20:42:52
20:42:52
Test Suites: 1 passed, 1 total
20:42:52
Tests: 1 skipped,
12 passed, 13 total
20:42:52
Snapshots: 0 total
20:42:52
Time: 30.962 s
20:42:52
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
20:42:52
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?