Parent Log:
http://ci.aztec-labs.com/2f9b375d98da9914
Command: 128a905c1f9c1691 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/76ca48a2187e3506bb464eae574e49476c2876ca
Env: REF_NAME=gh-readonly-queue/next/pr-15045-9d6fb0bd1594726370a5f3a56591963452264642 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 13 18:05:21 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15045_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
18:05:25 [18:05:25.008]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:05:27 [18:05:27.730]
INFO:
archiver:test Waiting for archiver to sync to block 3
18:05:27 [18:05:27.749]
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":"0x044ee18a201fc9afef786f7175fc189345e3d3a521f62faff4f2cbc5b8449c8b","rollingHash":"0xc87d653fef3dc88c39e121c40f5828d0"},"messageCount":2}
18:05:27 [18:05:27.826]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1f4159f21c70dfdcb0ac824ee752de2ed0d3818c7534f5efd7fe6265ddf07fd2","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749837925013,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
18:05:28 [18:05:28.845]
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":"0x1b0f9385a0e8d886a6a509abfe062cd978fdc3083a137abbbed6c2d418469b96","rollingHash":"0x7515a3e5f1358fea4ca1c92ce44d3142"},"messageCount":4}
18:05:28 [18:05:28.875]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
18:05:29 [18:05:29.040]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x20dea449e53f006472ad514c2944514412de224a1cbc64d95cdf8d2c05174db3","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749837925025,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
18:05:29 [18:05:29.042]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x2f19ba272bda5317b3db78ee8374aa38766822673f0287825341c756150b2786","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749837925037,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
18:05:29 [18:05:29.248]
INFO:
archiver Stopped.
18:05:29 [18:05:29.252]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:05:31 [18:05:31.686]
INFO:
archiver:test Waiting for archiver to sync to block 2
18:05:31 [18:05:31.747]
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":"0x113ef5cc49a7c2e21464e0c65d2eafd029f407161cd4bec9bb1aa4d3f9a1c6a6","rollingHash":"0xbe1d151c4f432c34d82abc962391a724"},"messageCount":2}
18:05:31 [18:05:31.761]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x2548688556a3dd461d8159ad5813ccee26c7312bef099dae4851deeacb547a01","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
18:05:31 [18:05:31.840]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1d9d9a96c2619a77e4b99cc31f2dedc64fc86298eebe4bd15057cc32e1bb0d75","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749837929264,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
18:05:31 [18:05:31.840]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x17eac07e9daf5906637ef46d789a5f1e6430f28265ec37cb72f9cafc6cba99cd","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749837929276,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
18:05:31 [18:05:31.929]
INFO:
archiver Stopped.
18:05:31 [18:05:31.932]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:05:34 [18:05:34.325]
INFO:
archiver:test Waiting for archiver to sync to block 2
18:05:35 [18:05:35.347]
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":"0x2a0aa6b03833154cd4e7992e1bb27055cd4a18d78d4aa47e97bb50492d00bb2e","rollingHash":"0xa665fadbb0da2f452e03ebf23c140d0c"},"messageCount":2}
18:05:35 [18:05:35.460]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0e3f0f773ed9465c883be165c7378cd63b184022f9908b28959ea07bce606957","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749837931943,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
18:05:35 [18:05:35.461]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1ab8b56e23cfc145a961e358397be13cf00b64ef3eac4e994cfabd7efbc478e8","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749837931955,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
18:05:35 [18:05:35.555]
INFO:
archiver Stopped.
18:05:35 [18:05:35.557]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:05:38 [18:05:38.269]
INFO:
archiver:test Waiting for archiver to sync to block 2
18:05:38 [18:05:38.330]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
18:05:38 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
18:05:38 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:328:9)
18:05:38 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
18:05:38 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
18:05:38 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
18:05:38 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
18:05:38 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
18:05:39 [18:05:39.343]
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":"0x0dbf4c0ac52abdc5c6825ee42973f076ec3d0bb247ad06080ca8441f956fb06a","rollingHash":"0xd669200774c3d6390cd47a678675bf74"},"messageCount":2}
18:05:39 [18:05:39.473]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x14d5a9f936e79796b0f7b55bb13a6cadd45726f93daa64d1e03646b1beb817bc","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749837935568,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
18:05:39 [18:05:39.474]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0adc3c19ec9b9f45b49b5c9d4395d90eb8c82589dab90600d8e9348b9d05c05e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749837935580,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
18:05:39 [18:05:39.479]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
18:05:39 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
18:05:39 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:328:9)
18:05:39 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
18:05:39 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
18:05:39 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
18:05:39 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
18:05:39 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
18:05:40 [18:05:40.590]
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:05:40 [18:05:40.592]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
18:05:40 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
18:05:40 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:328:9)
18:05:40 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
18:05:40 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
18:05:40 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
18:05:40 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
18:05:40 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
18:05:41 [18:05:41.558]
INFO:
archiver Stopped.
18:05:41 [18:05:41.560]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:05:41 [18:05:41.955]
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":"0x0347e103b03fb24940143c8b519fce3e66d76434ec97d28f012f924af018264f","rollingHash":"0x79922470088c8ebeeec97c1661562135"},"messageCount":6}
18:05:41 [18:05:41.956]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x0347e103b03fb24940143c8b519fce3e66d76434ec97d28f012f924af018264f","rollingHash":"0x79922470088c8ebeeec97c1661562135"},"remoteMessagesState":{"messagesRollingHash":"0x75231adcff0df9b3ae8a80255d228855","totalMessagesInserted":5,"treeInProgress":0}}
18:05:42 [18:05:42.047]
WARN:
archiver:test Reorging L1 to L2 messages
18:05:42 [18:05:42.971]
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":"0x0347e103b03fb24940143c8b519fce3e66d76434ec97d28f012f924af018264f","rollingHash":"0x79922470088c8ebeeec97c1661562135"}}
18:05:42 [18:05:42.973]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
18:05:42 [18:05:42.976]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
18:05:42 [18:05:42.997]
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":"0x2fc7ab37a7f1ca82f39c9cb06061e771c51a5660e2a6a7e1c86967b6cba5bf69","rollingHash":"0xbd61fe36006e6b14dc9884f1b7f51779"},"messageCount":5}
18:05:43 [18:05:43.074]
INFO:
archiver Stopped.
18:05:43 [18:05:43.076]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:05:43 [18:05:43.453]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
18:05:44 [18:05:44.489]
INFO:
archiver:test Waiting for archiver to sync to block 1
18:05:44 [18:05:44.593]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2bfa08688540f24d49accafd4ecd6c5b476c6c5b961d0ab4b2008a28141f0b83","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749837943087,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
18:05:44 [18:05:44.697]
INFO:
archiver Stopped.
18:05:44 [18:05:44.701]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:05:45 [18:05:45.088]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
18:05:46 [18:05:46.045]
INFO:
archiver:test Waiting for archiver to sync to block 1
18:05:46 [18:05:46.159]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x13c280307929dbc4f1a435f1776eb985e55abdcc3a90b8c4e2f5aeeb4a3de1cc","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749837944712,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
18:05:46 [18:05:46.249]
INFO:
archiver Stopped.
18:05:46 [18:05:46.250]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:05:46 [18:05:46.614]
INFO:
archiver:test Syncing archiver to L1 block 6
18:05:46 [18:05:46.615]
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":"0xd6a8453f7a055cd64ef8a69f6007dcb4be533fcb364d29b64e905edeaf732c79","l1BlockNumber":0}}
18:05:46 [18:05:46.635]
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}}
18:05:46 [18:05:46.639]
INFO:
archiver Stopped.
18:05:46 [18:05:46.641]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:05:47 [18:05:47.221]
INFO:
archiver:test Syncing archiver to L1 block 7
18:05:47 [18:05:47.229]
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":"0x0b1eadab8e0627c79e528913e4f7d65f7d7b90987d8a92433b4390adb99e869c","l1BlockNumber":0}}
18:05:47 [18:05:47.262]
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}}
18:05:47 [18:05:47.269]
INFO:
archiver Stopped.
18:05:47 [18:05:47.276]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:05:47 [18:05:47.754]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
18:05:48 [18:05:48.670]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x063f9e3e4f39a313e229bad6f6a313bbc2af74f53e321bb8e9ee463bc8985f52","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749837947287,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
18:05:48 [18:05:48.674]
INFO:
archiver Stopped.
18:05:48 [18:05:48.675]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:05:49 [18:05:49.035]
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":"0xfb7430374c3853ad568869f0d4e2c2248589a336934f3661cc8f02942e5100f3","l1BlockNumber":0}}
18:05:49 [18:05:49.067]
INFO:
archiver Stopped.
18:05:49 [18:05:49.069]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
18:05:52 [18:05:52.764]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0c25f4a2d5c9af93e15af13919b16ec39c17302a5df58fe1a26f62da49798f2d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749837949081,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
18:05:52 [18:05:52.765]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2f1e25ebda43f9b799714f30ff7174f685ee324338b59baee644dc152334ea69","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749837949093,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
18:05:53 [18:05:53.975]
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:05:55 [18:05:55.087]
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:05:55 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
18:05:55 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
18:05:55 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
18:05:55 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
18:05:55 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
18:05:55 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
18:05:55 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
18:05:55 newBlockNumber: 3,
18:05:55 previousBlockNumber: 1
18:05:55 }
18:05:55 [18:05:55.111]
WARN:
archiver Attempting to insert block 3 with previous block 1. Rolling back L1 sync point to 70 to try and fetch the missing blocks.
{"previousBlockNumber":1,"previousBlockHash":"0x0c25f4a2d5c9af93e15af13919b16ec39c17302a5df58fe1a26f62da49798f2d","newBlockNumber":3,"updatedL1SyncPoint":70}
18:05:55 [18:05:55.113]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
18:05:55 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
18:05:55 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
18:05:55 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
18:05:55 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
18:05:55 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
18:05:55 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
18:05:55 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
18:05:55 newBlockNumber: 3,
18:05:55 previousBlockNumber: 1
18:05:55 }
18:05:56 [18:05:56.248]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2f1e25ebda43f9b799714f30ff7174f685ee324338b59baee644dc152334ea69","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749837949093,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
18:05:56 [18:05:56.249]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x12865020b8577353ce7dfe9eff02c9f7935ed007612fa8903aedca2aa3dca5ac","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749837949105,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
18:05:56 [18:05:56.262]
INFO:
archiver Stopped.
18:05:56
PASS src/archiver/archiver.test.ts (
33.93 s)
18:05:56 Archiver
18:05:56
✓ syncs l1 to l2 messages and blocks (4250 ms)
18:05:56
✓ ignores block 3 because it has been pruned (2679 ms)
18:05:56
✓ skip event search if no changes found (3625 ms)
18:05:56
✓ handles L2 reorg (6003 ms)
18:05:56
✓ handles updated messages due to L1 reorg (1516 ms)
18:05:56
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1624 ms)
18:05:56
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1549 ms)
18:05:56
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (390 ms)
18:05:56
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (630 ms)
18:05:56
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1403 ms)
18:05:56
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (393 ms)
18:05:56
✓ handles a block gap due to a spurious L2 prune (7195 ms)
18:05:56
○ skipped handles an upcoming L2 prune
18:05:56
18:05:56
Test Suites: 1 passed, 1 total
18:05:56
Tests: 1 skipped,
12 passed, 13 total
18:05:56
Snapshots: 0 total
18:05:56
Time: 34.008 s
18:05:56
Ran all test suites matching /archiver\/src\/archiver\/archiver.test.ts/i
.
18:05:56
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?