Parent Log:
http://ci.aztec-labs.com/6013413449bf1ea6
Command: 1f25be2e8c7902e7 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/17ea18ade041a1bb437806e047c30b29da124094
Env: REF_NAME=gh-readonly-queue/next/pr-15007-4c695be4bff40a4a2ca2118c7e14c83a104e93aa CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 18 17:25:33 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15007_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
17:25:37 [17:25:37.316]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:40 [17:25:40.288]
INFO:
archiver:test Waiting for archiver to sync to block 3
17:25:40 [17:25:40.304]
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":"0x2764e1cc6d1d319932c6493d734f1539a0035d29f85e39809ab9edb0b2f51607","rollingHash":"0xe6bcf251719499032aa6a3887a730e47"},"messageCount":2}
17:25:40 [17:25:40.418]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0b67c3c8b05e48c8a2867ea27d812a1826353adec0e2baca935c7c92091fbb28","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750267537306,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:25:41 [17:25:41.479]
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":"0x0fe1b80a25f512bab6d0f80cf22759d0547a6024eb820eebebe6b5558359eaff","rollingHash":"0x4a40beeef44d3384f9e2186b94b7baef"},"messageCount":4}
17:25:41 [17:25:41.535]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
17:25:41 [17:25:41.758]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0c05bae4ee565812d1e75412f8a7a7b4db60d193ff599a06d84ab36d492c58a8","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750267537318,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
17:25:41 [17:25:41.759]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x0d110d194fb06335e624cd8286d7a6206f318a9f6309e899e1126dadfe09dfac","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750267537330,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
17:25:41 [17:25:41.938]
INFO:
archiver Stopped.
17:25:41 [17:25:41.943]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:44 [17:25:44.854]
INFO:
archiver:test Waiting for archiver to sync to block 2
17:25:44 [17:25:44.867]
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":"0x225ae88ce0c7db4b9bc4b152af6b78ca9d1d823ec4dfd60088314eeb2966e792","rollingHash":"0x79912aa69831be07e094082b6129001e"},"messageCount":2}
17:25:44 [17:25:44.886]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x052cc54e2faceb3aba3b0b5b768fba9e6a5511c19938fb1e5b699e27670367bd","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
17:25:45 [17:25:45.034]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0dc24a7ced8864cbbcfe6f1a94a9bb90e27e22c86827a73f2f38b002c587d4be","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750267541954,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:25:45 [17:25:45.035]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x286c86105c355d09f7b1e08f68440d16747fb0f7c768b5f130fede4bb8c0dc96","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750267541966,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
17:25:45 [17:25:45.126]
INFO:
archiver Stopped.
17:25:45 [17:25:45.129]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:47 [17:25:47.626]
INFO:
archiver:test Waiting for archiver to sync to block 2
17:25:48 [17:25:48.648]
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":"0x0b10d305bb795c759d03d885cb32dab3f66b0eab603b66c95ed4df7b530bde90","rollingHash":"0xd0f0063d81b2056862aa7027a4634ce5"},"messageCount":2}
17:25:48 [17:25:48.837]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1e329d97a5ea0e983c56a24b3a05b89c31958febfcae91a70b69be4f180fdd78","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750267545141,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:25:48 [17:25:48.838]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x09a564d47639d1e9b40ff30051ed794efb857d1355d1bd18d8e755d9dcf7cb4b","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750267545153,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
17:25:48 [17:25:48.927]
INFO:
archiver Stopped.
17:25:48 [17:25:48.930]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:51 [17:25:51.793]
INFO:
archiver:test Waiting for archiver to sync to block 2
17:25:51 [17:25:51.832]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
17:25:51 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
17:25:51 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
17:25:51 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
17:25:51 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
17:25:51 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
17:25:51 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
17:25:51 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
17:25:52 [17:25:52.846]
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":"0x21111f54723ed1a4193027ff8eb08ba649381434fd36f89af53dbd063d7edec5","rollingHash":"0x49d4057d12e4d5495ba64ba39899e3cc"},"messageCount":2}
17:25:53 [17:25:53.017]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x294b1e59668793d7b419bc5c58228089ed8701aed66e660490e18354210aa424","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750267548941,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:25:53 [17:25:53.019]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x303ee274cc7eb86ab844ee8182862051e8dc8c31bed047d281de023fe3cc7772","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750267548953,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
17:25:53 [17:25:53.022]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
17:25:53 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
17:25:53 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
17:25:53 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
17:25:53 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
17:25:53 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
17:25:53 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
17:25:53 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
17:25:54 [17:25:54.153]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
17:25:54 [17:25:54.156]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
17:25:54 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
17:25:54 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
17:25:54 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
17:25:54 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
17:25:54 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
17:25:54 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
17:25:54 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
17:25:55 [17:25:55.119]
INFO:
archiver Stopped.
17:25:55 [17:25:55.124]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:55 [17:25:55.658]
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":"0x27e7a9d78ab96082dcd82e88d6ba1351eac213e807fb755f0132ad79a0a32756","rollingHash":"0x376016071803deb3d621ff1809a450ea"},"messageCount":6}
17:25:55 [17:25:55.659]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x27e7a9d78ab96082dcd82e88d6ba1351eac213e807fb755f0132ad79a0a32756","rollingHash":"0x376016071803deb3d621ff1809a450ea"},"remoteMessagesState":{"messagesRollingHash":"0xd7370d3c70b7cac515475e0383d5cd85","totalMessagesInserted":5,"treeInProgress":0}}
17:25:55 [17:25:55.752]
WARN:
archiver:test Reorging L1 to L2 messages
17:25:56 [17:25:56.672]
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":"0x27e7a9d78ab96082dcd82e88d6ba1351eac213e807fb755f0132ad79a0a32756","rollingHash":"0x376016071803deb3d621ff1809a450ea"}}
17:25:56 [17:25:56.679]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
17:25:56 [17:25:56.685]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
17:25:56 [17:25:56.731]
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":"0x16b2d3478b6bbc33865ccdbc22cc955ad4e73b0f8f086221ba2f7de01309dffd","rollingHash":"0x489480ac89467ec768b1476a7101aee3"},"messageCount":5}
17:25:56 [17:25:56.800]
INFO:
archiver Stopped.
17:25:56 [17:25:56.806]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:57 [17:25:57.226]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
17:25:58 [17:25:58.418]
INFO:
archiver:test Waiting for archiver to sync to block 1
17:25:58 [17:25:58.506]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1c4bdb163dbfb8bb0556dc098213e944d67f3efd44222bc5f9170837f80892f0","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750267556814,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:25:58 [17:25:58.524]
INFO:
archiver Stopped.
17:25:58 [17:25:58.527]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:58 [17:25:58.907]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
17:25:59 [17:25:59.766]
INFO:
archiver:test Waiting for archiver to sync to block 1
17:25:59 [17:25:59.840]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1c89ba12816d73c1c2b7acda27a60c3efaa23065096775a76431c9340893db7e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750267558538,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:25:59 [17:25:59.869]
INFO:
archiver Stopped.
17:25:59 [17:25:59.871]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:00 [17:26:00.185]
INFO:
archiver:test Syncing archiver to L1 block 6
17:26:00 [17:26:00.186]
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":"0x2a41637686baa2b146c1476e855591a5cf0e81fc579db27398a0d73dec52500d","l1BlockNumber":0}}
17:26:00 [17:26:00.199]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
17:26:00 [17:26:00.201]
INFO:
archiver Stopped.
17:26:00 [17:26:00.205]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:00 [17:26:00.652]
INFO:
archiver:test Syncing archiver to L1 block 7
17:26:00 [17:26:00.654]
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":"0xa9254a8f48feded56a51208f512210b9d5a063c699afb82c60afae9b660e2ce9","l1BlockNumber":0}}
17:26:00 [17:26:00.668]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
17:26:00 [17:26:00.676]
INFO:
archiver Stopped.
17:26:00 [17:26:00.679]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:01 [17:26:01.088]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
17:26:02 [17:26:02.546]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x230ef406a3f3fffce1871fb9bc04bec8e791350c968cfada2591a16e778bedc3","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750267560690,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:26:02 [17:26:02.615]
INFO:
archiver Stopped.
17:26:02 [17:26:02.642]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:03 [17:26:03.191]
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":"0x3accac227c13e5e4032c2cb27f8fe53069c129413314fde6d4d7aede73710e69","l1BlockNumber":0}}
17:26:03 [17:26:03.227]
INFO:
archiver Stopped.
17:26:03 [17:26:03.233]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:26:06 [17:26:06.430]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1890ccd9612dc241e8f96e48d92652b5f50892ad886bc30f33cd927d7e3e17fb","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750267563241,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:26:06 [17:26:06.432]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x152394b44ad72efc61a6b2c4e4cae7990cf5f2e4cd6d749d00359df122bd48eb","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750267563253,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
17:26:07 [17:26:07.662]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
17:26:08 [17:26:08.723]
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
17:26:08 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
17:26:08 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
17:26:08 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
17:26:08 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7
17:26:08 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:26:08 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:26:08 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:26:08 newBlockNumber: 3,
17:26:08 previousBlockNumber: 1
17:26:08 }
17:26:08 [17:26:08.753]
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":"0x1890ccd9612dc241e8f96e48d92652b5f50892ad886bc30f33cd927d7e3e17fb","newBlockNumber":3,"updatedL1SyncPoint":70}
17:26:08 [17:26:08.754]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
17:26:08 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
17:26:08 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
17:26:08 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
17:26:08 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7
17:26:08 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:26:08 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:26:08 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:26:08 newBlockNumber: 3,
17:26:08 previousBlockNumber: 1
17:26:08 }
17:26:09 [17:26:09.939]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x152394b44ad72efc61a6b2c4e4cae7990cf5f2e4cd6d749d00359df122bd48eb","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750267563253,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
17:26:09 [17:26:09.940]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x1d98317d4019ad8a6c27fb9c7a9fd3251973a77cf518e1a3afeafef6ad7e85a2","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750267563265,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
17:26:09 [17:26:09.993]
INFO:
archiver Stopped.
17:26:09
PASS src/archiver/archiver.test.ts (
35.872 s)
17:26:10 Archiver
17:26:10
✓ syncs l1 to l2 messages and blocks (4648 ms)
17:26:10
✓ ignores block 3 because it has been pruned (3185 ms)
17:26:10
✓ skip event search if no changes found (3800 ms)
17:26:10
✓ handles L2 reorg (6190 ms)
17:26:10
✓ handles updated messages due to L1 reorg (1681 ms)
17:26:10
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1722 ms)
17:26:10
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1345 ms)
17:26:10
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (332 ms)
17:26:10
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (475 ms)
17:26:10
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1938 ms)
17:26:10
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (611 ms)
17:26:10
✓ handles a block gap due to a spurious L2 prune (6766 ms)
17:26:10
○ skipped handles an upcoming L2 prune
17:26:10
17:26:10
Test Suites: 1 passed, 1 total
17:26:10
Tests: 1 skipped,
12 passed, 13 total
17:26:10
Snapshots: 0 total
17:26:10
Time: 35.962 s
17:26:10
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
17:26:10
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?