Parent Log:
http://ci.aztec-labs.com/561d47bad933e22b
Command: 4387bf6bd5f0ba11 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/92ef6e28f2b718bb1009392a60b8311979c782d2
Env: REF_NAME=gh-readonly-queue/next/pr-15126-69eacbd6f18ad2a9ac646c4ffaf0133b0cdf856a CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Thu Jun 19 11:56:26 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15126_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
11:56:30 [11:56:30.500]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:33 [11:56:33.347]
INFO:
archiver:test Waiting for archiver to sync to block 3
11:56:33 [11:56:33.366]
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":"0x114f096d7d7c74f200841d59363035b65076a51e044bfef3bf60f5c3911a3779","rollingHash":"0xaaaf26879be9b3167e126f219ac0b191"},"messageCount":2}
11:56:33 [11:56:33.469]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2c81555ebf10f99912fb4983e49f03bf8ef2be9b6f77652a1b492871273d2cc0","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750334190490,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
11:56:34 [11:56:34.492]
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":"0x0697ff9363d4a79cd67127ea62b7d3b6827b965af42f0f9477159c7ae2bcc3a5","rollingHash":"0xb54a9363ba932e45d59fb205c42d0d28"},"messageCount":4}
11:56:34 [11:56:34.534]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
11:56:34 [11:56:34.714]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2b39795e55bfa364800082c96598c4b10a7a57fbaa5f74019b0a5a5cc8c704cd","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750334190502,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
11:56:34 [11:56:34.715]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x2935870116beee1c046f632a382f63dfd226745886b3a8cf431849d2b5343034","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750334190514,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
11:56:34 [11:56:34.870]
INFO:
archiver Stopped.
11:56:34 [11:56:34.875]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:37 [11:56:37.666]
INFO:
archiver:test Waiting for archiver to sync to block 2
11:56:37 [11:56:37.680]
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":"0x0000a13124877e9ae73ef3bc8d8dd16c4432c80527f72bb923165541bb202af0","rollingHash":"0xe5e73c9c7fc252b951154c17ca74ddc7"},"messageCount":2}
11:56:37 [11:56:37.704]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x0f0a5951857b5d7a9574f202a929f192dbcb9738749a32d64f3b65056ea96594","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
11:56:37 [11:56:37.804]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x00935d424f3a7822f6c005c083c33148eebdf925b385ea1ef1d98f95e002fb6c","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750334194886,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
11:56:37 [11:56:37.805]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x159bed94c3fee816d98cb6312a5081c680e1a40c926416ae080e35ab566bb5d9","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750334194898,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
11:56:37 [11:56:37.891]
INFO:
archiver Stopped.
11:56:37 [11:56:37.894]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:40 [11:56:40.488]
INFO:
archiver:test Waiting for archiver to sync to block 2
11:56:41 [11:56:41.534]
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":"0x2e05efab31e7236bc0d9bb1eea3c38c3c1cb06ab1734863c3c156c19e2ac1835","rollingHash":"0x34bfdd3f17c896626c0123ee6d055c93"},"messageCount":2}
11:56:41 [11:56:41.704]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x060c565c07372ae85b603faa25dda339c9d323972b035caabfeae7263862e98c","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750334197905,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
11:56:41 [11:56:41.706]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x09ed2825b807931cf466887eda7e2dd376811d7efdd6aea7e87cdfb82a3aab78","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750334197917,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
11:56:41 [11:56:41.784]
INFO:
archiver Stopped.
11:56:41 [11:56:41.787]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:44 [11:56:44.624]
INFO:
archiver:test Waiting for archiver to sync to block 2
11:56:44 [11:56:44.679]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
11:56:44 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
11:56:44 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
11:56:44 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
11:56:44 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
11:56:44 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
11:56:44 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
11:56:44 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
11:56:45 [11:56:45.688]
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":"0x27da03a1724be856f22493ddf55699f5186a43497f4195ea84749fe7742e21d0","rollingHash":"0x269665dfa901cbb133eb3c6dfa0203e0"},"messageCount":2}
11:56:45 [11:56:45.837]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1fa094b919aac10a7c4cad6e1912b8b8386de72c6e8b0804bc147d0b31b48a7d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750334201798,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
11:56:45 [11:56:45.838]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x29418a368e7bb25e03f0233e80ddd59384ef25e96a73c98e8579ee8060e5546d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750334201810,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
11:56:45 [11:56:45.841]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
11:56:45 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
11:56:45 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
11:56:45 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
11:56:45 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
11:56:45 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
11:56:45 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
11:56:45 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
11:56:46 [11:56:46.944]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
11:56:46 [11:56:46.947]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
11:56:46 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
11:56:46 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
11:56:46 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
11:56:46 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
11:56:46 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
11:56:46 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
11:56:46 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
11:56:47 [11:56:47.931]
INFO:
archiver Stopped.
11:56:47 [11:56:47.935]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:48 [11:56:48.279]
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":"0x2afb3fa5588f70f38e75e5c5539242233c8fb6925bafc8bc7b4d045f1bfeb0ad","rollingHash":"0x3c880a3f6db9287a84967c81de7082b6"},"messageCount":6}
11:56:48 [11:56:48.280]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x2afb3fa5588f70f38e75e5c5539242233c8fb6925bafc8bc7b4d045f1bfeb0ad","rollingHash":"0x3c880a3f6db9287a84967c81de7082b6"},"remoteMessagesState":{"messagesRollingHash":"0x6595303a0df545baa1633525b425444b","totalMessagesInserted":5,"treeInProgress":0}}
11:56:48 [11:56:48.375]
WARN:
archiver:test Reorging L1 to L2 messages
11:56:49 [11:56:49.290]
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":"0x2afb3fa5588f70f38e75e5c5539242233c8fb6925bafc8bc7b4d045f1bfeb0ad","rollingHash":"0x3c880a3f6db9287a84967c81de7082b6"}}
11:56:49 [11:56:49.293]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
11:56:49 [11:56:49.295]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
11:56:49 [11:56:49.311]
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":"0x086c0acf2f223c9f6f73be89abf50f863ff2a513cd40446381530cac6557ba63","rollingHash":"0x56e158b3b7956d9d53d4e458eb460b9a"},"messageCount":5}
11:56:49 [11:56:49.394]
INFO:
archiver Stopped.
11:56:49 [11:56:49.396]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:49 [11:56:49.764]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
11:56:50 [11:56:50.556]
INFO:
archiver:test Waiting for archiver to sync to block 1
11:56:50 [11:56:50.631]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2db077457e51cffa4c4e78599419e3c7f97f07f29cde2f35a381ae91f55a31a9","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750334209407,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
11:56:50 [11:56:50.660]
INFO:
archiver Stopped.
11:56:50 [11:56:50.663]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:50 [11:56:50.990]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
11:56:51 [11:56:51.866]
INFO:
archiver:test Waiting for archiver to sync to block 1
11:56:51 [11:56:51.949]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x18a285a1744f5ec644f5be7bc20c24cd75f45d95d3bd3407331c50d5c45d72e6","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750334210674,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
11:56:51 [11:56:51.970]
INFO:
archiver Stopped.
11:56:51 [11:56:51.972]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:52 [11:56:52.329]
INFO:
archiver:test Syncing archiver to L1 block 6
11:56:52 [11:56:52.331]
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":"0xffb1759aee88803b95c520a74a77d629aaeb509ae59c283c8f73dc8a8179d6f8","l1BlockNumber":0}}
11:56:52 [11:56:52.342]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
11:56:52 [11:56:52.344]
INFO:
archiver Stopped.
11:56:52 [11:56:52.346]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:52 [11:56:52.717]
INFO:
archiver:test Syncing archiver to L1 block 7
11:56:52 [11:56:52.719]
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":"0x11c8b2e56a4856b268e7b1e4988cc1cc59299906bafea8f4b18294ec1081435e","l1BlockNumber":0}}
11:56:52 [11:56:52.728]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
11:56:52 [11:56:52.731]
INFO:
archiver Stopped.
11:56:52 [11:56:52.733]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:53 [11:56:53.112]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
11:56:54 [11:56:54.062]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2f160f8a1e5a5dd1b436584613697950f9e3f83dcb624a19234bcb5d52bedfac","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750334212745,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
11:56:54 [11:56:54.070]
INFO:
archiver Stopped.
11:56:54 [11:56:54.072]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:54 [11:56:54.469]
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":"0xe2e5dbe440c3907144e8d8bd364512c15b77d6701b7628002fb47c355320ae73","l1BlockNumber":0}}
11:56:54 [11:56:54.489]
INFO:
archiver Stopped.
11:56:54 [11:56:54.492]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:56:58 [11:56:58.050]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2978e6c2618b2e2c21fc0aa16ae1ac0ba4ba92b3c05d8ee006f49bc895ba5bae","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750334214502,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
11:56:58 [11:56:58.052]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x19281992ea0459951bd065707157a9eb0ecd5c0df285678248a3aea72c7148fa","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750334214514,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
11:56:59 [11:56:59.423]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
11:57:00 [11:57:00.572]
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
11:57:00 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
11:57:00 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
11:57:00 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
11:57:00 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7
11:57:00 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:57:00 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:57:00 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:57:00 newBlockNumber: 3,
11:57:00 previousBlockNumber: 1
11:57:00 }
11:57:00 [11:57:00.640]
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":"0x2978e6c2618b2e2c21fc0aa16ae1ac0ba4ba92b3c05d8ee006f49bc895ba5bae","newBlockNumber":3,"updatedL1SyncPoint":70}
11:57:00 [11:57:00.642]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
11:57:00 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
11:57:00 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
11:57:00 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
11:57:00 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7
11:57:00 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:57:00 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:57:00 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:57:00 newBlockNumber: 3,
11:57:00 previousBlockNumber: 1
11:57:00 }
11:57:01 [11:57:01.849]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x19281992ea0459951bd065707157a9eb0ecd5c0df285678248a3aea72c7148fa","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750334214514,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
11:57:01 [11:57:01.850]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x041decaebc92523afeefe9f16fc8b5c61dd7c3a4e2fd0a29679a1100c77775c5","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750334214526,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
11:57:01 [11:57:01.877]
INFO:
archiver Stopped.
11:57:01
PASS src/archiver/archiver.test.ts (
34.69 s)
11:57:01 Archiver
11:57:01
✓ syncs l1 to l2 messages and blocks (4396 ms)
11:57:01
✓ ignores block 3 because it has been pruned (3019 ms)
11:57:01
✓ skip event search if no changes found (3892 ms)
11:57:01
✓ handles L2 reorg (6146 ms)
11:57:01
✓ handles updated messages due to L1 reorg (1461 ms)
11:57:01
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1265 ms)
11:57:01
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1309 ms)
11:57:01
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (373 ms)
11:57:01
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (387 ms)
11:57:01
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1339 ms)
11:57:01
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (418 ms)
11:57:01
✓ handles a block gap due to a spurious L2 prune (7388 ms)
11:57:01
○ skipped handles an upcoming L2 prune
11:57:01
11:57:01
Test Suites: 1 passed, 1 total
11:57:01
Tests: 1 skipped,
12 passed, 13 total
11:57:01
Snapshots: 0 total
11:57:01
Time: 34.795 s
11:57:01
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
11:57:01
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?