Parent Log:
http://ci.aztec-labs.com/b66f3d7434cdc44d
Command: 85ebe83a9ef9464b yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/24972303091baff6f83c6389d7d1406c932357e9
Env: REF_NAME=gh-readonly-queue/next/pr-15042-a0a8617413ca6f4fba2ad190ce73dab59bd75a45 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 14:16:01 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15042_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
14:16:06 [14:16:06.229]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:09 [14:16:09.205]
INFO:
archiver:test Waiting for archiver to sync to block 3
14:16:09 [14:16:09.232]
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":"0x03bc649660c6108b03a917f79fe82ae3ead11067fd4829b05783cb053fcaa56c","rollingHash":"0xe72867af1c941958b69577a0d2b777a2"},"messageCount":2}
14:16:09 [14:16:09.428]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x16e9fe204967e025b44ae539906dfb521413d3b47ce856298ff932ac3fef1186","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750169766224,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:16:10 [14:16:10.453]
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":"0x06b0bdb6b1fe4cd62d57f4518f45cea9a9f2a3869674dbf15da010f47728cbd8","rollingHash":"0xaca6d5f2ddb3f6cd5691cbf007eb5eba"},"messageCount":4}
14:16:10 [14:16:10.491]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
14:16:10 [14:16:10.752]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x28c560d929f4a74878379e6e4d5441cb27d3f8d0539cc0592f13d02ec5cacb7c","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750169766236,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:16:10 [14:16:10.754]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x04c26672d3643ed5e5a8c4394e27c7164a5de6818539dd1fbc60e0ecd9e111aa","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750169766248,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
14:16:11 [14:16:11.025]
INFO:
archiver Stopped.
14:16:11 [14:16:11.032]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:14 [14:16:14.089]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:16:14 [14:16:14.105]
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":"0x225348c478a7bf91616e2e7d9910a93d6214d52fbb26ad17b88774717af8f13d","rollingHash":"0xe6b3a179c5ebf0128fc65ed26f3629b7"},"messageCount":2}
14:16:14 [14:16:14.146]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x04bafa26d0f11ed209340ce0fa230f199ebd8e629a0e74ca398c044410b1e4b9","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
14:16:14 [14:16:14.335]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0f11368f4d3ffdf0e71045b7d0bd208bce77133847c4cbd9639cc4016f001827","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750169771043,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:16:14 [14:16:14.337]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x18465f5306f62db756a95e3e3d4e56702b7f9f76386099e3608441f1a6bc9fae","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750169771055,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:16:14 [14:16:14.419]
INFO:
archiver Stopped.
14:16:14 [14:16:14.426]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:17 [14:16:17.518]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:16:18 [14:16:18.558]
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":"0x0f158dacc04100dc44d0e3d885595c2d136bd97689a027ac63d4215cf30408c2","rollingHash":"0x4d22fbbcb292dbe726b4b1d0143e4cab"},"messageCount":2}
14:16:18 [14:16:18.741]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x08950db147b138dd8674e4e977108fc04a23bae778af46e9eac4ad23b56193fb","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750169774434,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:16:18 [14:16:18.742]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1ea30a2c101f79c683fad3ece12104086bbfec36308943cbb42f2d2c833d27bb","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750169774446,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:16:18 [14:16:18.830]
INFO:
archiver Stopped.
14:16:18 [14:16:18.833]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:21 [14:16:21.838]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:16:21 [14:16:21.886]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
14:16:21 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:16:21 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
14:16:21 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
14:16:21 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
14:16:21 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
14:16:21 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:16:21 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:16:22 [14:16:22.897]
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":"0x157f180e9ba063132ab70db221825615fe904dd8471d140285a1886d8d7bfcd2","rollingHash":"0x63604be56a1b79e85f6d36ed2eb0c44b"},"messageCount":2}
14:16:23 [14:16:23.085]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x278a91bdc5467ce0b036c06817676450ff163cacc166ad21f42f595e43f8c823","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750169778844,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:16:23 [14:16:23.086]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x232c7c9c8c9efaf75b3bc78d9cf8ce4de2dc8076c7182f11c5648d6494950c83","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750169778856,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:16:23 [14:16:23.090]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
14:16:23 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:16:23 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
14:16:23 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
14:16:23 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
14:16:23 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
14:16:23 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:16:23 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:16:24 [14:16:24.273]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
14:16:24 [14:16:24.276]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
14:16:24 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:16:24 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
14:16:24 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
14:16:24 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
14:16:24 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
14:16:24 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:16:24 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:16:25 [14:16:25.175]
INFO:
archiver Stopped.
14:16:25 [14:16:25.180]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:25 [14:16:25.746]
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":"0x203b72cfcb616a113d8cdb9d53daf261c845bff779aa0842635680d0262c956d","rollingHash":"0xdddc00602b4fa30f5944ff4bb4840a69"},"messageCount":6}
14:16:25 [14:16:25.747]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x203b72cfcb616a113d8cdb9d53daf261c845bff779aa0842635680d0262c956d","rollingHash":"0xdddc00602b4fa30f5944ff4bb4840a69"},"remoteMessagesState":{"messagesRollingHash":"0xa96424253ded5cba2be19795b8f99743","totalMessagesInserted":5,"treeInProgress":0}}
14:16:25 [14:16:25.847]
WARN:
archiver:test Reorging L1 to L2 messages
14:16:26 [14:16:26.775]
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":"0x203b72cfcb616a113d8cdb9d53daf261c845bff779aa0842635680d0262c956d","rollingHash":"0xdddc00602b4fa30f5944ff4bb4840a69"}}
14:16:26 [14:16:26.786]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
14:16:26 [14:16:26.790]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
14:16:26 [14:16:26.826]
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":"0x2790e931f38808a96b39fb4235b29d6d1884f7db1f21cc33a22acb32254c2f78","rollingHash":"0x1dd51b18933e70c852bbc0952a552829"},"messageCount":5}
14:16:26 [14:16:26.975]
INFO:
archiver Stopped.
14:16:26 [14:16:26.978]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:27 [14:16:27.474]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
14:16:28 [14:16:28.970]
INFO:
archiver:test Waiting for archiver to sync to block 1
14:16:29 [14:16:29.112]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x02fac2667fa4d4f8a86876bb76290bf27203919aa8e7990a7814291abece12c3","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750169786990,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:16:29 [14:16:29.208]
INFO:
archiver Stopped.
14:16:29 [14:16:29.211]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:29 [14:16:29.643]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
14:16:30 [14:16:30.528]
INFO:
archiver:test Waiting for archiver to sync to block 1
14:16:30 [14:16:30.659]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x11aaf96f7b1cf14e0b56ee4705a24f096e2f97f8dbb2620ce0bbf1f2e28e3354","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750169789222,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:16:30 [14:16:30.753]
INFO:
archiver Stopped.
14:16:30 [14:16:30.756]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:31 [14:16:31.160]
INFO:
archiver:test Syncing archiver to L1 block 6
14:16:31 [14:16:31.161]
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":"0x9809c2eb4707bfc59b42f52b2a7fdcaa25d90923bc96ed2e6ff0a80d17546895","l1BlockNumber":0}}
14:16:31 [14:16:31.179]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6,"messagesSynchedTo":{"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000006","l1BlockNumber":6}},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
14:16:31 [14:16:31.181]
INFO:
archiver Stopped.
14:16:31 [14:16:31.183]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:31 [14:16:31.576]
INFO:
archiver:test Syncing archiver to L1 block 7
14:16:31 [14:16:31.578]
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":"0xfa7a4c4dab96c86372842cfb9fd92929d0fb7f5cfbc171a2b1b68cd59f039d7d","l1BlockNumber":0}}
14:16:31 [14:16:31.591]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7,"messagesSynchedTo":{"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000007","l1BlockNumber":7}},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
14:16:31 [14:16:31.600]
INFO:
archiver Stopped.
14:16:31 [14:16:31.605]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:32 [14:16:32.230]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
14:16:33 [14:16:33.735]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2e2680fa8dcf183f0e6ba282e8243e405c3523b42e5126641fba64060e84e250","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750169791615,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:16:33 [14:16:33.744]
INFO:
archiver Stopped.
14:16:33 [14:16:33.747]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:34 [14:16:34.239]
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":"0xa8b8fc7d111e71ea0a9f53c21421debf30706313c091888b568757757bb1abcf","l1BlockNumber":0}}
14:16:34 [14:16:34.263]
INFO:
archiver Stopped.
14:16:34 [14:16:34.265]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:37 [14:16:37.623]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x09c2041f09400dc8d938699dd35b9d4627e8b2a36e24170ffe34a0b2f846db01","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750169794276,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:16:37 [14:16:37.624]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2c5e75ee492db33bbf533b0fd2cf29d8ea580dd0b9b9206e6881a95e82ca1e27","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750169794288,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:16:38 [14:16:38.834]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
14:16:39 [14:16:39.925]
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
14:16:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
14:16:39 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
14:16:39 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
14:16:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
14:16:39 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:16:39 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:16:39 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:16:39 newBlockNumber: 3,
14:16:39 previousBlockNumber: 1
14:16:39 }
14:16:39 [14:16:39.956]
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":"0x09c2041f09400dc8d938699dd35b9d4627e8b2a36e24170ffe34a0b2f846db01","newBlockNumber":3,"updatedL1SyncPoint":70}
14:16:39 [14:16:39.958]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
14:16:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
14:16:39 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
14:16:39 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
14:16:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
14:16:39 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:16:39 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:16:39 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:16:39 newBlockNumber: 3,
14:16:39 previousBlockNumber: 1
14:16:39 }
14:16:41 [14:16:41.170]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2c5e75ee492db33bbf533b0fd2cf29d8ea580dd0b9b9206e6881a95e82ca1e27","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750169794288,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:16:41 [14:16:41.171]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x12362163de1cf641c14b6a78d7c3cf7ac722849245fcf6bd707f4009dc141fe1","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750169794300,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
14:16:41 [14:16:41.258]
INFO:
archiver Stopped.
14:16:41
PASS src/archiver/archiver.test.ts (
38.349 s)
14:16:41 Archiver
14:16:41
✓ syncs l1 to l2 messages and blocks (4819 ms)
14:16:41
✓ ignores block 3 because it has been pruned (3390 ms)
14:16:41
✓ skip event search if no changes found (4410 ms)
14:16:41
✓ handles L2 reorg (6344 ms)
14:16:41
✓ handles updated messages due to L1 reorg (1799 ms)
14:16:41
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (2232 ms)
14:16:41
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1544 ms)
14:16:41
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (426 ms)
14:16:41
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (420 ms)
14:16:41
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (2143 ms)
14:16:41
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (519 ms)
14:16:41
✓ handles a block gap due to a spurious L2 prune (6995 ms)
14:16:41
○ skipped handles an upcoming L2 prune
14:16:41
14:16:41
Test Suites: 1 passed, 1 total
14:16:41
Tests: 1 skipped,
12 passed, 13 total
14:16:41
Snapshots: 0 total
14:16:41
Time: 38.446 s
14:16:41
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
14:16:41
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?