Parent Log:
http://ci.aztec-labs.com/30965617224928f2
Command: 1574a02ff8f30339 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/1677dac936d084443e64d6c4ba6e45d3958ba1f8
Env: REF_NAME=gh-readonly-queue/next/pr-15122-df0c3e8efd6211cf15eedf67d2a591cc54099ac8 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 18 18:30:40 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15122_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
18:30:45 [18:30:45.275]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:30:48 [18:30:48.210]
INFO:
archiver:test Waiting for archiver to sync to block 3
18:30:48 [18:30:48.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":"0x18c8f35200fd3efd93c03ea9b111164edb7fde573d519f08e01b5e2e9b12dc92","rollingHash":"0x63ad880b0b3dd856129b5d96635fe40c"},"messageCount":2}
18:30:48 [18:30:48.340]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0f6e96527aae52209ddb5cb8c025b6cc2dc8c36660fe6eb2412d2decbf43e6db","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750271445270,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
18:30:49 [18:30:49.370]
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":"0x19071896a380a238ff227167a8ea8acdf0d8ab8d096b0423e9f5786f693029a9","rollingHash":"0xd841b834d4a9e4f632e12b97b3ca8c0e"},"messageCount":4}
18:30:49 [18:30:49.414]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
18:30:49 [18:30:49.607]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1ae0b37b77a297a334a02e70b813bfe4a1a3d60f361244072d499c42521c0847","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750271445282,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
18:30:49 [18:30:49.609]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x1b8ec9156587b53bd770915110e42cb94f1291bfbe5989d365977b6da44b6955","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750271445294,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
18:30:49 [18:30:49.822]
INFO:
archiver Stopped.
18:30:49 [18:30:49.827]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:30:52 [18:30:52.557]
INFO:
archiver:test Waiting for archiver to sync to block 2
18:30:52 [18:30:52.571]
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":"0x0241d03826d09d360f6eda865c2d897e9d14fd77ed0c18e4cc4ce40275dc3f07","rollingHash":"0x3b1508a0648c873431b99de175c24641"},"messageCount":2}
18:30:52 [18:30:52.599]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x239a4d247ce25d25d76bbfdcb4573f238a4f391139310d60c26586fbc465d165","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
18:30:52 [18:30:52.727]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1e3f16c7f6b767d5830a4156a5e01796ad355bb8be3d30f6340119516b90a789","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750271449838,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
18:30:52 [18:30:52.728]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0ec412bb95bcda1ab4cf52467143637d2b44b0cc7d701b802e7d8365a04b1b9d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750271449850,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
18:30:52 [18:30:52.820]
INFO:
archiver Stopped.
18:30:52 [18:30:52.823]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:30:55 [18:30:55.659]
INFO:
archiver:test Waiting for archiver to sync to block 2
18:30:56 [18:30:56.681]
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":"0x0847c754335362e21bb695c916a6b2d1ff7b06c744fb4a696d4634f94bfb88dc","rollingHash":"0x116ce88075913364597697173eaa2ed4"},"messageCount":2}
18:30:56 [18:30:56.811]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x079048980fedb78c933619342a15b976ce8c9dd53e7794af2ee44377e991fdae","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750271452834,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
18:30:56 [18:30:56.812]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1ce4974bb189be50776441a6eb6d250d5884a786de1692e00a47d181cfe6220a","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750271452846,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
18:30:56 [18:30:56.900]
INFO:
archiver Stopped.
18:30:56 [18:30:56.903]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:30:59 [18:30:59.763]
INFO:
archiver:test Waiting for archiver to sync to block 2
18:30:59 [18:30:59.813]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
18:30:59 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
18:30:59 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
18:30:59 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
18:30:59 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
18:30:59 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
18:30:59 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
18:30:59 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
18:31:00 [18:31:00.825]
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":"0x0b0654e852b80b8e3e2fab500743e9098f874089617c43ab17836ea0c2d05ae4","rollingHash":"0x8f93c517c4310020fb414f03dc958b4c"},"messageCount":2}
18:31:01 [18:31:01.006]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0626bcd2ca4594cb5cb94dfb220b6e92649aa6e5545946d327a7cdd2e1040089","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750271456914,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
18:31:01 [18:31:01.008]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0c5c50ad53549c8a813cb059a04f3dbca9c47ead6cf4426496e8be8b44ab1bc5","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750271456926,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
18:31:01 [18:31:01.012]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
18:31:01 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
18:31:01 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
18:31:01 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
18:31:01 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
18:31:01 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
18:31:01 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
18:31:01 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
18:31:02 [18:31:02.157]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
18:31:02 [18:31:02.160]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
18:31:02 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
18:31:02 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
18:31:02 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
18:31:02 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
18:31:02 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
18:31:02 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
18:31:02 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
18:31:03 [18:31:03.101]
INFO:
archiver Stopped.
18:31:03 [18:31:03.105]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:31:03 [18:31:03.500]
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":"0x0d32a5f50c54fda1455dc86296569806cfc89b54077aaa661647fa809671ddcc","rollingHash":"0x2d699890ed5882292a81e22e26646897"},"messageCount":6}
18:31:03 [18:31:03.501]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x0d32a5f50c54fda1455dc86296569806cfc89b54077aaa661647fa809671ddcc","rollingHash":"0x2d699890ed5882292a81e22e26646897"},"remoteMessagesState":{"messagesRollingHash":"0xae523eebae9a1b0dfec78bc4118b3ba7","totalMessagesInserted":5,"treeInProgress":0}}
18:31:03 [18:31:03.592]
WARN:
archiver:test Reorging L1 to L2 messages
18:31:04 [18:31:04.516]
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":"0x0d32a5f50c54fda1455dc86296569806cfc89b54077aaa661647fa809671ddcc","rollingHash":"0x2d699890ed5882292a81e22e26646897"}}
18:31:04 [18:31:04.521]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
18:31:04 [18:31:04.528]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
18:31:04 [18:31:04.590]
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":"0x1fabd98ce00a4f77ff8cc5e5c27a9d2a473e7a3940a6e2b47f0acf2a7ff44b0e","rollingHash":"0xf81cb9810b8d90c749c968d8742f361d"},"messageCount":5}
18:31:04 [18:31:04.667]
INFO:
archiver Stopped.
18:31:04 [18:31:04.676]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:31:05 [18:31:05.339]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
18:31:07 [18:31:07.188]
INFO:
archiver:test Waiting for archiver to sync to block 1
18:31:07 [18:31:07.541]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x182db5e2df9fc423b6f51d8ea7d6607588261454dd055575840a62aea49a7412","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750271464683,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
18:31:07 [18:31:07.576]
INFO:
archiver Stopped.
18:31:07 [18:31:07.593]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:31:08 [18:31:08.110]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
18:31:08 [18:31:08.971]
INFO:
archiver:test Waiting for archiver to sync to block 1
18:31:09 [18:31:09.055]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x303f3fcc6832f7ddd3e39aa564e34d24651a25bfae2c1e1aaba6c0572a7a6119","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750271467599,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
18:31:09 [18:31:09.075]
INFO:
archiver Stopped.
18:31:09 [18:31:09.077]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:31:09 [18:31:09.441]
INFO:
archiver:test Syncing archiver to L1 block 6
18:31:09 [18:31:09.451]
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":"0xdc88f429bffbe772d6aa89b9293911d17ba4b5963afd5e03ef93bc6add39b65d","l1BlockNumber":0}}
18:31:09 [18:31:09.462]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
18:31:09 [18:31:09.464]
INFO:
archiver Stopped.
18:31:09 [18:31:09.466]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:31:09 [18:31:09.810]
INFO:
archiver:test Syncing archiver to L1 block 7
18:31:09 [18:31:09.811]
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":"0x8896308e7f01b6f9935628fb76898e9c7977e6d07b91067cc1c3ef8ddd113a5e","l1BlockNumber":0}}
18:31:09 [18:31:09.822]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
18:31:09 [18:31:09.825]
INFO:
archiver Stopped.
18:31:09 [18:31:09.826]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:31:10 [18:31:10.182]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
18:31:11 [18:31:11.896]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0e5cb8ed942cb5d4d8594d4a416ccc358c60d6e49b068fe9caa1bc5de8addab4","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750271469838,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
18:31:11 [18:31:11.913]
INFO:
archiver Stopped.
18:31:11 [18:31:11.915]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:31:12 [18:31:12.561]
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":"0x8010ee610621c0b2f54e319b4ebf05721eaee6e11fbf7fb8ea96bfeafe60693a","l1BlockNumber":0}}
18:31:12 [18:31:12.589]
INFO:
archiver Stopped.
18:31:12 [18:31:12.591]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:31:15 [18:31:15.808]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x20f2acdd515f019def150bfac760c3f78f932b828d6a7f79253e899c15c147c7","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750271472602,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
18:31:15 [18:31:15.810]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1b01083182c39847dc6817d7db0e3b64262c9c17095c0b5800986c08be462a46","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750271472614,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
18:31:16 [18:31:16.978]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
18:31:18 [18:31:18.040]
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
18:31:18 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
18:31:18 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
18:31:18 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
18:31:18 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7
18:31:18 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
18:31:18 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
18:31:18 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
18:31:18 newBlockNumber: 3,
18:31:18 previousBlockNumber: 1
18:31:18 }
18:31:18 [18:31:18.072]
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":"0x20f2acdd515f019def150bfac760c3f78f932b828d6a7f79253e899c15c147c7","newBlockNumber":3,"updatedL1SyncPoint":70}
18:31:18 [18:31:18.073]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
18:31:18 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
18:31:18 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
18:31:18 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
18:31:18 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7
18:31:18 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
18:31:18 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
18:31:18 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
18:31:18 newBlockNumber: 3,
18:31:18 previousBlockNumber: 1
18:31:18 }
18:31:19 [18:31:19.284]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1b01083182c39847dc6817d7db0e3b64262c9c17095c0b5800986c08be462a46","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750271472614,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
18:31:19 [18:31:19.285]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x230028c169a98ac75139c419001214f405c1226a8876d130c2ab59316ba7d57b","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750271472626,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
18:31:19 [18:31:19.373]
INFO:
archiver Stopped.
18:31:19
PASS src/archiver/archiver.test.ts (
37.475 s)
18:31:19 Archiver
18:31:19
✓ syncs l1 to l2 messages and blocks (4569 ms)
18:31:19
✓ ignores block 3 because it has been pruned (2995 ms)
18:31:19
✓ skip event search if no changes found (4079 ms)
18:31:19
✓ handles L2 reorg (6200 ms)
18:31:19
✓ handles updated messages due to L1 reorg (1564 ms)
18:31:19
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (2907 ms)
18:31:19
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1497 ms)
18:31:19
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (388 ms)
18:31:19
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (360 ms)
18:31:19
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (2087 ms)
18:31:19
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (676 ms)
18:31:19
✓ handles a block gap due to a spurious L2 prune (6783 ms)
18:31:19
○ skipped handles an upcoming L2 prune
18:31:19
18:31:19
Test Suites: 1 passed, 1 total
18:31:19
Tests: 1 skipped,
12 passed, 13 total
18:31:19
Snapshots: 0 total
18:31:19
Time: 37.542 s
18:31:19
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
18:31:19
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?