Parent Log:
http://ci.aztec-labs.com/d91d6842ab6606c6
Command: 2ca1986c0c6d5c2c yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/9222c7777effe26aa04b5367a455d25be0e7f62e
Env: REF_NAME=gh-readonly-queue/next/pr-15055-a9bb2f683797c8e631b892c5f539a2867bddaabf CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 18 16:02:25 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15055_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
16:02:29 [16:02:29.257]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:32 [16:02:32.132]
INFO:
archiver:test Waiting for archiver to sync to block 3
16:02:32 [16:02:32.150]
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":"0x1cef46f0882c8a77cff549886fe3c216a89d53cfe8e289d7e5a4215aebfc644c","rollingHash":"0xac1821b8f95ace34237631184e9d6ef5"},"messageCount":2}
16:02:32 [16:02:32.287]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0a32f8ba148e75add08b7210bc8ec06ec0422b413840d9af0c16038f737b89cf","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750262549252,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:02:33 [16:02:33.310]
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":"0x09d6f87a7a6fbe1a9d68c968056b319642978935d367a1aa09f0cf081e06ff91","rollingHash":"0x1c5c38c36e2e340559cd518acc228d9d"},"messageCount":4}
16:02:33 [16:02:33.367]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
16:02:33 [16:02:33.557]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x29968f02ba76997b5d265cb538e4524fcdb2b309c1abb75577ebb67511fe0ccf","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750262549264,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
16:02:33 [16:02:33.560]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x2d520147d52107dcbe59b8a334049262e6ea28a4a41b523365f467b96524ad2b","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750262549276,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
16:02:33 [16:02:33.755]
INFO:
archiver Stopped.
16:02:33 [16:02:33.759]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:36 [16:02:36.598]
INFO:
archiver:test Waiting for archiver to sync to block 2
16:02:36 [16:02:36.610]
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":"0x257f220391f66cbbd6dc040891f5be42e6c8e28d55234359f8ca8bfd2bcbe665","rollingHash":"0x559216b29c9fe7e52eda8070c51fe059"},"messageCount":2}
16:02:36 [16:02:36.629]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x2140d78265f91488e0d6d94ac504e8af99356ac4329944462e07ef2af839e563","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
16:02:36 [16:02:36.723]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2fa15aececc2f4527657f80f929f197f189b430d6cd2ba9739e797d7635df848","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750262553770,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:02:36 [16:02:36.724]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x14741b96f8c4fd22b275d54803a4afd2bb1f8303d90dee67684378e75a608e8e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750262553782,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
16:02:36 [16:02:36.809]
INFO:
archiver Stopped.
16:02:36 [16:02:36.811]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:39 [16:02:39.687]
INFO:
archiver:test Waiting for archiver to sync to block 2
16:02:40 [16:02:40.707]
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":"0x20a89fd687c455194cf118654b5a5c77394d322050e5814c345662a8dac19637","rollingHash":"0xcbc9ffa1ede135012877a57924ad3048"},"messageCount":2}
16:02:40 [16:02:40.866]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2bf6036bb8554b164b2a7ce0f7118bb37e5c4d509c6dfe1dfb09eac736460981","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750262556823,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:02:40 [16:02:40.867]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x08c95cc8458dd7615c91b4c7a66ad1763f5ce3adcf840fac4f70bd80add93540","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750262556835,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
16:02:40 [16:02:40.953]
INFO:
archiver Stopped.
16:02:40 [16:02:40.955]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:43 [16:02:43.859]
INFO:
archiver:test Waiting for archiver to sync to block 2
16:02:43 [16:02:43.927]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
16:02:43 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
16:02:43 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
16:02:43 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
16:02:43 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
16:02:43 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
16:02:43 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
16:02:43 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
16:02:44 [16:02:44.945]
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":"0x2d3bbd0afd1c4b4505cc259e83fd787fa165d960f8bdc29b3320a5441f384290","rollingHash":"0x17bfe62ed9db4919d909b20c7c4c71a4"},"messageCount":2}
16:02:45 [16:02:45.206]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x17c3cf495585feccd2dc78f8934d8b6ea7501d9c6e3a195bf4036bebc3f472e5","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750262560967,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:02:45 [16:02:45.208]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x300b36fff8557936d4f2d1fd0c4fcf421cb4e93bab8fe244d2568874009315a4","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750262560979,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
16:02:45 [16:02:45.211]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
16:02:45 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
16:02:45 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
16:02:45 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
16:02:45 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
16:02:45 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
16:02:45 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
16:02:45 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
16:02:46 [16:02:46.606]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
16:02:46 [16:02:46.609]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
16:02:46 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
16:02:46 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
16:02:46 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
16:02:46 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
16:02:46 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
16:02:46 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
16:02:46 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
16:02:47 [16:02:47.263]
INFO:
archiver Stopped.
16:02:47 [16:02:47.271]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:47 [16:02:47.878]
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":"0x1e28f89e5d53232aa12fbcee603737f251d21d0792e4b3708df70c22339f473b","rollingHash":"0xfde3f1ab909d8adff3d06ad753db2743"},"messageCount":6}
16:02:47 [16:02:47.879]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x1e28f89e5d53232aa12fbcee603737f251d21d0792e4b3708df70c22339f473b","rollingHash":"0xfde3f1ab909d8adff3d06ad753db2743"},"remoteMessagesState":{"messagesRollingHash":"0x45e040ef07fb7abd756a2d59e605900e","totalMessagesInserted":5,"treeInProgress":0}}
16:02:47 [16:02:47.966]
WARN:
archiver:test Reorging L1 to L2 messages
16:02:48 [16:02:48.908]
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":"0x1e28f89e5d53232aa12fbcee603737f251d21d0792e4b3708df70c22339f473b","rollingHash":"0xfde3f1ab909d8adff3d06ad753db2743"}}
16:02:48 [16:02:48.918]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
16:02:48 [16:02:48.923]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
16:02:48 [16:02:48.939]
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":"0x06d226e3f9e4ca719e24582d8332bd54e699539ddacca60b953d9382ec96e9f3","rollingHash":"0x3435cd18017f570affc80377583b28bc"},"messageCount":5}
16:02:49 [16:02:49.034]
INFO:
archiver Stopped.
16:02:49 [16:02:49.037]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:49 [16:02:49.536]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
16:02:50 [16:02:50.519]
INFO:
archiver:test Waiting for archiver to sync to block 1
16:02:50 [16:02:50.603]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1989d8396683c086c4f24a278121a9e08ea97c2f377ebee6df8a3e96b5f0f8dd","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750262569048,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:02:50 [16:02:50.624]
INFO:
archiver Stopped.
16:02:50 [16:02:50.628]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:50 [16:02:50.970]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
16:02:52 [16:02:52.085]
INFO:
archiver:test Waiting for archiver to sync to block 1
16:02:52 [16:02:52.232]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2c1b7b28e029f35d596d55e11e50d4e8fce220dcc58b24b1e63add118d04feb1","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750262570639,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:02:52 [16:02:52.326]
INFO:
archiver Stopped.
16:02:52 [16:02:52.328]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:52 [16:02:52.753]
INFO:
archiver:test Syncing archiver to L1 block 6
16:02:52 [16:02:52.754]
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":"0x12b5ccb50f47dd9ba537fc9ba6952709ee1abc5f670ab59ec73bdbeb0667716c","l1BlockNumber":0}}
16:02:52 [16:02:52.766]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
16:02:52 [16:02:52.768]
INFO:
archiver Stopped.
16:02:52 [16:02:52.770]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:53 [16:02:53.106]
INFO:
archiver:test Syncing archiver to L1 block 7
16:02:53 [16:02:53.108]
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":"0x36afcd49e5f47906382790a7191a08e21824a604eead372c22f46e3ef41ed370","l1BlockNumber":0}}
16:02:53 [16:02:53.122]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
16:02:53 [16:02:53.124]
INFO:
archiver Stopped.
16:02:53 [16:02:53.126]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:53 [16:02:53.710]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
16:02:54 [16:02:54.967]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x29c8817e08fa8fcc2d3586e0831428cb5a6739ffaba04d6f782518c6ae650611","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750262573138,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:02:54 [16:02:54.972]
INFO:
archiver Stopped.
16:02:54 [16:02:54.974]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:55 [16:02:55.359]
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":"0x56badf249e50bec303de2c3c0918066e4cb45c7fd682305135b5e99223d69184","l1BlockNumber":0}}
16:02:55 [16:02:55.375]
INFO:
archiver Stopped.
16:02:55 [16:02:55.377]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:58 [16:02:58.912]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x178ec6ed8d4725a72a66c4275174ae81b83ed9ea9febca5fe368f23c26962e1a","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750262575389,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:02:58 [16:02:58.913]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1fe058658485769b1f5fc8d789e9af2f2c7af6e93bf9eb73b593b9a1ca9c6beb","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750262575401,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
16:03:00 [16:03:00.154]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
16:03:01 [16:03:01.216]
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
16:03:01 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
16:03:01 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
16:03:01 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
16:03:01 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
16:03:01 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:03:01 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:03:01 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:03:01 newBlockNumber: 3,
16:03:01 previousBlockNumber: 1
16:03:01 }
16:03:01 [16:03:01.262]
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":"0x178ec6ed8d4725a72a66c4275174ae81b83ed9ea9febca5fe368f23c26962e1a","newBlockNumber":3,"updatedL1SyncPoint":70}
16:03:01 [16:03:01.263]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
16:03:01 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
16:03:01 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
16:03:01 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
16:03:01 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
16:03:01 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:03:01 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:03:01 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:03:01 newBlockNumber: 3,
16:03:01 previousBlockNumber: 1
16:03:01 }
16:03:02 [16:03:02.465]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1fe058658485769b1f5fc8d789e9af2f2c7af6e93bf9eb73b593b9a1ca9c6beb","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750262575401,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
16:03:02 [16:03:02.466]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x00bf45105f3edb5d04c547bc87f2c619f2c2c895cdacd49bfb39b304584aa92b","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750262575413,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
16:03:02 [16:03:02.552]
INFO:
archiver Stopped.
16:03:02
PASS src/archiver/archiver.test.ts (
36.274 s)
16:03:02 Archiver
16:03:02
✓ syncs l1 to l2 messages and blocks (4519 ms)
16:03:02
✓ ignores block 3 because it has been pruned (3051 ms)
16:03:02
✓ skip event search if no changes found (4144 ms)
16:03:02
✓ handles L2 reorg (6310 ms)
16:03:02
✓ handles updated messages due to L1 reorg (1771 ms)
16:03:02
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1590 ms)
16:03:02
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1701 ms)
16:03:02
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (441 ms)
16:03:02
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (356 ms)
16:03:02
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1848 ms)
16:03:02
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (403 ms)
16:03:02
✓ handles a block gap due to a spurious L2 prune (7177 ms)
16:03:02
○ skipped handles an upcoming L2 prune
16:03:02
16:03:02
Test Suites: 1 passed, 1 total
16:03:02
Tests: 1 skipped,
12 passed, 13 total
16:03:02
Snapshots: 0 total
16:03:02
Time: 36.349 s
16:03:02
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
16:03:02
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?