Parent Log:
http://ci.aztec-labs.com/a25636d452723f66
Command: d634b34c6dd762bb yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/9b801754ba98479ee645488c29d2fda1eecbfd85
Env: REF_NAME=gh-readonly-queue/next/pr-14963-ee3655e025191bc85c5b3d3122eeedb44e38ffb2 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 20:56:35 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14963_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
20:56:39 [20:56:39.333]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:56:42 [20:56:42.033]
INFO:
archiver:test Waiting for archiver to sync to block 3
20:56:42 [20:56:42.051]
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":"0x2c24bb87556b5f78c640e60042bb5151431e0cd2fb636630066a63739f81a242","rollingHash":"0x8609559bcc47757e144b1146d5a97cc8"},"messageCount":2}
20:56:42 [20:56:42.155]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2508eefe32b0f88541f296e8f7b23ba6f123ebbadf50c9ec0dc5c342d87b370a","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750107399320,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
20:56:43 [20:56:43.176]
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":"0x23e03a611b543c30a746dc5a827fe567fcc5343d73211491bd7962e117abdcd5","rollingHash":"0xd6a330776cfcb59628e5f2b9c329b59f"},"messageCount":4}
20:56:43 [20:56:43.207]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
20:56:43 [20:56:43.384]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x09d374d5f40be7e8a7ac97d7dcfc560243553a168bbe798a19ca208fbf5edd8b","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107399332,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
20:56:43 [20:56:43.385]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x29f34e456e8bdadae81f268e1e88bf6db397942bdc80188d3795674eefe01ff1","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750107399344,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
20:56:43 [20:56:43.585]
INFO:
archiver Stopped.
20:56:43 [20:56:43.591]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:56:46 [20:56:46.354]
INFO:
archiver:test Waiting for archiver to sync to block 2
20:56:46 [20:56:46.426]
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":"0x13c5aa64eb69f8c5aa1a3ef225715a58294831f9f6b81685c4ca7c5faf7da63a","rollingHash":"0x7688b046455501de026ee7e83d4f0718"},"messageCount":2}
20:56:46 [20:56:46.450]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x14a25ccf3c0b0c26af7153c313bc6939a523c549fb1c945c717ac95c85a46048","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
20:56:46 [20:56:46.659]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1d53bc766ace1c26d03b6c3ebecf544306ee13f1e3a9c28f2b138480468c8e48","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750107403603,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
20:56:46 [20:56:46.660]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2f74060b85ab01b98e4f66f32d913797e0ae863f3662e190c345bfbbe24283e7","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107403615,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
20:56:46 [20:56:46.703]
INFO:
archiver Stopped.
20:56:46 [20:56:46.739]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:56:49 [20:56:49.537]
INFO:
archiver:test Waiting for archiver to sync to block 2
20:56:50 [20:56:50.566]
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":"0x275684f374bfdbebe907802e315da13204b32095ab7bb8cb3bb4c5ba32c0d25c","rollingHash":"0x60a52ee58ae5df30e182be40ac503ce4"},"messageCount":2}
20:56:50 [20:56:50.689]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0e8c293971659d670dfbf2ea017a2e64de3e7c67e3e27983a8722b1791ff8e81","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750107406717,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
20:56:50 [20:56:50.689]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x18b4b6cb500321aab411dab61c33cbb11b53c94ba054b2455265f5631170ac57","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107406729,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
20:56:50 [20:56:50.776]
INFO:
archiver Stopped.
20:56:50 [20:56:50.778]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:56:53 [20:56:53.557]
INFO:
archiver:test Waiting for archiver to sync to block 2
20:56:53 [20:56:53.602]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
20:56:53 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
20:56:53 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
20:56:53 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
20:56:53 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
20:56:53 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
20:56:53 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
20:56:53 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
20:56:54 [20:56:54.613]
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":"0x1ffa47341a1441044d94e48de75dbd93e9f52dfb5fd9507a93e98cf5e419a8a8","rollingHash":"0x4d8ec10969b57f2569143fa801dff41a"},"messageCount":2}
20:56:54 [20:56:54.731]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0692c8b2f05376c14908b1829c72136483951f9d5dc082d703749f1d4163a629","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750107410789,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
20:56:54 [20:56:54.732]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x073f3cf174bc4e4792dbc3842d916ddc9bc8419691e896e8376f61f01c9b638d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107410801,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
20:56:54 [20:56:54.735]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
20:56:54 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
20:56:54 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
20:56:54 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
20:56:54 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
20:56:54 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
20:56:54 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
20:56:54 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
20:56:55 [20:56:55.854]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
20:56:55 [20:56:55.856]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
20:56:55 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
20:56:55 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
20:56:55 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
20:56:55 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
20:56:55 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
20:56:55 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
20:56:55 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
20:56:56 [20:56:56.828]
INFO:
archiver Stopped.
20:56:56 [20:56:56.830]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:56:57 [20:56:57.175]
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":"0x28f601a47470e5838643a632a11c3a0c2ac2b8550e408c904f748a42b4459d18","rollingHash":"0x3e8dad475c5749f6dc494dae6d8ae2e7"},"messageCount":6}
20:56:57 [20:56:57.176]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x28f601a47470e5838643a632a11c3a0c2ac2b8550e408c904f748a42b4459d18","rollingHash":"0x3e8dad475c5749f6dc494dae6d8ae2e7"},"remoteMessagesState":{"messagesRollingHash":"0x2b1160e26c9aff9018beddb6b57bc441","totalMessagesInserted":5,"treeInProgress":0}}
20:56:57 [20:56:57.273]
WARN:
archiver:test Reorging L1 to L2 messages
20:56:58 [20:56:58.197]
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":"0x28f601a47470e5838643a632a11c3a0c2ac2b8550e408c904f748a42b4459d18","rollingHash":"0x3e8dad475c5749f6dc494dae6d8ae2e7"}}
20:56:58 [20:56:58.219]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
20:56:58 [20:56:58.227]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
20:56:58 [20:56:58.246]
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":"0x011bc969b44b2949b3ce5eae73862ef6d5c85a754f46abe8303e21b7d4f774c6","rollingHash":"0x7464c1432154ef647674c1500d81c256"},"messageCount":5}
20:56:58 [20:56:58.364]
INFO:
archiver Stopped.
20:56:58 [20:56:58.366]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:56:58 [20:56:58.895]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
20:57:00 [20:57:00.499]
INFO:
archiver:test Waiting for archiver to sync to block 1
20:57:00 [20:57:00.619]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x06cc09746b4993307ab6f6b00e433b714cbd3f0613c4a10651041d8a9e2cfcc0","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107418378,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
20:57:00 [20:57:00.713]
INFO:
archiver Stopped.
20:57:00 [20:57:00.715]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:57:01 [20:57:01.120]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
20:57:02 [20:57:02.013]
INFO:
archiver:test Waiting for archiver to sync to block 1
20:57:02 [20:57:02.108]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0d357c637dc6eb366d4e75bd48b153a6bd8cba2875584bf6f21327cc712d01f6","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750107420726,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
20:57:02 [20:57:02.118]
INFO:
archiver Stopped.
20:57:02 [20:57:02.121]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:57:02 [20:57:02.515]
INFO:
archiver:test Syncing archiver to L1 block 6
20:57:02 [20:57:02.516]
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":"0x00edf2914bd5cd67746a5ef31733a2ad7d5149caec35eb631fa1c132a3846958","l1BlockNumber":0}}
20:57:02 [20:57:02.569]
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}}
20:57:02 [20:57:02.582]
INFO:
archiver Stopped.
20:57:02 [20:57:02.594]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:57:03 [20:57:03.199]
INFO:
archiver:test Syncing archiver to L1 block 7
20:57:03 [20:57:03.213]
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":"0xf69c21392b70147d98eeab556166c2383f23aa6543ee848b08b151d32a773b21","l1BlockNumber":0}}
20:57:03 [20:57:03.228]
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}}
20:57:03 [20:57:03.230]
INFO:
archiver Stopped.
20:57:03 [20:57:03.232]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:57:03 [20:57:03.610]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
20:57:04 [20:57:04.904]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0a79d023767da40445b801d31a1318e99e30ba0f9358145766e6ca42b5217e89","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750107423244,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
20:57:04 [20:57:04.912]
INFO:
archiver Stopped.
20:57:04 [20:57:04.915]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:57:05 [20:57:05.332]
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":"0x7daa6c70350e0b87caf87606012368f5d7feed14b07d9c84b6f8db15f3328daf","l1BlockNumber":0}}
20:57:05 [20:57:05.347]
INFO:
archiver Stopped.
20:57:05 [20:57:05.349]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:57:09 [20:57:09.423]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0f978cb6af52b0889994b1062811558d0bccf4c6e393d7722d33176c1ce34986","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750107425360,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
20:57:09 [20:57:09.430]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1159888172a20e0c3e06dc295a0a31160b9c85492224db661b221ac747aa4d1f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107425372,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
20:57:10 [20:57:10.617]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
20:57:11 [20:57:11.703]
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
20:57:11 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
20:57:11 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
20:57:11 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
20:57:11 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
20:57:11 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:57:11 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:57:11 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:57:11 newBlockNumber: 3,
20:57:11 previousBlockNumber: 1
20:57:11 }
20:57:11 [20:57:11.732]
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":"0x0f978cb6af52b0889994b1062811558d0bccf4c6e393d7722d33176c1ce34986","newBlockNumber":3,"updatedL1SyncPoint":70}
20:57:11 [20:57:11.733]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
20:57:11 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
20:57:11 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
20:57:11 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
20:57:11 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
20:57:11 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:57:11 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:57:11 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:57:11 newBlockNumber: 3,
20:57:11 previousBlockNumber: 1
20:57:11 }
20:57:12 [20:57:12.920]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1159888172a20e0c3e06dc295a0a31160b9c85492224db661b221ac747aa4d1f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107425372,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
20:57:12 [20:57:12.921]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x20632377449fb4de5298c81ca25a608ae36238f14719a6bf682cf0600e510a62","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750107425384,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
20:57:13 [20:57:13.010]
INFO:
archiver Stopped.
20:57:13
PASS src/archiver/archiver.test.ts (
36.862 s)
20:57:13 Archiver
20:57:13
✓ syncs l1 to l2 messages and blocks (4281 ms)
20:57:13
✓ ignores block 3 because it has been pruned (3113 ms)
20:57:13
✓ skip event search if no changes found (4072 ms)
20:57:13
✓ handles L2 reorg (6052 ms)
20:57:13
✓ handles updated messages due to L1 reorg (1536 ms)
20:57:13
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (2348 ms)
20:57:13
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1405 ms)
20:57:13
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (469 ms)
20:57:13
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (641 ms)
20:57:13
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1682 ms)
20:57:13
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (433 ms)
20:57:13
✓ handles a block gap due to a spurious L2 prune (7663 ms)
20:57:13
○ skipped handles an upcoming L2 prune
20:57:13
20:57:13
Test Suites: 1 passed, 1 total
20:57:13
Tests: 1 skipped,
12 passed, 13 total
20:57:13
Snapshots: 0 total
20:57:13
Time: 36.946 s
20:57:13
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
20:57:13
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?