Parent Log:
http://ci.aztec-labs.com/db09ed9f3e5496bc
Command: 4482f7e540fd470f yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/ee3655e025191bc85c5b3d3122eeedb44e38ffb2
Env: REF_NAME=gh-readonly-queue/next/pr-15076-60e60f99f2634ad75a76b6e103858ff9ccd041d5 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 19:11:56 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15076_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
19:12:00 [19:12:00.605]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:03 [19:12:03.611]
INFO:
archiver:test Waiting for archiver to sync to block 3
19:12:03 [19:12:03.683]
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":"0x0b92101e1c9bb7f528f2dd8b1d421b6a513aa9b6f5dad5602769037889c7fb1d","rollingHash":"0x68a9f5a258e8b4d2f380bf3568b70722"},"messageCount":2}
19:12:03 [19:12:03.863]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x25346cec48499660516b2a4ecf913eb68b1128b1f0dcde5671fe2c7ce9729a9f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750101120603,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:12:04 [19:12:04.907]
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":"0x1f4a5297d739abb62df61a1085acba7a85b1ad8a1c13406e69044d7ac40cd768","rollingHash":"0x754bdd975ea14d083c416abd11dea644"},"messageCount":4}
19:12:04 [19:12:04.967]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
19:12:05 [19:12:05.176]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2483b501ca0ec8eed0dd1f4ea932600ca9f60c76e8afd18f2ac7cdac3222eb6e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750101120615,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:12:05 [19:12:05.177]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x11925541ea50e283ea4c7d8edd498a2b002cbdd51b77d7d74c966564ca55db78","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750101120627,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
19:12:05 [19:12:05.402]
INFO:
archiver Stopped.
19:12:05 [19:12:05.406]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:08 [19:12:08.034]
INFO:
archiver:test Waiting for archiver to sync to block 2
19:12:08 [19:12:08.044]
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":"0x15d6718b9dfcec9665a64f370f1af8829330462b359a4e88286c7f46fb2a40c3","rollingHash":"0x4427bc1693960b244f15f89a36a6986c"},"messageCount":2}
19:12:08 [19:12:08.073]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x1de1c91dbe705a34bde2dc46257d052a9aa8435cf962efd585e647dea3e46783","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
19:12:08 [19:12:08.207]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1119c6f567786138b8de19b6bf1ef0ea1bc11bc33f6a71da73912c0283e6b295","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750101125417,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:12:08 [19:12:08.208]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0ab47af8240b438dabf13595fa4e8fa27a3426d43549bbd05429e18983c1a9a5","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750101125429,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:12:08 [19:12:08.296]
INFO:
archiver Stopped.
19:12:08 [19:12:08.299]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:11 [19:12:11.078]
INFO:
archiver:test Waiting for archiver to sync to block 2
19:12:12 [19:12:12.107]
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":"0x15c26a322ffd39e61f4d00bd00ae14e5b57d8e14cfeb203a7ff005b4265f7eaf","rollingHash":"0x73bc2818416b6723c985f9e6fc156f37"},"messageCount":2}
19:12:12 [19:12:12.234]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x29fc3d2b3dffe51f921af0ef7f9c0914da7eb4d8d625f3f24f39a7912a71e714","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750101128310,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:12:12 [19:12:12.235]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x04cc1bbf1422f5982f19a7b6ea7588b1118a5c92e69891d43527ff7ae32102c9","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750101128322,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:12:12 [19:12:12.325]
INFO:
archiver Stopped.
19:12:12 [19:12:12.328]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:15 [19:12:15.144]
INFO:
archiver:test Waiting for archiver to sync to block 2
19:12:15 [19:12:15.196]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
19:12:15 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
19:12:15 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
19:12:15 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
19:12:15 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
19:12:15 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
19:12:15 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
19:12:15 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
19:12:16 [19:12:16.206]
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":"0x1cf996c9c1e2b004191ccba0b9414432196a363fb972eef6a5c68a20391c8b79","rollingHash":"0x74e5a9f2ee1a7ef15cf023081327d887"},"messageCount":2}
19:12:16 [19:12:16.346]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0dc32db182749e9230ec52d71419ebaa4e659b300cce5c0bba65bd33ca1a9889","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750101132339,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:12:16 [19:12:16.347]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x13f1e29be25b9b85b7ed4e59a30bad3306446fbedd8a597ed9a48108f70da28e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750101132351,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:12:16 [19:12:16.351]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
19:12:16 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
19:12:16 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
19:12:16 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
19:12:16 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
19:12:16 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
19:12:16 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
19:12:16 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
19:12:17 [19:12:17.462]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
19:12:17 [19:12:17.464]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
19:12:17 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
19:12:17 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
19:12:17 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
19:12:17 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
19:12:17 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
19:12:17 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
19:12:17 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
19:12:18 [19:12:18.437]
INFO:
archiver Stopped.
19:12:18 [19:12:18.440]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:18 [19:12:18.863]
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":"0x15f8e18a2fa06c3a3728398bd088c0fbceb2be8c2b02058a0f569a34a7615920","rollingHash":"0xecd4da091c286e08877041e322e01b99"},"messageCount":6}
19:12:18 [19:12:18.867]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x15f8e18a2fa06c3a3728398bd088c0fbceb2be8c2b02058a0f569a34a7615920","rollingHash":"0xecd4da091c286e08877041e322e01b99"},"remoteMessagesState":{"messagesRollingHash":"0x78a8d7a2af4ed1bc3e2dc911740c132b","totalMessagesInserted":5,"treeInProgress":0}}
19:12:18 [19:12:18.958]
WARN:
archiver:test Reorging L1 to L2 messages
19:12:19 [19:12:19.883]
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":"0x15f8e18a2fa06c3a3728398bd088c0fbceb2be8c2b02058a0f569a34a7615920","rollingHash":"0xecd4da091c286e08877041e322e01b99"}}
19:12:19 [19:12:19.886]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
19:12:19 [19:12:19.887]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
19:12:19 [19:12:19.910]
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":"0x2a1f7f6a95f070f48f51061cd2635149576a4fb217c3ea2b8c58c2741f361d21","rollingHash":"0x2806a7fe9a0e0ef7986a2b7fc0cd3bee"},"messageCount":5}
19:12:19 [19:12:19.982]
INFO:
archiver Stopped.
19:12:19 [19:12:19.991]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:20 [19:12:20.370]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
19:12:21 [19:12:21.388]
INFO:
archiver:test Waiting for archiver to sync to block 1
19:12:21 [19:12:21.516]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x25e9d673da26e4bd17182375a3c779ae276837a254a7ebcf4e1e473611047c90","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750101139996,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:12:21 [19:12:21.611]
INFO:
archiver Stopped.
19:12:21 [19:12:21.615]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:21 [19:12:21.993]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
19:12:23 [19:12:23.710]
INFO:
archiver:test Waiting for archiver to sync to block 1
19:12:23 [19:12:23.803]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x040f192945f907d9040a25af746c37aa71ce4ab39e31cdff70836e78cf0a3349","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750101141626,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:12:23 [19:12:23.826]
INFO:
archiver Stopped.
19:12:23 [19:12:23.828]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:24 [19:12:24.219]
INFO:
archiver:test Syncing archiver to L1 block 6
19:12:24 [19:12:24.221]
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":"0xb9f170ca772f3dd7342f97579a4461fff153a90b060a0b636e7ebd34ce49ea0b","l1BlockNumber":0}}
19:12:24 [19:12:24.231]
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}}
19:12:24 [19:12:24.233]
INFO:
archiver Stopped.
19:12:24 [19:12:24.235]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:25 [19:12:25.227]
INFO:
archiver:test Syncing archiver to L1 block 7
19:12:25 [19:12:25.242]
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":"0xb3d1c16635e97b5f5185785deff6b9363589e0554028cffcee532c5e4cba9c30","l1BlockNumber":0}}
19:12:25 [19:12:25.269]
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}}
19:12:25 [19:12:25.272]
INFO:
archiver Stopped.
19:12:25 [19:12:25.277]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:25 [19:12:25.652]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
19:12:26 [19:12:26.619]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2bc4bc7190bfec3419b7d486bb8de7d6a4526671461d2fc4067072af9609fdb3","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750101145287,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:12:26 [19:12:26.627]
INFO:
archiver Stopped.
19:12:26 [19:12:26.630]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:26 [19:12:26.980]
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":"0x59751d89f3265b1427b98437b75f3c83e2ed84e6244cc5f04a6fc49a12abb056","l1BlockNumber":0}}
19:12:26 [19:12:26.995]
INFO:
archiver Stopped.
19:12:26 [19:12:26.996]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:30 [19:12:30.801]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2d01a8a3f478187cc1fab3f3c1bdc1147626af672c26cfb502d9c47e341b2ce5","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750101147008,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:12:30 [19:12:30.802]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0e084b31778200c30539a6704297ae215f8acb2f66bcd4e643b7ea6ca52b5c06","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750101147020,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:12:31 [19:12:31.946]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
19:12:33 [19:12:33.073]
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
19:12:33 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
19:12:33 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
19:12:33 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
19:12:33 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
19:12:33 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:12:33 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:12:33 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:12:33 newBlockNumber: 3,
19:12:33 previousBlockNumber: 1
19:12:33 }
19:12:33 [19:12:33.129]
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":"0x2d01a8a3f478187cc1fab3f3c1bdc1147626af672c26cfb502d9c47e341b2ce5","newBlockNumber":3,"updatedL1SyncPoint":70}
19:12:33 [19:12:33.131]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
19:12:33 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
19:12:33 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
19:12:33 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
19:12:33 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
19:12:33 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:12:33 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:12:33 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:12:33 newBlockNumber: 3,
19:12:33 previousBlockNumber: 1
19:12:33 }
19:12:34 [19:12:34.364]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0e084b31778200c30539a6704297ae215f8acb2f66bcd4e643b7ea6ca52b5c06","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750101147020,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:12:34 [19:12:34.366]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x2b455414f69628a376c955e22baed5e561e80a84b920199200a510c62f889583","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750101147032,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
19:12:34 [19:12:34.478]
INFO:
archiver Stopped.
19:12:34
PASS src/archiver/archiver.test.ts (
36.725 s)
19:12:34 Archiver
19:12:34
✓ syncs l1 to l2 messages and blocks (4814 ms)
19:12:34
✓ ignores block 3 because it has been pruned (2892 ms)
19:12:34
✓ skip event search if no changes found (4029 ms)
19:12:34
✓ handles L2 reorg (6112 ms)
19:12:34
✓ handles updated messages due to L1 reorg (1545 ms)
19:12:34
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1628 ms)
19:12:34
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (2213 ms)
19:12:34
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (406 ms)
19:12:34
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (1039 ms)
19:12:34
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1354 ms)
19:12:34
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (367 ms)
19:12:34
✓ handles a block gap due to a spurious L2 prune (7484 ms)
19:12:34
○ skipped handles an upcoming L2 prune
19:12:34
19:12:34
Test Suites: 1 passed, 1 total
19:12:34
Tests: 1 skipped,
12 passed, 13 total
19:12:34
Snapshots: 0 total
19:12:34
Time: 36.841 s
19:12:34
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
19:12:34
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?