Parent Log:
http://ci.aztec-labs.com/424a32e00eb773f3
Command: 582720422b3f4dff yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/79e9bd1698f4bba6deade8f76c676f9bbb12ff74
Env: REF_NAME=gh-readonly-queue/staging/pr-15192-505a3c071181dbc5242dc8b655a9b2d69988c8db CURRENT_VERSION=1.0.0 CI_FULL=1
Date: Mon Jun 23 13:24:42 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15192_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_staging
13:24:46 [13:24:46.319]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:24:49 [13:24:49.136]
INFO:
archiver:test Waiting for archiver to sync to block 3
13:24:49 [13:24:49.159]
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":"0x0face5814ff48f175b83a6eefb54e793993a4a63bbddcb897fcaea7d8b13d494","rollingHash":"0x6288ab2041af410cda5e86f1a4be63da"},"messageCount":2}
13:24:49 [13:24:49.264]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x12728b84adb5d6e5021a1d48dba34fc1a430b70d1b5771e664550226cfed4f4f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750685086308,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:24:50 [13:24:50.286]
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":"0x30210bb9bf3e3c6efab8e6be6780499a171e88ff975ed7a9cc0665925bde3c96","rollingHash":"0xf252d0f8e99a85f164a60230fbf5b135"},"messageCount":4}
13:24:50 [13:24:50.323]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
13:24:50 [13:24:50.487]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1c1ae8fc0be2ed68e1dbe544883a003ed4fca99c25a7856bd3ef726d66dec350","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750685086320,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:24:50 [13:24:50.488]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x254cb7c4a5484dc0cd1bdf4303384d411c46e622674365c1d7c84a6513ed76e7","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750685086332,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
13:24:50 [13:24:50.665]
INFO:
archiver Stopped.
13:24:50 [13:24:50.671]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:24:53 [13:24:53.354]
INFO:
archiver:test Waiting for archiver to sync to block 2
13:24:53 [13:24:53.414]
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":"0x0ac83c4ba5b4bc6d3cfe5e819ed2def44fbcd47261cc27c3bb61a9687f267da9","rollingHash":"0xaaa38c2230ab2f9324446128551dc701"},"messageCount":2}
13:24:53 [13:24:53.439]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x0f752db3cf6ea25d3e1e9fab141a5a7a72faced4c038af5fbb4bd53ce61173f4","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
13:24:53 [13:24:53.665]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x06d623ce41cb57f68d01c818594b76ae5c8a431383cf1e5124aab5d3e1887925","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750685090680,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:24:53 [13:24:53.666]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1d221ca7afed53b66e1c84af72595d5eeb98ba64419b7ccc705226e3e1635d30","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750685090692,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:24:53 [13:24:53.710]
INFO:
archiver Stopped.
13:24:53 [13:24:53.730]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:24:56 [13:24:56.631]
INFO:
archiver:test Waiting for archiver to sync to block 2
13:24:57 [13:24:57.650]
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":"0x2a5fe165c4ef1d57c112d6df1f1f7a9da2f12df8788b736bf675235f98604a4a","rollingHash":"0x09288e0d1c00840924eeee9e02fe52f8"},"messageCount":2}
13:24:57 [13:24:57.786]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x25cbf2a60f73c2cd7bd7c4d98f50b5a98b9035d6ffaf7ec0697aa47feadfa4cc","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750685093725,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:24:57 [13:24:57.787]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2c7cdbcefc34616a47732d9588203c8af319dd178e08790775b73d8246e6a5fb","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750685093737,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:24:57 [13:24:57.870]
INFO:
archiver Stopped.
13:24:57 [13:24:57.872]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:25:00 [13:25:00.574]
INFO:
archiver:test Waiting for archiver to sync to block 2
13:25:00 [13:25:00.616]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
13:25:00 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
13:25:00 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
13:25:00 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
13:25:00 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
13:25:00 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
13:25:00 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
13:25:00 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
13:25:01 [13:25:01.628]
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":"0x0e75fc252ecec7cec8b0349bb8e381b893fc9f704c72a0d39c2e6cea5084a4af","rollingHash":"0xfe340e26bfa6c992cbc67b8c057473ad"},"messageCount":2}
13:25:01 [13:25:01.787]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x00f4be5aa8c4215ed107b3a88e8b937b5e81a7128095ff338de7bd4ee71a6208","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750685097884,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:25:01 [13:25:01.789]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1767b31d3234c764a0aca64f82934481937ff56a06104d047fe1eb5c47b22be6","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750685097896,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:25:01 [13:25:01.791]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
13:25:01 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
13:25:01 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
13:25:01 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
13:25:01 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
13:25:01 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
13:25:01 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
13:25:01 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
13:25:02 [13:25:02.914]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
13:25:02 [13:25:02.916]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
13:25:02 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
13:25:02 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
13:25:02 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
13:25:02 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
13:25:02 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
13:25:02 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
13:25:02 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
13:25:03 [13:25:03.884]
INFO:
archiver Stopped.
13:25:03 [13:25:03.886]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:25:04 [13:25:04.234]
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":"0x08d64ea7580d3a0c278991c8438e600880ae18cb75f2b7cf6b20155895dfadf2","rollingHash":"0x7bb40627c161a8be255034cbd8a03550"},"messageCount":6}
13:25:04 [13:25:04.235]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x08d64ea7580d3a0c278991c8438e600880ae18cb75f2b7cf6b20155895dfadf2","rollingHash":"0x7bb40627c161a8be255034cbd8a03550"},"remoteMessagesState":{"messagesRollingHash":"0x37cd0c84db0402525e118af58ad134c7","totalMessagesInserted":5,"treeInProgress":0}}
13:25:04 [13:25:04.328]
WARN:
archiver:test Reorging L1 to L2 messages
13:25:05 [13:25:05.245]
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":"0x08d64ea7580d3a0c278991c8438e600880ae18cb75f2b7cf6b20155895dfadf2","rollingHash":"0x7bb40627c161a8be255034cbd8a03550"}}
13:25:05 [13:25:05.247]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
13:25:05 [13:25:05.249]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
13:25:05 [13:25:05.271]
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":"0x18e484380c9c1d7a928f7c3be9cbaa88e242ec02d8eb94131f226e7cf3339524","rollingHash":"0x5f14b16fe8f78984d5282ec84eacc763"},"messageCount":5}
13:25:05 [13:25:05.345]
INFO:
archiver Stopped.
13:25:05 [13:25:05.347]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:25:05 [13:25:05.732]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
13:25:06 [13:25:06.892]
INFO:
archiver:test Waiting for archiver to sync to block 1
13:25:06 [13:25:06.993]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x16b33796a6da967d6eefca05c46410488daa3c8e9b3f9f8bfd3775598ccb35a3","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750685105359,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:25:07 [13:25:07.000]
INFO:
archiver Stopped.
13:25:07 [13:25:07.005]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:25:07 [13:25:07.406]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
13:25:08 [13:25:08.674]
INFO:
archiver:test Waiting for archiver to sync to block 1
13:25:08 [13:25:08.829]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x21c88a0f64b75e2021f3f85fabaf6a1af87a4fd842cf97784c2f73f137df67c5","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750685107015,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:25:08 [13:25:08.916]
INFO:
archiver Stopped.
13:25:08 [13:25:08.918]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:25:09 [13:25:09.330]
INFO:
archiver:test Syncing archiver to L1 block 6
13:25:09 [13:25:09.338]
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":"0x144510b9f4465e2ff8888bee77cf0754f3743c62de7860a98cb5b8fcb9332c27","l1BlockNumber":0}}
13:25:09 [13:25:09.354]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
13:25:09 [13:25:09.357]
INFO:
archiver Stopped.
13:25:09 [13:25:09.359]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:25:09 [13:25:09.716]
INFO:
archiver:test Syncing archiver to L1 block 7
13:25:09 [13:25:09.718]
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":"0x066a7f062a5f7586c5cdc15c5a8f53617558bb1c39a59730a28e190203d7b5e5","l1BlockNumber":0}}
13:25:09 [13:25:09.730]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
13:25:09 [13:25:09.732]
INFO:
archiver Stopped.
13:25:09 [13:25:09.733]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:25:10 [13:25:10.061]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
13:25:11 [13:25:11.607]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0f5d51a9fe428878b104972367bba3c943fbc1e677a27063c3a03fd1c3cbe7bb","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750685109745,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:25:11 [13:25:11.615]
INFO:
archiver Stopped.
13:25:11 [13:25:11.618]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:25:12 [13:25:12.031]
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":"0x713b1c09fd82ffc6ee051e4d1bde69959a1199c8a01288c02c83b67dd07131f4","l1BlockNumber":0}}
13:25:12 [13:25:12.048]
INFO:
archiver Stopped.
13:25:12 [13:25:12.050]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:25:15 [13:25:15.734]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x16147474e5201896a48dd7dc1ea3aea937833b5d145429a3388a85b4d41c63bb","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750685112061,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:25:15 [13:25:15.736]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0cf45b4c604454adba54d5189e279e141a4980dbf97bf1784b847e23787207f7","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750685112073,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:25:16 [13:25:16.983]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
13:25:18 [13:25:18.084]
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
13:25:18 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
13:25:18 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
13:25:18 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
13:25:18 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
13:25:18 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:25:18 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:25:18 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:25:18 newBlockNumber: 3,
13:25:18 previousBlockNumber: 1
13:25:18 }
13:25:18 [13:25:18.116]
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":"0x16147474e5201896a48dd7dc1ea3aea937833b5d145429a3388a85b4d41c63bb","newBlockNumber":3,"updatedL1SyncPoint":70}
13:25:18 [13:25:18.118]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
13:25:18 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
13:25:18 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
13:25:18 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
13:25:18 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
13:25:18 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:25:18 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:25:18 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:25:18 newBlockNumber: 3,
13:25:18 previousBlockNumber: 1
13:25:18 }
13:25:19 [13:25:19.342]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0cf45b4c604454adba54d5189e279e141a4980dbf97bf1784b847e23787207f7","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750685112073,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:25:19 [13:25:19.343]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x2e4fa36c82ce2a6109cb32638832e72e3d35e6399be143c610ae1de38b254424","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750685112085,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
13:25:19 [13:25:19.428]
INFO:
archiver Stopped.
13:25:19
PASS src/archiver/archiver.test.ts (
36.016 s)
13:25:19 Archiver
13:25:19
✓ syncs l1 to l2 messages and blocks (4373 ms)
13:25:19
✓ ignores block 3 because it has been pruned (3043 ms)
13:25:19
✓ skip event search if no changes found (4159 ms)
13:25:19
✓ handles L2 reorg (6013 ms)
13:25:19
✓ handles updated messages due to L1 reorg (1461 ms)
13:25:19
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1655 ms)
13:25:19
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1914 ms)
13:25:19
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (441 ms)
13:25:19
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (374 ms)
13:25:19
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1883 ms)
13:25:19
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (432 ms)
13:25:19
✓ handles a block gap due to a spurious L2 prune (7381 ms)
13:25:19
○ skipped handles an upcoming L2 prune
13:25:19
13:25:19
Test Suites: 1 passed, 1 total
13:25:19
Tests: 1 skipped,
12 passed, 13 total
13:25:19
Snapshots: 0 total
13:25:19
Time: 36.096 s
13:25:19
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
13:25:19
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?