Parent Log:
http://ci.aztec-labs.com/025889bb38746a8e
Command: 02573248fd9c66ba yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/712835e3cfa2ed6f980f2d482aa4b0ae767046a7
Env: REF_NAME=gh-readonly-queue/next/pr-15077-4b0e4dc09fa55f0bc808fa0c7c3e95e8fa997069 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 21:07:05 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15077_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
21:07:09 [21:07:09.946]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:12 [21:07:12.749]
INFO:
archiver:test Waiting for archiver to sync to block 3
21:07:12 [21:07:12.762]
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":"0x254f50831841502545acc79363a3b23674aed1de91603698f5396805cd0a6f60","rollingHash":"0xc3623b3916f88751ab78211716dd8f3f"},"messageCount":2}
21:07:12 [21:07:12.854]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0595904479df74508751967e0729ea44eb42803cf71661d749cf8b8e80035f34","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750194429942,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
21:07:13 [21:07:13.873]
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":"0x2334b9fd5df032b51515c809f8e411674f0bec3ef0043941ef93888a5676c4e9","rollingHash":"0x781307d4c0c6be88269b6353ab52ff53"},"messageCount":4}
21:07:13 [21:07:13.900]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
21:07:14 [21:07:14.056]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x24577b39bff9700af6890acb589fd9fcd91e414eb217f1272052d6065447f6b4","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750194429954,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
21:07:14 [21:07:14.056]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x1171a224015ac884f4cefad050cb0f25675cf7451bfac7dfeb791661ba14b698","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750194429966,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
21:07:14 [21:07:14.256]
INFO:
archiver Stopped.
21:07:14 [21:07:14.260]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:16 [21:07:16.668]
INFO:
archiver:test Waiting for archiver to sync to block 2
21:07:16 [21:07:16.724]
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":"0x03c13b2d0957c3885f978a678f5e60078a78a6a64ef0fa1ed23ad175a9ae7006","rollingHash":"0xc926dca8e6d0abd16791f17cf2a58991"},"messageCount":2}
21:07:16 [21:07:16.743]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x1d8e71b95d1752bc8e2cc59f4d9d0e76a7dddc24ebc73b346abe5eb12af680de","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
21:07:16 [21:07:16.890]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0fbacdb80b24cde268a613cee78e8df446cf95ad62174e024558ca8798e1c08e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750194434271,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
21:07:16 [21:07:16.891]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0353cae4dd6ef81af7c51c8e7eedc1f6fccd72d44f8ec96b88deed24f271cf73","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750194434283,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
21:07:16 [21:07:16.944]
INFO:
archiver Stopped.
21:07:16 [21:07:16.962]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:19 [21:07:19.902]
INFO:
archiver:test Waiting for archiver to sync to block 2
21:07:20 [21:07:20.925]
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":"0x2ba82135c0e61bb398b2f74bd78e83adc19485a5a31754cbbae25aa9a4fdbb1a","rollingHash":"0x6050d64c1610eb7b60d75f368017b54c"},"messageCount":2}
21:07:21 [21:07:21.084]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x270d2a788260d5427d3fc2ef55c733858cb2ef064356c5d76003228c28898ce5","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750194436957,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
21:07:21 [21:07:21.086]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x18b0da1c68a53cf1d5d2838d5a0c66dc3094137ed10b5562a9e89c28715bf5f9","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750194436969,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
21:07:21 [21:07:21.165]
INFO:
archiver Stopped.
21:07:21 [21:07:21.168]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:24 [21:07:24.060]
INFO:
archiver:test Waiting for archiver to sync to block 2
21:07:24 [21:07:24.104]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
21:07:24 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
21:07:24 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
21:07:24 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
21:07:24 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
21:07:24 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
21:07:24 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
21:07:24 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
21:07:25 [21:07:25.117]
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":"0x06136409a6f823abb4cb4f57473a1d91e2c84fe576722da90b7629257a39209a","rollingHash":"0x4424747da7cdb50426b20cd2fa22b5b9"},"messageCount":2}
21:07:25 [21:07:25.293]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x301c295d4bd10dba64e93cecdbc198fe47bf93732b660c0faa3ff64d8726fb6b","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750194441179,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
21:07:25 [21:07:25.295]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1b4a608a8b1ce7142d743e1f34a01e6ef83455d546929c269811d1b9e9dfd4d8","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750194441191,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
21:07:25 [21:07:25.298]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
21:07:25 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
21:07:25 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
21:07:25 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
21:07:25 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
21:07:25 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
21:07:25 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
21:07:25 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
21:07:26 [21:07:26.410]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
21:07:26 [21:07:26.418]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
21:07:26 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
21:07:26 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
21:07:26 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
21:07:26 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
21:07:26 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
21:07:26 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
21:07:26 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
21:07:27 [21:07:27.391]
INFO:
archiver Stopped.
21:07:27 [21:07:27.394]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:27 [21:07:27.768]
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":"0x0151a119cebaa557443631b520e92157a829252d8fbe990b6ed170d0cf0f9f9c","rollingHash":"0x60e4c76f23982cf78cadda38f84d8603"},"messageCount":6}
21:07:27 [21:07:27.770]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x0151a119cebaa557443631b520e92157a829252d8fbe990b6ed170d0cf0f9f9c","rollingHash":"0x60e4c76f23982cf78cadda38f84d8603"},"remoteMessagesState":{"messagesRollingHash":"0xa916e54dd95c74db979aabaad821950c","totalMessagesInserted":5,"treeInProgress":0}}
21:07:27 [21:07:27.873]
WARN:
archiver:test Reorging L1 to L2 messages
21:07:28 [21:07:28.783]
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":"0x0151a119cebaa557443631b520e92157a829252d8fbe990b6ed170d0cf0f9f9c","rollingHash":"0x60e4c76f23982cf78cadda38f84d8603"}}
21:07:28 [21:07:28.787]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
21:07:28 [21:07:28.790]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
21:07:28 [21:07:28.812]
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":"0x1767cce0e4a27bb5851f75c6a331bc6d660412d8412198e3ff19130fa9d2b98e","rollingHash":"0x112146d8873583574aaea2d399f273a2"},"messageCount":5}
21:07:28 [21:07:28.926]
INFO:
archiver Stopped.
21:07:28 [21:07:28.930]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:29 [21:07:29.317]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
21:07:30 [21:07:30.299]
INFO:
archiver:test Waiting for archiver to sync to block 1
21:07:30 [21:07:30.407]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x19836b52c4971a91c2c9544c8e5e5dbb23cc277866671c160f124067baf3b772","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750194448941,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
21:07:30 [21:07:30.505]
INFO:
archiver Stopped.
21:07:30 [21:07:30.510]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:30 [21:07:30.938]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
21:07:32 [21:07:32.016]
INFO:
archiver:test Waiting for archiver to sync to block 1
21:07:32 [21:07:32.141]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x09651a9dd8a229f2607e5fb30eb60c1b17eaea195ecf112276783c95ec465bc7","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750194450521,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
21:07:32 [21:07:32.232]
INFO:
archiver Stopped.
21:07:32 [21:07:32.239]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:33 [21:07:33.271]
INFO:
archiver:test Syncing archiver to L1 block 6
21:07:33 [21:07:33.273]
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":"0x69639e3be4f180f9bb1a69fce1c9cc397a71c247e4114e13bbb821a2ed8ebc2e","l1BlockNumber":0}}
21:07:33 [21:07:33.292]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
21:07:33 [21:07:33.295]
INFO:
archiver Stopped.
21:07:33 [21:07:33.297]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:33 [21:07:33.711]
INFO:
archiver:test Syncing archiver to L1 block 7
21:07:33 [21:07:33.728]
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":"0x9b0f51a526a8348d79adcc484aaf0a31adfe7744182816c8557f054aafad3299","l1BlockNumber":0}}
21:07:33 [21:07:33.752]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
21:07:33 [21:07:33.768]
INFO:
archiver Stopped.
21:07:33 [21:07:33.773]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:34 [21:07:34.408]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
21:07:35 [21:07:35.429]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x25bc5ad119d2e00be73e612a64c71b6a6a854abc4c040dbcb94e6d37531a2415","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750194453784,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
21:07:35 [21:07:35.434]
INFO:
archiver Stopped.
21:07:35 [21:07:35.436]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:35 [21:07:35.912]
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":"0xc973f5e4ca691f8e1578a69e0b34ec00e5093275567b9be2ad85c5d863756005","l1BlockNumber":0}}
21:07:35 [21:07:35.923]
INFO:
archiver Stopped.
21:07:35 [21:07:35.926]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:40 [21:07:40.379]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1fad666097f6107ff5a62d2e3b1d6a8c001c78d356965d07905a64d2758842e0","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750194455937,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
21:07:40 [21:07:40.381]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x00b61d060f4fd03b5da97f1bc838b2433f2a48ecc0689447f11ba980bb15c55a","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750194455949,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
21:07:41 [21:07:41.508]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
21:07:42 [21:07:42.549]
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
21:07:42 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
21:07:42 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
21:07:42 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
21:07:42 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
21:07:42 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:07:42 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:07:42 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:07:42 newBlockNumber: 3,
21:07:42 previousBlockNumber: 1
21:07:42 }
21:07:42 [21:07:42.578]
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":"0x1fad666097f6107ff5a62d2e3b1d6a8c001c78d356965d07905a64d2758842e0","newBlockNumber":3,"updatedL1SyncPoint":70}
21:07:42 [21:07:42.580]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
21:07:42 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
21:07:42 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
21:07:42 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
21:07:42 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
21:07:42 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:07:42 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:07:42 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:07:42 newBlockNumber: 3,
21:07:42 previousBlockNumber: 1
21:07:42 }
21:07:43 [21:07:43.838]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x00b61d060f4fd03b5da97f1bc838b2433f2a48ecc0689447f11ba980bb15c55a","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750194455949,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
21:07:43 [21:07:43.839]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x070772f4d3bb49bf012888d602470edba096c8341e37b4b87007b0a50ce226d9","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750194455961,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
21:07:43 [21:07:43.924]
INFO:
archiver Stopped.
21:07:43
PASS src/archiver/archiver.test.ts (
37.014 s)
21:07:43 Archiver
21:07:43
✓ syncs l1 to l2 messages and blocks (4330 ms)
21:07:43
✓ ignores block 3 because it has been pruned (2686 ms)
21:07:43
✓ skip event search if no changes found (4220 ms)
21:07:43
✓ handles L2 reorg (6226 ms)
21:07:43
✓ handles updated messages due to L1 reorg (1533 ms)
21:07:43
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1580 ms)
21:07:43
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1724 ms)
21:07:43
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (1061 ms)
21:07:43
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (473 ms)
21:07:43
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1666 ms)
21:07:43
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (489 ms)
21:07:43
✓ handles a block gap due to a spurious L2 prune (8000 ms)
21:07:43
○ skipped handles an upcoming L2 prune
21:07:43
21:07:43
Test Suites: 1 passed, 1 total
21:07:43
Tests: 1 skipped,
12 passed, 13 total
21:07:43
Snapshots: 0 total
21:07:43
Time: 37.112 s
21:07:43
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
21:07:43
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?