Parent Log:
http://ci.aztec-labs.com/ad41d2c01b79593b
Command: 21081b81c02e2d2a yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/c06f30929f18b85bcea93c0926a8d640a3819f00
Env: REF_NAME=gh-readonly-queue/master/pr-15074-2707ec99de02004f3e30e7af0810e0d741ab9794 CURRENT_VERSION=0.87.8 CI_FULL=1
Date: Mon Jun 16 16:20:42 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15074_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_master
16:20:45 [16:20:45.570]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:20:49 [16:20:49.649]
INFO:
archiver:test Waiting for archiver to sync to block 3
16:20:49 [16:20:49.672]
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":"0x2a6a83683ef61f421f863e2e31b3c034477ddd8d69048d3d8650b35e9bb99e0e","rollingHash":"0xf85a4b6d727ae0ea15061a03fc2e24bd"},"messageCount":2}
16:20:49 [16:20:49.769]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x04e517369bd27508bdff67e2c6b81bb5d29a14f9e73741c56950695e29497953","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":1,"timestamp":1750090845575,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:20:50 [16:20:50.796]
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":"0x0581e33f62e30383812f8015cd6fc4b269d68dc4d694ef65b6d7e4396c679a55","rollingHash":"0x9e7b72d4606e60d805b8cb5c11ae00fd"},"messageCount":4}
16:20:50 [16:20:50.845]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
16:20:51 [16:20:51.053]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x03c6ba713e97824b24d41d44de8bb75611fcfe9184f145d449a71a2d2ca59766","blockNumber":2,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":2,"slotNumber":2,"timestamp":1750090845587,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
16:20:51 [16:20:51.055]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x1a0a6bc1ad072de6c77dafaba37c930e223663537a86498a6f5fc6fa918ba3f0","blockNumber":3,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":3,"slotNumber":3,"timestamp":1750090845599,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
16:20:51 [16:20:51.217]
INFO:
archiver Stopped.
16:20:51 [16:20:51.221]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:20:55 [16:20:55.131]
INFO:
archiver:test Waiting for archiver to sync to block 2
16:20:55 [16:20:55.142]
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":"0x02545886ea836f271db28790cc311c81074c401432462a8abc398797acbec9eb","rollingHash":"0x7343d3908f183f386cba13f042ea3114"},"messageCount":2}
16:20:55 [16:20:55.163]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x2f8bc229aa7e769c351278b94b3215991621935c430ba975bef8913904109f4e","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
16:20:55 [16:20:55.240]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2a22b8e86d000842e510257072e008a81dbc7afd648aea86d4ed0a0b2566ef9a","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":1,"timestamp":1750090851233,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:20:55 [16:20:55.241]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x123e8f96fd75bf949a13395e1ea69165fab0777fdbfd3fb931187ed12167c141","blockNumber":2,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":2,"slotNumber":2,"timestamp":1750090851245,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
16:20:55 [16:20:55.337]
INFO:
archiver Stopped.
16:20:55 [16:20:55.339]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:20:59 [16:20:59.101]
INFO:
archiver:test Waiting for archiver to sync to block 2
16:21:00 [16:21:00.123]
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":"0x1c942683b62daa3542a35447560ef6aee5ac6fd101a07f9c30063feef40d721a","rollingHash":"0xc164d12084a4fc05ac16b0614e07ab51"},"messageCount":2}
16:21:00 [16:21:00.216]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1aad1c90bf57c99b20e89ff10ef2249ce46efdba7fcea72f78dc9cada336084b","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":1,"timestamp":1750090855350,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:21:00 [16:21:00.217]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2949e2dd7d0a4237ca251a40a95078adc4a477d814def49d8cfa059334420ff3","blockNumber":2,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":2,"slotNumber":2,"timestamp":1750090855362,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
16:21:00 [16:21:00.312]
INFO:
archiver Stopped.
16:21:00 [16:21:00.314]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:21:04 [16:21:04.082]
INFO:
archiver:test Waiting for archiver to sync to block 2
16:21:04 [16:21:04.118]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
16:21:04 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
16:21:04 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:318:9)
16:21:04 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:365:20)
16:21:04 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:378:28)
16:21:04 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:331:34)
16:21:04 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
16:21:04 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
16:21:05 [16:21:05.126]
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":"0x25b16815855021ff81d51b09a992f1106351711ffaccc2a70ca20d348117fc6e","rollingHash":"0x3348b9196968b1636924fd95d0202f6e"},"messageCount":2}
16:21:05 [16:21:05.233]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2f58545db279ebe9409215cd84ec47c99f93ae091299227181fb2b88fc0450a8","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":1,"timestamp":1750090860325,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:21:05 [16:21:05.234]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2066efdfd6675361d703314cfcaa082fadd3181d7232d10bc6c5dd785584dc7e","blockNumber":2,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":2,"slotNumber":2,"timestamp":1750090860337,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
16:21:05 [16:21:05.237]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
16:21:05 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
16:21:05 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:318:9)
16:21:05 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:365:20)
16:21:05 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:378:28)
16:21:05 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:331:34)
16:21:05 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
16:21:05 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
16:21:06 [16:21:06.329]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
16:21:06 [16:21:06.331]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
16:21:06 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
16:21:06 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:318:9)
16:21:06 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:365:20)
16:21:06 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:378:28)
16:21:06 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:331:34)
16:21:06 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
16:21:06 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
16:21:07 [16:21:07.329]
INFO:
archiver Stopped.
16:21:07 [16:21:07.331]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:21:07 [16:21:07.588]
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":"0x1d5db5330f718be630e4dc7e8f3891a5e5573e27e56c197f24a41f4b73713c28","rollingHash":"0xd1dff642cc5075683579f0ec36aca936"},"messageCount":6}
16:21:07 [16:21:07.589]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x1d5db5330f718be630e4dc7e8f3891a5e5573e27e56c197f24a41f4b73713c28","rollingHash":"0xd1dff642cc5075683579f0ec36aca936"},"remoteMessagesState":{"messagesRollingHash":"0x94bf8343961c507d901e3b62f07139f4","totalMessagesInserted":5,"treeInProgress":0}}
16:21:07 [16:21:07.681]
WARN:
archiver:test Reorging L1 to L2 messages
16:21:08 [16:21:08.602]
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":"0x1d5db5330f718be630e4dc7e8f3891a5e5573e27e56c197f24a41f4b73713c28","rollingHash":"0xd1dff642cc5075683579f0ec36aca936"}}
16:21:08 [16:21:08.606]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
16:21:08 [16:21:08.608]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
16:21:08 [16:21:08.624]
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":"0x0acda9767ca84ee27a478b83cb195336ccced2775598fd396774b2d217a0eccc","rollingHash":"0x9fe5fd1733d0c968b0833ff1f71ab9b4"},"messageCount":5}
16:21:08 [16:21:08.699]
INFO:
archiver Stopped.
16:21:08 [16:21:08.702]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:21:08 [16:21:08.965]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
16:21:10 [16:21:10.314]
INFO:
archiver:test Waiting for archiver to sync to block 1
16:21:10 [16:21:10.411]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x21b957b4be6984c807a907c0b2bae69af14b724caaca97c259d1169504d0a001","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":2,"timestamp":1750090868712,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:21:10 [16:21:10.419]
INFO:
archiver Stopped.
16:21:10 [16:21:10.424]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:21:10 [16:21:10.776]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
16:21:12 [16:21:12.092]
INFO:
archiver:test Waiting for archiver to sync to block 1
16:21:12 [16:21:12.183]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0179531833d8e35b71b4fa90e32435435e5939648a82d9fcb982c281a4c7b57c","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":3,"timestamp":1750090870433,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:21:12 [16:21:12.197]
INFO:
archiver Stopped.
16:21:12 [16:21:12.200]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:21:12 [16:21:12.554]
INFO:
archiver:test Syncing archiver to L1 block 6
16:21:12 [16:21:12.562]
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":"0xabb844e8c2e95aeb5b09cf2d034666f04e31a24988ffd5759cbf4eae3ee718ae","l1BlockNumber":0}}
16:21:12 [16:21:12.580]
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}}
16:21:12 [16:21:12.582]
INFO:
archiver Stopped.
16:21:12 [16:21:12.583]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:21:12 [16:21:12.903]
INFO:
archiver:test Syncing archiver to L1 block 7
16:21:12 [16:21:12.905]
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":"0x88714b391642c2bef8f7f056373aff7b5eb4cf29dae8dfbcd5284a85c81944c2","l1BlockNumber":0}}
16:21:12 [16:21:12.923]
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}}
16:21:12 [16:21:12.925]
INFO:
archiver Stopped.
16:21:12 [16:21:12.928]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:21:13 [16:21:13.415]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
16:21:15 [16:21:15.476]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0d2e84ca38d9fd4a33a93f0176a84f895ee2dfb6dfd62c367d6bdbd2d6db1612","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":1,"timestamp":1750090872939,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:21:15 [16:21:15.483]
INFO:
archiver Stopped.
16:21:15 [16:21:15.485]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:21:15 [16:21:15.894]
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":"0xdd7d63dc0997cdfd3238b0fff5e167b002834da6f640af098d2c7e2d453d06e3","l1BlockNumber":0}}
16:21:15 [16:21:15.907]
INFO:
archiver Stopped.
16:21:15 [16:21:15.910]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:21:20 [16:21:20.949]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x018ba487c59ac048ded6604c8dc33ee912759141b43ab2109aed1b74733eb2bd","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":1,"timestamp":1750090875921,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:21:20 [16:21:20.951]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x00479c93734af19061f4c4aa5d8fe2c56d624373b1df32f770262b1f72fa8d3e","blockNumber":2,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":2,"slotNumber":2,"timestamp":1750090875933,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
16:21:22 [16:21:22.103]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
16:21:23 [16:21:23.164]
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
16:21:23 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:78:15
16:21:23 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
16:21:23 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:68:12)
16:21:23 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1398:7
16:21:23 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:21:23 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:21:23 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:21:23 newBlockNumber: 3,
16:21:23 previousBlockNumber: 1
16:21:23 }
16:21:23 [16:21:23.243]
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":"0x018ba487c59ac048ded6604c8dc33ee912759141b43ab2109aed1b74733eb2bd","newBlockNumber":3,"updatedL1SyncPoint":70}
16:21:23 [16:21:23.248]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
16:21:23 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:78:15
16:21:23 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
16:21:23 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:68:12)
16:21:23 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1398:7
16:21:23 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:21:23 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:21:23 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:21:23 newBlockNumber: 3,
16:21:23 previousBlockNumber: 1
16:21:23 }
16:21:24 [16:21:24.397]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x00479c93734af19061f4c4aa5d8fe2c56d624373b1df32f770262b1f72fa8d3e","blockNumber":2,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":2,"slotNumber":2,"timestamp":1750090875933,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
16:21:24 [16:21:24.398]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x184e026b5322821745f7e2864cfc391f56102ecdbb38d8026bfd33b399d36b2e","blockNumber":3,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":3,"slotNumber":3,"timestamp":1750090875945,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
16:21:24 [16:21:24.484]
INFO:
archiver Stopped.
16:21:24
PASS src/archiver/archiver.test.ts (
41.339 s)
16:21:24 Archiver
16:21:24
✓ syncs l1 to l2 messages and blocks (5658 ms)
16:21:24
✓ ignores block 3 because it has been pruned (4117 ms)
16:21:24
✓ skip event search if no changes found (4974 ms)
16:21:24
✓ handles L2 reorg (7017 ms)
16:21:24
✓ handles updated messages due to L1 reorg (1368 ms)
16:21:24
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1719 ms)
16:21:24
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1777 ms)
16:21:24
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (384 ms)
16:21:24
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (344 ms)
16:21:24
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (2558 ms)
16:21:24
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (424 ms)
16:21:24
✓ handles a block gap due to a spurious L2 prune (8576 ms)
16:21:24
○ skipped handles an upcoming L2 prune
16:21:24
16:21:24
Test Suites: 1 passed, 1 total
16:21:24
Tests: 1 skipped,
12 passed, 13 total
16:21:24
Snapshots: 0 total
16:21:24
Time: 41.399 s
16:21:24
Ran all test suites matching /archiver\/src\/archiver\/archiver.test.ts/i
.
16:21:24
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?