Parent Log:
http://ci.aztec-labs.com/8a1d8dba37493eec
Command: 63df5e0f43e4b264 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/7d223783d91db15002a09abc1b52d1455eb3e3da
Env: REF_NAME=gh-readonly-queue/next/pr-14161-97080f178c0a3e244c64b3c17bf255bed63fc3cf CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Mon Jun 16 10:45:44 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-14161_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
10:45:47 [10:45:47.139]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:45:49 [10:45:49.835]
INFO:
archiver:test Waiting for archiver to sync to block 3
10:45:49 [10:45:49.847]
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":"0x2a00c162ddb2b55081d1339bb265c4809767b8c302e567308784194390b6e6fd","rollingHash":"0xba50d3aa51f5db1dbb6fcb1412b0d66d"},"messageCount":2}
10:45:49 [10:45:49.915]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2601d98c72a9242abbfb0dd33f24134c61abe58145e9b237386ae266c628d903","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750070747149,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:45:50 [10:45:50.930]
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":"0x2268a68e6fed101970e43c4f408d94971daa9e01a33b2a62212e47de64703c5e","rollingHash":"0x4af8269ec0b19730fc91a4dc4d4f0290"},"messageCount":4}
10:45:50 [10:45:50.951]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
10:45:51 [10:45:51.066]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x15f7bc9bfe5f952b89a3904972c8e5bd572f75b1d91f185dad124abf4c0a30a7","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750070747161,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:45:51 [10:45:51.066]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x1c5be95b49a902af720c086fd0d6d9dc77e88d372b2e77b191b8f94d32a8571e","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750070747173,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
10:45:51 [10:45:51.249]
INFO:
archiver Stopped.
10:45:51 [10:45:51.253]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:45:53 [10:45:53.742]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:45:53 [10:45:53.749]
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":"0x0a7ddd833487415edee6d5bac1ded7fa48df72287d57a779a75cf04dc8a8effd","rollingHash":"0x5c8c14c58e846d47218a3a5b52ba1535"},"messageCount":2}
10:45:53 [10:45:53.765]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x076c55df0719a804a6984d022f707f9d71010300a29824435d06b76fa28effbd","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
10:45:53 [10:45:53.844]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2a47575393d0692b5057a0cf363d343f5c9236494489513c2307fe576573e365","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750070751264,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:45:53 [10:45:53.845]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x18cfabfee3eeaf067d7f0421e840b2e5851f1735bae8079c49b47de768c33773","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750070751276,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:45:53 [10:45:53.944]
INFO:
archiver Stopped.
10:45:53 [10:45:53.946]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:45:56 [10:45:56.423]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:45:57 [10:45:57.443]
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":"0x0557726c28414c5d59b529a4d540b1fb98b9b96e89fad549876459be8cc42de5","rollingHash":"0x748180e0abc271d8c1c6aad24dabff66"},"messageCount":2}
10:45:57 [10:45:57.538]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0a3bb070dcef259121164c5c4fc0003209df32aa8f3b25223a0e1fa7bcda31f4","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750070753958,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:45:57 [10:45:57.538]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x26440f5c55087c06e91473ae3b36463d9a3debd1aabf7d066ccf4b7a7f1aa134","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750070753970,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:45:57 [10:45:57.631]
INFO:
archiver Stopped.
10:45:57 [10:45:57.632]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:00 [10:46:00.109]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:46:00 [10:46:00.147]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
10:46:00 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:46:00 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:328:9)
10:46:00 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
10:46:00 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
10:46:00 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
10:46:00 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:46:00 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:46:01 [10:46:01.156]
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":"0x171436c63f3ac6bc4cce0f9d17fd28da42dfe38f1ef0e122899567b7a75b471a","rollingHash":"0xd56f536866a15f827d8014638e35b32c"},"messageCount":2}
10:46:01 [10:46:01.252]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x155dfb8a162f147d9a0bb141bc570127ccd3d37e09ef52e270bb0413a2efbd38","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750070757644,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:46:01 [10:46:01.252]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x01cb0754f91139dde79f9bd35619a93f3b9142883d59e061a1c1b8d7e8af4937","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750070757656,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:46:01 [10:46:01.255]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
10:46:01 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:46:01 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:328:9)
10:46:01 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
10:46:01 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
10:46:01 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
10:46:01 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:46:01 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:46:02 [10:46:02.337]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
10:46:02 [10:46:02.339]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
10:46:02 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:46:02 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:328:9)
10:46:02 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
10:46:02 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
10:46:02 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
10:46:02 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:46:02 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:46:03 [10:46:03.354]
ERROR:
archiver Error in running promise: TypeError: (intermediate value) is not iterable
10:46:03 at Archiver.handleL2blocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:595:7)
10:46:03 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:326:28)
10:46:03 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:46:03 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:46:03 at RunningPromise.stop (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:82:9)
10:46:03 at Archiver.stop (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:887:5)
10:46:03 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.test.ts:248:5)
10:46:03 [10:46:03.355]
INFO:
archiver Stopped.
10:46:03 [10:46:03.356]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:03 [10:46:03.600]
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":"0x194e07ed48f0a876d5d3a6c9b38ce0f53b4487e3ca9ce725d6b909f067aaaefc","rollingHash":"0x49b2d3fbf064375c61d0ea42e6fca74b"},"messageCount":6}
10:46:03 [10:46:03.601]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x194e07ed48f0a876d5d3a6c9b38ce0f53b4487e3ca9ce725d6b909f067aaaefc","rollingHash":"0x49b2d3fbf064375c61d0ea42e6fca74b"},"remoteMessagesState":{"messagesRollingHash":"0xd23f87d2b220c882407db66ba170ccdb","totalMessagesInserted":5,"treeInProgress":0}}
10:46:03 [10:46:03.698]
WARN:
archiver:test Reorging L1 to L2 messages
10:46:04 [10:46:04.609]
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":"0x194e07ed48f0a876d5d3a6c9b38ce0f53b4487e3ca9ce725d6b909f067aaaefc","rollingHash":"0x49b2d3fbf064375c61d0ea42e6fca74b"}}
10:46:04 [10:46:04.610]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
10:46:04 [10:46:04.611]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
10:46:04 [10:46:04.624]
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":"0x1e50d8c5b28acefdd37121c285becd600c63eae0b801bcfab62c00bc47c5a8cf","rollingHash":"0x3960b917a995819de35cd6df1a11ae86"},"messageCount":5}
10:46:04 [10:46:04.707]
INFO:
archiver Stopped.
10:46:04 [10:46:04.709]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:04 [10:46:04.946]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
10:46:05 [10:46:05.680]
INFO:
archiver:test Waiting for archiver to sync to block 1
10:46:05 [10:46:05.737]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2513ebb9e88647ff16f93c53db1a10d02a55e77ac01bb0d6c752d8c401889dc9","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750070764720,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:46:05 [10:46:05.783]
INFO:
archiver Stopped.
10:46:05 [10:46:05.784]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:06 [10:46:06.022]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
10:46:06 [10:46:06.759]
INFO:
archiver:test Waiting for archiver to sync to block 1
10:46:06 [10:46:06.823]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1dedb93998e9d9f856053b229443b02c30b6d604bc415375c310c5a89aedef7d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750070765796,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:46:06 [10:46:06.862]
INFO:
archiver Stopped.
10:46:06 [10:46:06.863]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:07 [10:46:07.106]
INFO:
archiver:test Syncing archiver to L1 block 6
10:46:07 [10:46:07.107]
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":"0xf9164158e0b87ed62e2c7bcc3ba8b3b92a9183e19c5cbf9518f63741cc114c96","l1BlockNumber":0}}
10:46:07 [10:46:07.120]
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}}
10:46:07 [10:46:07.121]
INFO:
archiver Stopped.
10:46:07 [10:46:07.123]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:07 [10:46:07.364]
INFO:
archiver:test Syncing archiver to L1 block 7
10:46:07 [10:46:07.365]
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":"0x367211442f2993aed3d6167d86f93b5be0574cac5398993ccb3d8154e90e3ab8","l1BlockNumber":0}}
10:46:07 [10:46:07.377]
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}}
10:46:07 [10:46:07.379]
INFO:
archiver Stopped.
10:46:07 [10:46:07.381]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:07 [10:46:07.650]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
10:46:08 [10:46:08.482]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x01af577b85f0fa9d763aa4d273511b4c72e6f442d4945485a4cfb433e4d51a64","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750070767392,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:46:08 [10:46:08.494]
INFO:
archiver Stopped.
10:46:08 [10:46:08.495]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:08 [10:46:08.805]
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":"0x3a9614326a312d6c69f0c9a6b7a3127c9f3d2c99e4fc71e7399dceee9f5592d9","l1BlockNumber":0}}
10:46:08 [10:46:08.808]
INFO:
archiver Stopped.
10:46:08 [10:46:08.809]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:46:11 [10:46:11.404]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x00c91c849714ef07c65002ad0dbc53b0f9f0903016593e8199d04f76eba22122","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750070768821,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:46:11 [10:46:11.404]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x238e85c17d103979bd997b9511ff40de13df3ca599e06626dc10a0a69a5028fe","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750070768833,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:46:12 [10:46:12.495]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
10:46:13 [10:46:13.533]
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
10:46:13 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
10:46:13 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
10:46:13 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
10:46:13 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
10:46:13 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:46:13 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:46:13 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:46:13 newBlockNumber: 3,
10:46:13 previousBlockNumber: 1
10:46:13 }
10:46:13 [10:46:13.549]
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":"0x00c91c849714ef07c65002ad0dbc53b0f9f0903016593e8199d04f76eba22122","newBlockNumber":3,"updatedL1SyncPoint":70}
10:46:13 [10:46:13.549]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
10:46:13 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
10:46:13 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
10:46:13 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
10:46:13 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
10:46:13 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:46:13 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:46:13 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:46:13 newBlockNumber: 3,
10:46:13 previousBlockNumber: 1
10:46:13 }
10:46:14 [10:46:14.653]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x238e85c17d103979bd997b9511ff40de13df3ca599e06626dc10a0a69a5028fe","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750070768833,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:46:14 [10:46:14.654]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x11bda4e2393e50970a8054203008f598310bfbb64c1eacaa9060f0cc367aa981","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750070768845,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
10:46:14 [10:46:14.747]
INFO:
archiver Stopped.
10:46:14
PASS src/archiver/archiver.test.ts (
29.788 s)
10:46:14 Archiver
10:46:14
✓ syncs l1 to l2 messages and blocks (4115 ms)
10:46:14
✓ ignores block 3 because it has been pruned (2693 ms)
10:46:14
✓ skip event search if no changes found (3687 ms)
10:46:14
✓ handles L2 reorg (5723 ms)
10:46:14
✓ handles updated messages due to L1 reorg (1353 ms)
10:46:14
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1075 ms)
10:46:14
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1079 ms)
10:46:14
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (260 ms)
10:46:14
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (257 ms)
10:46:14
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1114 ms)
10:46:14
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (313 ms)
10:46:14
✓ handles a block gap due to a spurious L2 prune (5939 ms)
10:46:14
○ skipped handles an upcoming L2 prune
10:46:14
10:46:14
Test Suites: 1 passed, 1 total
10:46:14
Tests: 1 skipped,
12 passed, 13 total
10:46:14
Snapshots: 0 total
10:46:14
Time: 29.863 s
10:46:14
Ran all test suites matching /archiver\/src\/archiver\/archiver.test.ts/i
.
10:46:14
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?