Parent Log:
http://ci.aztec-labs.com/481126c5e1da4234
Command: 9d60524367dfa79a yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/056e5230c330d6ad19900135ecf2a4787181496a
Env: REF_NAME=gh-readonly-queue/next/pr-12986-a9f91dd1e5946aecfeb192ce869eb3e8eca2742e CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 13:12:54 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-12986_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
13:12:58 [13:12:58.402]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:13:01 [13:13:01.191]
INFO:
archiver:test Waiting for archiver to sync to block 3
13:13:01 [13:13:01.207]
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":"0x1ddfd89e17cf86ab69b02cf088353b47c510c56b9ab8cea1605f7f01ee903c55","rollingHash":"0x93883634785b3a85ba76721eca3ba6d9"},"messageCount":2}
13:13:01 [13:13:01.310]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x27ba798239089ca995e93682fcd0ad3ea95e2781dba9e810d88b462b204d5ab1","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750165978403,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:13:02 [13:13:02.331]
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":"0x1a07b9fbe8d0734cd8d3a87d183a2644eb5a4b1d64be3b7bea8ed967dec4737c","rollingHash":"0xb27f12ea094b79faf6d97668d503679d"},"messageCount":4}
13:13:02 [13:13:02.365]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
13:13:02 [13:13:02.531]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0f4eee1987fc123d45d2ae2f6d71682350b7883254853e7dc77a41b213349896","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750165978415,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:13:02 [13:13:02.532]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x303fc7689fb2339f383668b3d61e918348d57a2573b695a14bdb9369675060ac","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750165978427,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
13:13:02 [13:13:02.688]
INFO:
archiver Stopped.
13:13:02 [13:13:02.692]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:13:05 [13:13:05.205]
INFO:
archiver:test Waiting for archiver to sync to block 2
13:13:05 [13:13:05.249]
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":"0x091035f4d81b3ed9d014c84cd47b10ac3b9c1d68d2aedd463810bcde02032575","rollingHash":"0x97b39e4f186fd43ac23f0dd59b822226"},"messageCount":2}
13:13:05 [13:13:05.274]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x0615cb80283799fd52d5117d472215140c5e0775f9a3c88d3908c0ec15884e26","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
13:13:05 [13:13:05.434]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x26ee648b7b4d0bd32d651b9a7ca99b4c46a6adff3ccb3ad7cd2a929caa0d33c9","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750165982704,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:13:05 [13:13:05.435]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x15805461fc52c461187b9a67d689b87ba9ca373b9c1c1361a65e7dd3ba460779","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750165982716,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:13:05 [13:13:05.473]
INFO:
archiver Stopped.
13:13:05 [13:13:05.476]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:13:08 [13:13:08.397]
INFO:
archiver:test Waiting for archiver to sync to block 2
13:13:09 [13:13:09.427]
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":"0x0f2f21cd39bc2c194ed524411764b210f2e0a5351bc19bdc5e51bee333e6ca7f","rollingHash":"0x0a303c3283cb0caad033f1842aec15c6"},"messageCount":2}
13:13:09 [13:13:09.580]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0b6c4d4315652598c44f7359bb06de18720eb26bb3ddce6e6d79a7955042aa01","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750165985487,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:13:09 [13:13:09.581]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x239f8b495657d64ddb0cae2f278aec25eae1573f55a5d7707f0dec25a6501034","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750165985499,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:13:09 [13:13:09.669]
INFO:
archiver Stopped.
13:13:09 [13:13:09.671]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:13:12 [13:13:12.281]
INFO:
archiver:test Waiting for archiver to sync to block 2
13:13:12 [13:13:12.350]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
13:13:12 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
13:13:12 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
13:13:12 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
13:13:12 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
13:13:12 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
13:13:12 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
13:13:12 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
13:13:13 [13:13:13.367]
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":"0x2efc1bff5be77d9185a22a74ce8489bb7969666749687a05ee0b4a9281c1493f","rollingHash":"0x24b9dd23077c6049a06103eeeafd88a1"},"messageCount":2}
13:13:13 [13:13:13.530]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0dee996a58b74731c096c99d6ca0952ec485accb5aced490f6ef55442fda97d6","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750165989682,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:13:13 [13:13:13.531]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x26261450e8ab8caf3b4af70f6f4654a1ea59de85608b7b508647c9b97d576090","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750165989694,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:13:13 [13:13:13.534]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
13:13:13 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
13:13:13 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
13:13:13 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
13:13:13 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
13:13:13 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
13:13:13 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
13:13:13 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
13:13:14 [13:13:14.669]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
13:13:14 [13:13:14.671]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
13:13:14 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
13:13:14 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
13:13:14 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
13:13:14 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
13:13:14 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
13:13:14 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
13:13:14 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
13:13:15 [13:13:15.580]
INFO:
archiver Stopped.
13:13:15 [13:13:15.583]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:13:15 [13:13:15.930]
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":"0x126445affe6e0a37905652e6234a4166d064e42f8ffcee6d4c328479dbabfd4c","rollingHash":"0x9e1bcbd66679c3187c6be687bfeb2ecd"},"messageCount":6}
13:13:15 [13:13:15.931]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x126445affe6e0a37905652e6234a4166d064e42f8ffcee6d4c328479dbabfd4c","rollingHash":"0x9e1bcbd66679c3187c6be687bfeb2ecd"},"remoteMessagesState":{"messagesRollingHash":"0x9fd2f86e81c984137860af4621dc4128","totalMessagesInserted":5,"treeInProgress":0}}
13:13:16 [13:13:16.031]
WARN:
archiver:test Reorging L1 to L2 messages
13:13:16 [13:13:16.947]
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":"0x126445affe6e0a37905652e6234a4166d064e42f8ffcee6d4c328479dbabfd4c","rollingHash":"0x9e1bcbd66679c3187c6be687bfeb2ecd"}}
13:13:16 [13:13:16.955]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
13:13:16 [13:13:16.965]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
13:13:17 [13:13:17.009]
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":"0x189c53a4e0e8e6f57db25417f12a0811cd20dc92fbba9dd5c5bb977b2a2c50e5","rollingHash":"0x2d3301aa2227db22df6c806344f47aa8"},"messageCount":5}
13:13:17 [13:13:17.107]
INFO:
archiver Stopped.
13:13:17 [13:13:17.115]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:13:17 [13:13:17.807]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
13:13:19 [13:13:19.132]
INFO:
archiver:test Waiting for archiver to sync to block 1
13:13:19 [13:13:19.322]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x18ae5bd5e295547fb95cd8efd1a184fe76ea2b92e6212735026ed53519bc026d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750165997120,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:13:19 [13:13:19.418]
INFO:
archiver Stopped.
13:13:19 [13:13:19.422]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:13:19 [13:13:19.795]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
13:13:20 [13:13:20.622]
INFO:
archiver:test Waiting for archiver to sync to block 1
13:13:20 [13:13:20.703]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x202d5d27335da76af230dcd4ab3ac78eed866fc892dc983d8f7a8545869b3f37","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750165999433,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:13:20 [13:13:20.726]
INFO:
archiver Stopped.
13:13:20 [13:13:20.728]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:13:21 [13:13:21.131]
INFO:
archiver:test Syncing archiver to L1 block 6
13:13:21 [13:13:21.135]
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":"0x384365bb4446dd9b2c9bc27a0943cbda9449a257aed1926b8c397fe90ac48d04","l1BlockNumber":0}}
13:13:21 [13:13:21.160]
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}}
13:13:21 [13:13:21.164]
INFO:
archiver Stopped.
13:13:21 [13:13:21.167]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:13:21 [13:13:21.525]
INFO:
archiver:test Syncing archiver to L1 block 7
13:13:21 [13:13:21.535]
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":"0x4350a1fd08ba044d83ce4e5573ede4e06319e86eebd2417500f5c8e2da214c3d","l1BlockNumber":0}}
13:13:21 [13:13:21.549]
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}}
13:13:21 [13:13:21.551]
INFO:
archiver Stopped.
13:13:21 [13:13:21.552]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:13:21 [13:13:21.983]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
13:13:23 [13:13:23.414]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x11a3828eadaa22266630e520fe0713662ed69c2f8a901b38a93c9d5646f46565","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750166001564,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:13:23 [13:13:23.418]
INFO:
archiver Stopped.
13:13:23 [13:13:23.420]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:13:23 [13:13:23.776]
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":"0xff877a1c87df44db565b8b0f5b69b9199bd44c1f455ea43c42e05ff6cc7f9b65","l1BlockNumber":0}}
13:13:23 [13:13:23.794]
INFO:
archiver Stopped.
13:13:23 [13:13:23.796]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:13:27 [13:13:27.218]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x18fae7445cd8f932d198ab3dbf3e0424f66b30c03c8364f27ff806899fcde413","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750166003808,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:13:27 [13:13:27.219]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x00bffd2830c447f3bd0614db5f0e9b0304590273dd69252312d625e73c3b73de","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750166003820,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:13:28 [13:13:28.368]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
13:13:29 [13:13:29.441]
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
13:13:29 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
13:13:29 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
13:13:29 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
13:13:29 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
13:13:29 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:13:29 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:13:29 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:13:29 newBlockNumber: 3,
13:13:29 previousBlockNumber: 1
13:13:29 }
13:13:29 [13:13:29.480]
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":"0x18fae7445cd8f932d198ab3dbf3e0424f66b30c03c8364f27ff806899fcde413","newBlockNumber":3,"updatedL1SyncPoint":70}
13:13:29 [13:13:29.481]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
13:13:29 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
13:13:29 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
13:13:29 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
13:13:29 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
13:13:29 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:13:29 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:13:29 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:13:29 newBlockNumber: 3,
13:13:29 previousBlockNumber: 1
13:13:29 }
13:13:30 [13:13:30.733]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x00bffd2830c447f3bd0614db5f0e9b0304590273dd69252312d625e73c3b73de","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750166003820,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:13:30 [13:13:30.734]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x14ce7210a64975241b6404e689f060e0485a950b495201259c247fa0f24e367d","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750166003832,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
13:13:30 [13:13:30.826]
INFO:
archiver Stopped.
13:13:30
PASS src/archiver/archiver.test.ts (
35.065 s)
13:13:30 Archiver
13:13:30
✓ syncs l1 to l2 messages and blocks (4299 ms)
13:13:30
✓ ignores block 3 because it has been pruned (2783 ms)
13:13:30
✓ skip event search if no changes found (4195 ms)
13:13:30
✓ handles L2 reorg (5911 ms)
13:13:30
✓ handles updated messages due to L1 reorg (1527 ms)
13:13:30
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (2311 ms)
13:13:30
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1307 ms)
13:13:30
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (437 ms)
13:13:30
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (386 ms)
13:13:30
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1866 ms)
13:13:30
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (376 ms)
13:13:30
✓ handles a block gap due to a spurious L2 prune (7032 ms)
13:13:30
○ skipped handles an upcoming L2 prune
13:13:30
13:13:30
Test Suites: 1 passed, 1 total
13:13:30
Tests: 1 skipped,
12 passed, 13 total
13:13:30
Snapshots: 0 total
13:13:30
Time: 35.153 s
13:13:30
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
13:13:30
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?