Parent Log:
http://ci.aztec-labs.com/9772f35bf3dda20b
Command: 2d72990a54a9c534 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/7edf16da6c056f9499e2dfd9c71fb9b7580f9bfc
Env: REF_NAME=gh-readonly-queue/next/pr-15215-1b10c7d500621ca2e4c0db764df67f3085beb282 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 10:16:03 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15215_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
10:16:07 [10:16:07.365]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:16:10 [10:16:10.051]
INFO:
archiver:test Waiting for archiver to sync to block 3
10:16:10 [10:16:10.081]
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":"0x2f0f37379ea80998a49889107e1c1034bb5521ef27c5e008fcf005e7f75463d0","rollingHash":"0xe08c7a4174249d4600f0c34429704686"},"messageCount":2}
10:16:10 [10:16:10.172]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x01078235a962578f076fb0db35b0a44259592e798b0109e5e87b9f5d8a3fdb60","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750760167356,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:16:11 [10:16:11.257]
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":"0x0ff546839d42603041b928c19fcc7817a3249df9b5c390e9ebd21c591ff78504","rollingHash":"0x86452c16c05c0428403d93fbe22f051c"},"messageCount":4}
10:16:11 [10:16:11.354]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
10:16:11 [10:16:11.591]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x22aa70e5834b9f048b884daeb9c0f4e481e16593b0abf843c37f62d8bfc416c5","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750760167368,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:16:11 [10:16:11.592]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x19686132cac9a4b7820bc229edb7b1a8a2d73fb3420fdd7b2c278d1509598ceb","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750760167380,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
10:16:11 [10:16:11.783]
INFO:
archiver Stopped.
10:16:11 [10:16:11.786]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:16:14 [10:16:14.497]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:16:14 [10:16:14.510]
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":"0x2ed8d2ee36f2e7a0245bc766c57e22ec2e9351c3fe2009edbeec7f78ca7ee242","rollingHash":"0x6a60d0775c69774af3b7446409ad1ad1"},"messageCount":2}
10:16:14 [10:16:14.542]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x20a7f3ba7c6b9b01c618b2220d364b4fca894edc6c7b72155b928e6ebec94877","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
10:16:14 [10:16:14.655]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x21a3398ff6af291c11d47230ccbe82abd5e25305a9899e1cc86baafc3e2bb07e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750760171798,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:16:14 [10:16:14.656]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0f8da52741fd2d03e4bf71e20dfd1ae862626b6a3ce29b4ffe77a848efb0827d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750760171810,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:16:14 [10:16:14.743]
INFO:
archiver Stopped.
10:16:14 [10:16:14.745]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:16:17 [10:16:17.497]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:16:18 [10:16:18.519]
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":"0x1474b758df7f3b1dcb56b2ab80b978bca74e8a596f3642d076cfb80987c53f8c","rollingHash":"0xb9ea63b8a9a0c3e1fefdf972901416b5"},"messageCount":2}
10:16:18 [10:16:18.699]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x025d1622334e62e2007a028b14ad6d0dda324aac201187abd3829f1e1c09824d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750760174756,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:16:18 [10:16:18.699]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2f82776e212ff12c412a75fc55ebf908e50d310c95ca99a6bc69a62282724313","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750760174768,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:16:18 [10:16:18.786]
INFO:
archiver Stopped.
10:16:18 [10:16:18.788]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:16:21 [10:16:21.393]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:16:21 [10:16:21.431]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
10:16:21 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:16:21 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
10:16:21 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
10:16:21 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
10:16:21 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
10:16:21 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:16:21 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:16:22 [10:16:22.442]
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":"0x11afa38468bff77f16c1e4edaa0f9b4ead849606261daf7b97ea6e750e81a47d","rollingHash":"0xceb042a96cfde007a1a9b6a0792e123e"},"messageCount":2}
10:16:22 [10:16:22.565]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0d37d5d48c8a638f3271262601bf8c30619dd61ae95dafc15ec1f8a2396ac342","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750760178799,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:16:22 [10:16:22.566]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1c11cf23a484860d7cc7457373b6a7e91cafb5af6725962e99fc1006d3e4d904","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750760178811,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:16:22 [10:16:22.567]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
10:16:22 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:16:22 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
10:16:22 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
10:16:22 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
10:16:22 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
10:16:22 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:16:22 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:16:23 [10:16:23.673]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
10:16:23 [10:16:23.675]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
10:16:23 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:16:23 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
10:16:23 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
10:16:23 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
10:16:23 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
10:16:23 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:16:23 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:16:24 [10:16:24.660]
INFO:
archiver Stopped.
10:16:24 [10:16:24.663]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:16:25 [10:16:25.005]
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":"0x11a09b2a40c400f69c09f4efda74e4373bcbd4c9318537627c0628a7e5c85847","rollingHash":"0x90136b5c32467da7273d5ccef79f555f"},"messageCount":6}
10:16:25 [10:16:25.006]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x11a09b2a40c400f69c09f4efda74e4373bcbd4c9318537627c0628a7e5c85847","rollingHash":"0x90136b5c32467da7273d5ccef79f555f"},"remoteMessagesState":{"messagesRollingHash":"0x6f12b0c824fb1bce0d12d0e363a46cc1","totalMessagesInserted":5,"treeInProgress":0}}
10:16:25 [10:16:25.099]
WARN:
archiver:test Reorging L1 to L2 messages
10:16:26 [10:16:26.016]
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":"0x11a09b2a40c400f69c09f4efda74e4373bcbd4c9318537627c0628a7e5c85847","rollingHash":"0x90136b5c32467da7273d5ccef79f555f"}}
10:16:26 [10:16:26.022]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
10:16:26 [10:16:26.026]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
10:16:26 [10:16:26.054]
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":"0x118745ba383b0c029e583a959164932b3f33fdd281ec1f8e4a53bab9fa6d2af7","rollingHash":"0x1657c03335a94f48316a76ac9373d0ea"},"messageCount":5}
10:16:26 [10:16:26.118]
INFO:
archiver Stopped.
10:16:26 [10:16:26.121]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:16:26 [10:16:26.456]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
10:16:27 [10:16:27.617]
INFO:
archiver:test Waiting for archiver to sync to block 1
10:16:27 [10:16:27.765]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1578f5f509c0eb76c7c58965fe9e8205b19938134bda3ffb203182a0ed10e52d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750760186132,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:16:27 [10:16:27.854]
INFO:
archiver Stopped.
10:16:27 [10:16:27.857]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:16:28 [10:16:28.206]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
10:16:29 [10:16:29.124]
INFO:
archiver:test Waiting for archiver to sync to block 1
10:16:29 [10:16:29.238]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x25956e507f8416e2b67ee15565fbeb9193e74886f7c792fed00ea6fae0e0973c","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750760187868,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:16:29 [10:16:29.332]
INFO:
archiver Stopped.
10:16:29 [10:16:29.340]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:16:29 [10:16:29.864]
INFO:
archiver:test Syncing archiver to L1 block 6
10:16:29 [10:16:29.866]
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":"0xe17e2ed1bd408c15fe5503231e38696887c4d002987c28942864f5a0eb4ad5d5","l1BlockNumber":0}}
10:16:29 [10:16:29.894]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
10:16:29 [10:16:29.897]
INFO:
archiver Stopped.
10:16:29 [10:16:29.899]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:16:30 [10:16:30.249]
INFO:
archiver:test Syncing archiver to L1 block 7
10:16:30 [10:16:30.250]
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":"0x666e6409d5fb573f7a25054f8e45d4a02a2af77ab6ca6e10e09a9f67c1d4a2f1","l1BlockNumber":0}}
10:16:30 [10:16:30.260]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
10:16:30 [10:16:30.264]
INFO:
archiver Stopped.
10:16:30 [10:16:30.266]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:16:30 [10:16:30.609]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
10:16:31 [10:16:31.522]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0b04129bab905f1475a8fba800a8f37f4031ef24007a6733e9ec1917e9ba7e10","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750760190277,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:16:31 [10:16:31.527]
INFO:
archiver Stopped.
10:16:31 [10:16:31.529]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:16:31 [10:16:31.931]
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":"0x5c6449a9e2c9d560553b0104bb840c95c69c80859c3fb3e78439de39e831b6f5","l1BlockNumber":0}}
10:16:31 [10:16:31.952]
INFO:
archiver Stopped.
10:16:31 [10:16:31.953]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:16:35 [10:16:35.862]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2728d65685ee703e21630ec73cadcfe7fa0de809c69f510bf02ad14a07abd256","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750760191965,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:16:35 [10:16:35.867]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0e539e78009f5265a9ed5c2617cfc71841b6123845abc325b1b6352ad79c14c9","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750760191977,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:16:37 [10:16:37.028]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
10:16:38 [10:16:38.085]
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
10:16:38 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
10:16:38 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
10:16:38 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
10:16:38 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
10:16:38 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:16:38 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:16:38 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:16:38 newBlockNumber: 3,
10:16:38 previousBlockNumber: 1
10:16:38 }
10:16:38 [10:16:38.111]
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":"0x2728d65685ee703e21630ec73cadcfe7fa0de809c69f510bf02ad14a07abd256","newBlockNumber":3,"updatedL1SyncPoint":70}
10:16:38 [10:16:38.112]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
10:16:38 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
10:16:38 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
10:16:38 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
10:16:38 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
10:16:38 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:16:38 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:16:38 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:16:38 newBlockNumber: 3,
10:16:38 previousBlockNumber: 1
10:16:38 }
10:16:39 [10:16:39.324]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0e539e78009f5265a9ed5c2617cfc71841b6123845abc325b1b6352ad79c14c9","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750760191977,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:16:39 [10:16:39.325]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x1821e4d80ecb029d4d88cbbd229844c2a7e293fa435de3113550c250e91dc019","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750760191989,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
10:16:39 [10:16:39.395]
INFO:
archiver Stopped.
10:16:39
PASS src/archiver/archiver.test.ts (
35.158 s)
10:16:39 Archiver
10:16:39
✓ syncs l1 to l2 messages and blocks (4442 ms)
10:16:39
✓ ignores block 3 because it has been pruned (2958 ms)
10:16:39
✓ skip event search if no changes found (4042 ms)
10:16:39
✓ handles L2 reorg (5874 ms)
10:16:39
✓ handles updated messages due to L1 reorg (1457 ms)
10:16:39
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1736 ms)
10:16:39
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1477 ms)
10:16:39
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (564 ms)
10:16:39
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (366 ms)
10:16:39
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1263 ms)
10:16:39
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (424 ms)
10:16:39
✓ handles a block gap due to a spurious L2 prune (7444 ms)
10:16:39
○ skipped handles an upcoming L2 prune
10:16:39
10:16:39
Test Suites: 1 passed, 1 total
10:16:39
Tests: 1 skipped,
12 passed, 13 total
10:16:39
Snapshots: 0 total
10:16:39
Time: 35.248 s
10:16:39
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
10:16:39
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?