Parent Log:
http://ci.aztec-labs.com/943200330be9ae5b
Command: 61f8e44af0fc4001 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/e56baa7f24bac54baf9e2f22f6f33ae6fa8b8c0f
Env: REF_NAME=gh-readonly-queue/next/pr-14891-76ca48a2187e3506bb464eae574e49476c2876ca CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 13 19:21:36 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14891_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:21:40 [19:21:40.218]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:21:43 [19:21:43.102]
INFO:
archiver:test Waiting for archiver to sync to block 3
19:21:43 [19:21:43.127]
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":"0x2c25f27db11f6fe166b39b871e450f97c8184393e7c84f3df918a98d157788d9","rollingHash":"0xfdc7d489d1bc0104a6aac5122f423ce3"},"messageCount":2}
19:21:43 [19:21:43.212]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2ce4768a018261714ed17020cd644c1df8d289b44eb2c94af442d51b2195e3c3","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749842500226,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:21:44 [19:21:44.236]
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":"0x0ff981290ca7fa8c79765dc822996df29e8c7a40ec559ded8abf75c0f75e4e3a","rollingHash":"0xc38585410829b078e5f71096ed49d161"},"messageCount":4}
19:21:44 [19:21:44.263]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
19:21:44 [19:21:44.380]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0cd5a852bd3a26ef0b227e6eb62690d85aa4e453324a7b7e189425cb4f1288c9","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749842500238,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:21:44 [19:21:44.382]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x0ec5b3fa8935c29fff48816559baef834f626dfef85dffd9f8e29f4fe84d844d","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749842500250,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
19:21:44 [19:21:44.595]
INFO:
archiver Stopped.
19:21:44 [19:21:44.600]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:21:47 [19:21:47.100]
INFO:
archiver:test Waiting for archiver to sync to block 2
19:21:47 [19:21:47.114]
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":"0x2f3a590c0f8caed28e88e21a1e0f78ca8f6b2b86fef611c80c59ab656733b607","rollingHash":"0x3351235040d87d3627f173f6aeb8d820"},"messageCount":2}
19:21:47 [19:21:47.140]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x298b10043ee2661b8829ca3cc271111790972c3adedec56cf19b162212358056","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
19:21:47 [19:21:47.278]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x18c289b063172224301ca5ef0f9399ac1dc9fd122ab359d514a2c73ded53991b","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749842504611,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:21:47 [19:21:47.279]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x054ea8036c47e356bcdf8e1ef89aa8afb1aa2fc2a88552ef853df675519201bd","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749842504623,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:21:47 [19:21:47.329]
INFO:
archiver Stopped.
19:21:47 [19:21:47.342]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:21:49 [19:21:49.890]
INFO:
archiver:test Waiting for archiver to sync to block 2
19:21:50 [19:21:50.975]
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":"0x08b152a5c4e293848d1c36da6dc3daa44c2417fc838879d4efd1b62481ffc589","rollingHash":"0x0a07931fdea91a72aa320d79e53d5555"},"messageCount":2}
19:21:51 [19:21:51.112]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0cd5cae2f4d96a42a1444dfab1e0b975e9681192ce86a607352b0977ee632e58","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749842507343,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:21:51 [19:21:51.113]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x08cd746a4dd5aee962984d1e342cd01513787bf78fc674b16fdb31962f6c483a","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749842507355,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:21:51 [19:21:51.196]
INFO:
archiver Stopped.
19:21:51 [19:21:51.199]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:21:54 [19:21:54.015]
INFO:
archiver:test Waiting for archiver to sync to block 2
19:21:54 [19:21:54.071]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
19:21:54 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
19:21:54 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:328:9)
19:21:54 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
19:21:54 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
19:21:54 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
19:21:54 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
19:21:54 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
19:21:55 [19:21:55.082]
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":"0x17b0ab3cc29bac93bec2f93b319f7a0353fab4e8b44196a0f464d5de92bb026e","rollingHash":"0xe422d6e2cbcaebcff5f279d8cb6d2422"},"messageCount":2}
19:21:55 [19:21:55.209]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x18f5f0db04d0a80a7834d4f826a33511e1d8a0859417f71ca32e782d7bfd3151","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749842511209,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:21:55 [19:21:55.211]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x026f92b00c139f651a82f7115f8bce553316495d975f6132141da4cc8a19ecfe","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749842511221,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:21:55 [19:21:55.214]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
19:21:55 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
19:21:55 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:328:9)
19:21:55 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
19:21:55 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
19:21:55 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
19:21:55 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
19:21:55 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
19:21:56 [19:21:56.361]
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:21:56 [19:21:56.371]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
19:21:56 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
19:21:56 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:328:9)
19:21:56 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
19:21:56 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
19:21:56 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
19:21:56 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
19:21:56 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
19:21:57 [19:21:57.307]
INFO:
archiver Stopped.
19:21:57 [19:21:57.311]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:21:57 [19:21:57.709]
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":"0x174cccea1269d64cb44c6989bcc3168bbede7475876d5d58ab1a9244d76061ec","rollingHash":"0x1f1bb27baa38acd1f52b14d952312ed0"},"messageCount":6}
19:21:57 [19:21:57.710]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x174cccea1269d64cb44c6989bcc3168bbede7475876d5d58ab1a9244d76061ec","rollingHash":"0x1f1bb27baa38acd1f52b14d952312ed0"},"remoteMessagesState":{"messagesRollingHash":"0x5f6093b44027b1d87161ba06f0106138","totalMessagesInserted":5,"treeInProgress":0}}
19:21:57 [19:21:57.801]
WARN:
archiver:test Reorging L1 to L2 messages
19:21:58 [19:21:58.724]
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":"0x174cccea1269d64cb44c6989bcc3168bbede7475876d5d58ab1a9244d76061ec","rollingHash":"0x1f1bb27baa38acd1f52b14d952312ed0"}}
19:21:58 [19:21:58.727]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
19:21:58 [19:21:58.728]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
19:21:58 [19:21:58.744]
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":"0x0078b7d06c405d532e6be2d5e8736f7e33a672dd9c4f08ceee23d592e1730c96","rollingHash":"0xf4e4b3b915dc9270d03faab02c06e461"},"messageCount":5}
19:21:58 [19:21:58.840]
INFO:
archiver Stopped.
19:21:58 [19:21:58.843]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:21:59 [19:21:59.198]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
19:22:00 [19:22:00.317]
INFO:
archiver:test Waiting for archiver to sync to block 1
19:22:00 [19:22:00.424]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x125fe4d3f3cd6130d0661f4de34c58ec60dd624fcb4baed1cbac9302de66492e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749842518853,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:22:00 [19:22:00.527]
INFO:
archiver Stopped.
19:22:00 [19:22:00.529]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:22:00 [19:22:00.952]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
19:22:02 [19:22:02.027]
INFO:
archiver:test Waiting for archiver to sync to block 1
19:22:02 [19:22:02.157]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x15c9134f6a16b0ec20a75a6d0f30ea3707a29ae48c93fbcfc829d726709b51b3","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749842520540,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:22:02 [19:22:02.252]
INFO:
archiver Stopped.
19:22:02 [19:22:02.256]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:22:02 [19:22:02.613]
INFO:
archiver:test Syncing archiver to L1 block 6
19:22:02 [19:22:02.614]
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":"0xf676073d528f40e143593a820b6287beaa554ca2aaa2398db26010479c4fc5b9","l1BlockNumber":0}}
19:22:02 [19:22:02.649]
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:22:02 [19:22:02.660]
INFO:
archiver Stopped.
19:22:02 [19:22:02.663]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:22:03 [19:22:03.176]
INFO:
archiver:test Syncing archiver to L1 block 7
19:22:03 [19:22:03.177]
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":"0xd28a618cebb0aa1cda53aaf889dc43f6277d912ae24f35207a6ac624782f6a31","l1BlockNumber":0}}
19:22:03 [19:22:03.201]
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:22:03 [19:22:03.208]
INFO:
archiver Stopped.
19:22:03 [19:22:03.212]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:22:03 [19:22:03.671]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
19:22:04 [19:22:04.561]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0e3838f8fb4d1e7fa33ad93d6c74945335c891c147f1b5ddd02798a155726be9","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749842523223,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:22:04 [19:22:04.573]
INFO:
archiver Stopped.
19:22:04 [19:22:04.576]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:22:04 [19:22:04.966]
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":"0x3d6f8543c6ead1dfd77435fbe53fcf238e1833d5f8410503d9adbf7159822a35","l1BlockNumber":0}}
19:22:04 [19:22:04.994]
INFO:
archiver Stopped.
19:22:04 [19:22:04.997]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:22:08 [19:22:08.884]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2ce71cbad10af66bb68dc20c4387669d29101332115be2e07c1a8b70df320080","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749842525008,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:22:08 [19:22:08.885]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0f6093841f0c26449eb1ebf2883252edbd988e1ba5396f2408fe776607d957ac","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749842525020,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:22:10 [19:22:10.048]
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:22:11 [19:22:11.103]
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:22:11 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
19:22:11 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
19:22:11 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
19:22:11 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
19:22:11 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:22:11 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:22:11 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:22:11 newBlockNumber: 3,
19:22:11 previousBlockNumber: 1
19:22:11 }
19:22:11 [19:22:11.125]
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":"0x2ce71cbad10af66bb68dc20c4387669d29101332115be2e07c1a8b70df320080","newBlockNumber":3,"updatedL1SyncPoint":70}
19:22:11 [19:22:11.126]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
19:22:11 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
19:22:11 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
19:22:11 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
19:22:11 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
19:22:11 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:22:11 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:22:11 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:22:11 newBlockNumber: 3,
19:22:11 previousBlockNumber: 1
19:22:11 }
19:22:12 [19:22:12.327]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0f6093841f0c26449eb1ebf2883252edbd988e1ba5396f2408fe776607d957ac","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749842525020,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:22:12 [19:22:12.329]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x29923917f7431d7d2986de32a29f1f1e70a270878b248f494bd7a6846fa2280c","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749842525032,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
19:22:12 [19:22:12.332]
INFO:
archiver Stopped.
19:22:12
PASS src/archiver/archiver.test.ts (
34.828 s)
19:22:12 Archiver
19:22:12
✓ syncs l1 to l2 messages and blocks (4386 ms)
19:22:12
✓ ignores block 3 because it has been pruned (2732 ms)
19:22:12
✓ skip event search if no changes found (3866 ms)
19:22:12
✓ handles L2 reorg (6111 ms)
19:22:12
✓ handles updated messages due to L1 reorg (1532 ms)
19:22:12
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1686 ms)
19:22:12
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1726 ms)
19:22:12
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (407 ms)
19:22:12
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (547 ms)
19:22:12
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1364 ms)
19:22:12
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (420 ms)
19:22:12
✓ handles a block gap due to a spurious L2 prune (7336 ms)
19:22:12
○ skipped handles an upcoming L2 prune
19:22:12
19:22:12
Test Suites: 1 passed, 1 total
19:22:12
Tests: 1 skipped,
12 passed, 13 total
19:22:12
Snapshots: 0 total
19:22:12
Time: 34.907 s
19:22:12
Ran all test suites matching /archiver\/src\/archiver\/archiver.test.ts/i
.
19:22:12
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?