Parent Log:
http://ci.aztec-labs.com/391f36fa4313c6d4
Command: ccc91e389ae607c5 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/16fc84676c7308fa5f7ca4a54b67319803d0f5b7
Env: REF_NAME=gh-readonly-queue/next/pr-15072-991b313d676f7cf820bb62a33e57cf5a4c8cf9cf CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 15:57:14 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15072_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
15:57:18 [15:57:18.360]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:57:21 [15:57:21.106]
INFO:
archiver:test Waiting for archiver to sync to block 3
15:57:21 [15:57:21.123]
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":"0x12f1529fa4268ae14170b621a497c503b7e78c80cd9fb5a37154f8cb2a5de59d","rollingHash":"0xfb4bb73f7e0a0ededc9f9cc550c527b0"},"messageCount":2}
15:57:21 [15:57:21.219]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2973f2cd4800cfc5d6ee4e3567ed6d2d023a588a625eb30a348da501cf68bbf6","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750089438356,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:57:22 [15:57:22.238]
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":"0x2fe6635dd8864e6eb6f8709f0ded1a86f7e165dee309380ab512f208a7544901","rollingHash":"0xfaa8d0c850ae91322b39e0ea04259cfa"},"messageCount":4}
15:57:22 [15:57:22.262]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
15:57:22 [15:57:22.393]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0630c431aeb32cd83c981d1b56008cd678e2d031fb62fb2074652866a5042e4d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750089438368,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
15:57:22 [15:57:22.394]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x08e8210642e401b1515e60a2b390ce6c57b2324cc8b2a0f11a03c43928695759","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750089438380,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
15:57:22 [15:57:22.587]
INFO:
archiver Stopped.
15:57:22 [15:57:22.591]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:57:25 [15:57:25.031]
INFO:
archiver:test Waiting for archiver to sync to block 2
15:57:25 [15:57:25.088]
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":"0x024f12c5f306a5cf2dd7c66808b809ef90ba894686d9f04aba776aa23a9b1f4d","rollingHash":"0xfc0d40a2c1dbd390806310d97399189b"},"messageCount":2}
15:57:25 [15:57:25.128]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x05a35447ed5221fb623c2f6a3e2e4ce0a7b1d84e5db7bd1f5f8a32a316c839da","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
15:57:25 [15:57:25.287]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1b293ad70054c7796a3c44483fc4d799c97c66ef620c140dfbe9e87eaa27ac87","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750089442602,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:57:25 [15:57:25.289]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2a74efa2b7befe113bc81acecb866f05238b1f31da277fe1637eb55d4aa34b9c","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750089442614,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
15:57:25 [15:57:25.293]
INFO:
archiver Stopped.
15:57:25 [15:57:25.299]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:57:27 [15:57:27.677]
INFO:
archiver:test Waiting for archiver to sync to block 2
15:57:28 [15:57:28.758]
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":"0x302039182aa5cead8da3d41f851dfd83b6c0eb088764ecbb07a4a0fcf4637fef","rollingHash":"0x35655f4e10071c58d940e3859d073990"},"messageCount":2}
15:57:28 [15:57:28.931]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x222b2fc8fd5f119ff9a5325ca0a5d2e3259b07ef63a0c8d9717a21036a201a49","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750089445306,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:57:28 [15:57:28.934]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x044f3f9277544c2daf2c4097ebc7d58410757dc0d5192385f30c3b9eb925e8ab","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750089445318,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
15:57:29 [15:57:29.005]
INFO:
archiver Stopped.
15:57:29 [15:57:29.009]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:57:31 [15:57:31.983]
INFO:
archiver:test Waiting for archiver to sync to block 2
15:57:32 [15:57:32.034]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
15:57:32 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
15:57:32 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
15:57:32 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
15:57:32 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
15:57:32 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
15:57:32 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
15:57:32 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
15:57:33 [15:57:33.046]
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":"0x27fca59ba2ee0f349c84b204adf0a23858689e3e41251a37df0971974c7efdab","rollingHash":"0xc395421f4edd6a192fb21f30eef156d1"},"messageCount":2}
15:57:33 [15:57:33.182]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x012284e7017ac5eedae330ff26aadb0d83dc5f3c5c88ce21e44ed6c69d40c000","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750089449020,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:57:33 [15:57:33.183]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2ee4b42d26b8910725539a49554d8dca9c5e3f9a5775b4197b54305a0b631658","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750089449032,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
15:57:33 [15:57:33.186]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
15:57:33 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
15:57:33 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
15:57:33 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
15:57:33 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
15:57:33 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
15:57:33 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
15:57:33 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
15:57:34 [15:57:34.320]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
15:57:34 [15:57:34.322]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
15:57:34 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
15:57:34 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
15:57:34 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
15:57:34 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
15:57:34 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
15:57:34 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
15:57:34 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
15:57:35 [15:57:35.299]
INFO:
archiver Stopped.
15:57:35 [15:57:35.307]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:57:35 [15:57:35.770]
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":"0x08f62e012c637be320cb8d4396a1d7b9047cc75ab12769713a620f965edf025c","rollingHash":"0x3f278d56d0ef54474d6263fe63736f82"},"messageCount":6}
15:57:35 [15:57:35.771]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x08f62e012c637be320cb8d4396a1d7b9047cc75ab12769713a620f965edf025c","rollingHash":"0x3f278d56d0ef54474d6263fe63736f82"},"remoteMessagesState":{"messagesRollingHash":"0x8e7314bb1a04a4830d84db58d25ca0cb","totalMessagesInserted":5,"treeInProgress":0}}
15:57:35 [15:57:35.859]
WARN:
archiver:test Reorging L1 to L2 messages
15:57:36 [15:57:36.781]
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":"0x08f62e012c637be320cb8d4396a1d7b9047cc75ab12769713a620f965edf025c","rollingHash":"0x3f278d56d0ef54474d6263fe63736f82"}}
15:57:36 [15:57:36.784]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
15:57:36 [15:57:36.786]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
15:57:36 [15:57:36.804]
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":"0x2b9b985469d21f7c8cb9e500a639be99021aafcb763009a97df264fcd1f7b658","rollingHash":"0x41521763f7eb05321a72376207a8d8f3"},"messageCount":5}
15:57:36 [15:57:36.894]
INFO:
archiver Stopped.
15:57:36 [15:57:36.896]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:57:37 [15:57:37.220]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
15:57:38 [15:57:38.125]
INFO:
archiver:test Waiting for archiver to sync to block 1
15:57:38 [15:57:38.219]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x090b73733f2793d0c6dadabd1654b42a07da70fae253741be2695593967b0d10","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750089456908,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:57:38 [15:57:38.229]
INFO:
archiver Stopped.
15:57:38 [15:57:38.231]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:57:38 [15:57:38.603]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
15:57:39 [15:57:39.495]
INFO:
archiver:test Waiting for archiver to sync to block 1
15:57:39 [15:57:39.599]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x08215dc8c5c4b2aa236dbb6b8d62324089473b895e11237151ee0d5de3808d14","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750089458243,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:57:39 [15:57:39.613]
INFO:
archiver Stopped.
15:57:39 [15:57:39.615]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:57:40 [15:57:40.121]
INFO:
archiver:test Syncing archiver to L1 block 6
15:57:40 [15:57:40.140]
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":"0x71a8f3d4ae2c1f69676fce55f740353dee029e003f7f19a305835014eac948b5","l1BlockNumber":0}}
15:57:40 [15:57:40.158]
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}}
15:57:40 [15:57:40.162]
INFO:
archiver Stopped.
15:57:40 [15:57:40.164]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:57:40 [15:57:40.654]
INFO:
archiver:test Syncing archiver to L1 block 7
15:57:40 [15:57:40.656]
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":"0xd9f2211f5a5911a2b2ffbefe1531f2ae09b65dfb44f188d054c2bcc15be52bc1","l1BlockNumber":0}}
15:57:40 [15:57:40.685]
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}}
15:57:40 [15:57:40.688]
INFO:
archiver Stopped.
15:57:40 [15:57:40.692]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:57:41 [15:57:41.168]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
15:57:42 [15:57:42.578]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1d5b374a3eceb730cc09e7853db5e649111268db71ed8508c0a6db163af53162","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750089460702,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:57:42 [15:57:42.607]
INFO:
archiver Stopped.
15:57:42 [15:57:42.609]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:57:43 [15:57:43.092]
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":"0x8d4b4349ab468330187cab5fedbce41eedfd28748cba7e8430c5f7b41c7645c4","l1BlockNumber":0}}
15:57:43 [15:57:43.115]
INFO:
archiver Stopped.
15:57:43 [15:57:43.118]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:57:46 [15:57:46.987]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1fa4fcdffb473989ef0e52f390a40a58e0a1a84173690e87b1c3b345d372cc4d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750089463129,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:57:46 [15:57:46.993]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0cbb6f4f646aa0b191bdcb51934efa2ead8145376e7cdff07d31e01bf0291217","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750089463141,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
15:57:48 [15:57:48.353]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
15:57:49 [15:57:49.485]
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
15:57:49 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
15:57:49 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
15:57:49 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
15:57:49 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
15:57:49 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:57:49 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:57:49 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:57:49 newBlockNumber: 3,
15:57:49 previousBlockNumber: 1
15:57:49 }
15:57:49 [15:57:49.519]
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":"0x1fa4fcdffb473989ef0e52f390a40a58e0a1a84173690e87b1c3b345d372cc4d","newBlockNumber":3,"updatedL1SyncPoint":70}
15:57:49 [15:57:49.520]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
15:57:49 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
15:57:49 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
15:57:49 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
15:57:49 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
15:57:49 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:57:49 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:57:49 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:57:49 newBlockNumber: 3,
15:57:49 previousBlockNumber: 1
15:57:49 }
15:57:50 [15:57:50.758]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0cbb6f4f646aa0b191bdcb51934efa2ead8145376e7cdff07d31e01bf0291217","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750089463141,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
15:57:50 [15:57:50.759]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x1ccc08b535e2ebc50eca4871ca34082d94312cc441604dd31c0a0c53be0f2bd4","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750089463153,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
15:57:50 [15:57:50.852]
INFO:
archiver Stopped.
15:57:50
PASS src/archiver/archiver.test.ts (
35.575 s)
15:57:50 Archiver
15:57:50
✓ syncs l1 to l2 messages and blocks (4245 ms)
15:57:50
✓ ignores block 3 because it has been pruned (2704 ms)
15:57:50
✓ skip event search if no changes found (3712 ms)
15:57:50
✓ handles L2 reorg (6295 ms)
15:57:50
✓ handles updated messages due to L1 reorg (1591 ms)
15:57:50
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1335 ms)
15:57:50
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1383 ms)
15:57:50
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (548 ms)
15:57:50
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (526 ms)
15:57:50
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1918 ms)
15:57:50
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (508 ms)
15:57:50
✓ handles a block gap due to a spurious L2 prune (7736 ms)
15:57:50
○ skipped handles an upcoming L2 prune
15:57:50
15:57:50
Test Suites: 1 passed, 1 total
15:57:50
Tests: 1 skipped,
12 passed, 13 total
15:57:50
Snapshots: 0 total
15:57:50
Time: 35.67 s
15:57:50
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
15:57:50
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?