Parent Log:
http://ci.aztec-labs.com/ea435d2af522830a
Command: 557c108a8ed544a3 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/ed4f6d71e2ea98f43186114eb914d54b87dd1183
Env: REF_NAME=gh-readonly-queue/next/pr-15116-433ba6218aed45169029991a493e4232b30b8ec6 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 19:33:25 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15116_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
19:33:29 [19:33:29.442]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:32 [19:33:32.529]
INFO:
archiver:test Waiting for archiver to sync to block 3
19:33:32 [19:33:32.544]
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":"0x1733a4aecdcec199e9f45f23677702a76bd10685e4a8e2a3e802fde5b0187129","rollingHash":"0x1a461d0384a6aedda2a25ee1f95bc4d7"},"messageCount":2}
19:33:32 [19:33:32.640]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0b04a5058473e906857a7b36de1526c642a9e398ef1313713d7bf6d9b41b3dc8","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750188809434,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:33:33 [19:33:33.661]
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":"0x00760e565b80368957c275173f28b668d99d708461088dc592bafb3a8d55196f","rollingHash":"0x826ed83199d10a2a6339dea58e3649fd"},"messageCount":4}
19:33:33 [19:33:33.692]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
19:33:33 [19:33:33.880]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1974ed26e43efea19725480d90befa5b6b257a6fdf4903b5638ed81919dcd9ab","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750188809446,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:33:33 [19:33:33.881]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x21c584147409c5575b6e2a882e8bf18196868a23688351bd22f4c02748069858","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750188809458,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
19:33:34 [19:33:34.064]
INFO:
archiver Stopped.
19:33:34 [19:33:34.067]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:36 [19:33:36.872]
INFO:
archiver:test Waiting for archiver to sync to block 2
19:33:36 [19:33:36.881]
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":"0x238ed1db948456fcc95aa09af80f9e4737e8ddb5a62e7364a30e1310b9455607","rollingHash":"0xade9439e05c0c09ab1f67ce5a02d8b43"},"messageCount":2}
19:33:36 [19:33:36.901]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x24b7db923a294215706d7e3594ce100b9d9321ccc86528ab15248479f78e06b0","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
19:33:36 [19:33:36.999]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x155494d9d899b386b6b82963b9389aa8096188b1a036a873fef605f84e6232aa","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750188814079,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:33:37 [19:33:37.000]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x125cbfe079c2ca8a763825b7decd0e9e9d67c93415e9c916cf57d9c2c74cf6a4","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750188814091,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:33:37 [19:33:37.088]
INFO:
archiver Stopped.
19:33:37 [19:33:37.090]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:39 [19:33:39.526]
INFO:
archiver:test Waiting for archiver to sync to block 2
19:33:40 [19:33:40.552]
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":"0x1147d5351b7860b4555479f066cdba43dc8604d47068672041721248b1aeafb2","rollingHash":"0x6047748f366d107126b0e3104f5d66ab"},"messageCount":2}
19:33:40 [19:33:40.726]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x257481dc38483196593ebab297386de0114cfd681de0a981aa62130a62466f4e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750188817102,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:33:40 [19:33:40.727]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1b6c4e37bff026ac21a33a87016fba29501b6a44cc4698e96bc7f1b3eb40560c","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750188817114,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:33:40 [19:33:40.804]
INFO:
archiver Stopped.
19:33:40 [19:33:40.806]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:43 [19:33:43.737]
INFO:
archiver:test Waiting for archiver to sync to block 2
19:33:43 [19:33:43.780]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
19:33:43 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
19:33:43 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
19:33:43 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
19:33:43 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
19:33:43 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
19:33:43 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
19:33:43 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
19:33:44 [19:33:44.789]
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":"0x25d07298f12423837f7826aaffc347e7d565902291fa2194454fb569bf8b69e4","rollingHash":"0x29471401ae70185a62edaf57208fdadf"},"messageCount":2}
19:33:44 [19:33:44.921]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x22fc7f3bab6ed7de3ad6d879398826277912f141604fd69546898cac62d610b9","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750188820817,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:33:44 [19:33:44.922]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x04e4fca56395f446b76ae24c7f1e96b8d0088ecdabdfbe4bfc2929b60a728ff5","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750188820829,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:33:44 [19:33:44.924]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
19:33:44 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
19:33:44 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
19:33:44 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
19:33:44 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
19:33:44 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
19:33:44 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
19:33:44 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
19:33:46 [19:33:46.047]
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:33:46 [19:33:46.052]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
19:33:46 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
19:33:46 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
19:33:46 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
19:33:46 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
19:33:46 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
19:33:46 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
19:33:46 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
19:33:47 [19:33:47.013]
INFO:
archiver Stopped.
19:33:47 [19:33:47.016]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:47 [19:33:47.414]
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":"0x1bb6238e033bc84136a56068ebb19c4bfda8aa6a0946b2211b0a3aec86e43b18","rollingHash":"0x210de5aa4d33741039ad6b904d2d1594"},"messageCount":6}
19:33:47 [19:33:47.415]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x1bb6238e033bc84136a56068ebb19c4bfda8aa6a0946b2211b0a3aec86e43b18","rollingHash":"0x210de5aa4d33741039ad6b904d2d1594"},"remoteMessagesState":{"messagesRollingHash":"0x734971654e27e6ac92064efa31ee19fb","totalMessagesInserted":5,"treeInProgress":0}}
19:33:47 [19:33:47.508]
WARN:
archiver:test Reorging L1 to L2 messages
19:33:48 [19:33:48.425]
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":"0x1bb6238e033bc84136a56068ebb19c4bfda8aa6a0946b2211b0a3aec86e43b18","rollingHash":"0x210de5aa4d33741039ad6b904d2d1594"}}
19:33:48 [19:33:48.427]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
19:33:48 [19:33:48.429]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
19:33:48 [19:33:48.441]
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":"0x195128cbf4e3417eec70c4a89d8b9bc4d1750f5a0556f4c518405808f6aa1b1b","rollingHash":"0x664ebda1fa7f8dd8e516e39c58ed0a57"},"messageCount":5}
19:33:48 [19:33:48.532]
INFO:
archiver Stopped.
19:33:48 [19:33:48.535]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:48 [19:33:48.909]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
19:33:49 [19:33:49.814]
INFO:
archiver:test Waiting for archiver to sync to block 1
19:33:49 [19:33:49.906]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x24ae9315ff302f97b79f408aa9433482726a0d2d3c97c6289bb690d1c3e26415","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750188828546,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:33:49 [19:33:49.918]
INFO:
archiver Stopped.
19:33:49 [19:33:49.922]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:50 [19:33:50.315]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
19:33:51 [19:33:51.438]
INFO:
archiver:test Waiting for archiver to sync to block 1
19:33:51 [19:33:51.573]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2a426ad713d23722ba3d84a69c1d7c8834462fa684e2c52e937df2e4d41cf917","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750188829932,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:33:51 [19:33:51.665]
INFO:
archiver Stopped.
19:33:51 [19:33:51.673]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:52 [19:33:52.101]
INFO:
archiver:test Syncing archiver to L1 block 6
19:33:52 [19:33:52.102]
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":"0x88d874fd8afea34f3ebf02f183f74d5c59ff7af5331e74f779e004110c5f2c7d","l1BlockNumber":0}}
19:33:52 [19:33:52.130]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
19:33:52 [19:33:52.137]
INFO:
archiver Stopped.
19:33:52 [19:33:52.140]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:52 [19:33:52.574]
INFO:
archiver:test Syncing archiver to L1 block 7
19:33:52 [19:33:52.580]
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":"0x195b50e4a1df44b116b928ac744c3b7e41fe9193c367a4ddde77d395baae01f0","l1BlockNumber":0}}
19:33:52 [19:33:52.616]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
19:33:52 [19:33:52.627]
INFO:
archiver Stopped.
19:33:52 [19:33:52.633]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:53 [19:33:53.304]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
19:33:54 [19:33:54.734]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x24dda8bf79a6819bca814b0de065f96e9c556d0bfdde72dd67ecb329b50f562f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750188832641,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:33:54 [19:33:54.742]
INFO:
archiver Stopped.
19:33:54 [19:33:54.747]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:55 [19:33:55.109]
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":"0x6bc09d03e1a78ea050ea3a86f891cbcf6f3eebb39c627d88d1f4cbfab5eaaee0","l1BlockNumber":0}}
19:33:55 [19:33:55.123]
INFO:
archiver Stopped.
19:33:55 [19:33:55.125]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:59 [19:33:59.193]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1e17c67967243e241049481d94b825adf5eba5c57718689d08f68c3f27889327","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750188835137,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:33:59 [19:33:59.195]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x156f38e2624f74eb392fd78a0d9de060f06f69a4084e8a035fc4b89979e543e1","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750188835149,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:34:00 [19:34:00.359]
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:34:01 [19:34:01.431]
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:34:01 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
19:34:01 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
19:34:01 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
19:34:01 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
19:34:01 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:34:01 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:34:01 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:34:01 newBlockNumber: 3,
19:34:01 previousBlockNumber: 1
19:34:01 }
19:34:01 [19:34:01.462]
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":"0x1e17c67967243e241049481d94b825adf5eba5c57718689d08f68c3f27889327","newBlockNumber":3,"updatedL1SyncPoint":70}
19:34:01 [19:34:01.463]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
19:34:01 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
19:34:01 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
19:34:01 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
19:34:01 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
19:34:01 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:34:01 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:34:01 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:34:01 newBlockNumber: 3,
19:34:01 previousBlockNumber: 1
19:34:01 }
19:34:02 [19:34:02.660]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x156f38e2624f74eb392fd78a0d9de060f06f69a4084e8a035fc4b89979e543e1","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750188835149,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:34:02 [19:34:02.661]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x23450a8dd6c9b89ecb6d6450e5e4259173c84ce004a17a109184d3b4b3f3a091","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750188835161,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
19:34:02 [19:34:02.753]
INFO:
archiver Stopped.
19:34:02
PASS src/archiver/archiver.test.ts (
36.348 s)
19:34:02 Archiver
19:34:02
✓ syncs l1 to l2 messages and blocks (4645 ms)
19:34:02
✓ ignores block 3 because it has been pruned (3023 ms)
19:34:02
✓ skip event search if no changes found (3714 ms)
19:34:02
✓ handles L2 reorg (6209 ms)
19:34:02
✓ handles updated messages due to L1 reorg (1518 ms)
19:34:02
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1385 ms)
19:34:02
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1747 ms)
19:34:02
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (471 ms)
19:34:02
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (489 ms)
19:34:02
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (2115 ms)
19:34:02
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (380 ms)
19:34:02
✓ handles a block gap due to a spurious L2 prune (7632 ms)
19:34:02
○ skipped handles an upcoming L2 prune
19:34:02
19:34:02
Test Suites: 1 passed, 1 total
19:34:02
Tests: 1 skipped,
12 passed, 13 total
19:34:02
Snapshots: 0 total
19:34:02
Time: 36.453 s
19:34:02
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
19:34:02
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?