Parent Log:
http://ci.aztec-labs.com/7e515574fa561c6b
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:45 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15055_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
16:02:49 [16:02:49.747]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:52 [16:02:52.618]
INFO:
archiver:test Waiting for archiver to sync to block 3
16:02:52 [16:02:52.641]
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":"0x0953194a9bbefa8b57728d9e9f69b9a55eca22bb45b84f64fe49869995e9f14c","rollingHash":"0x6c64576cfaa0861db9f9bae55bad176a"},"messageCount":2}
16:02:52 [16:02:52.746]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2921b8d91af89f8cc4c7a6063eaa610807ee1ee528b9d3478181eedb2daa2411","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750262569736,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:02:53 [16:02:53.773]
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":"0x25a66047247c3b5b3deef958e991d9a714585f7b9496f843610f931a7fa2f30a","rollingHash":"0x91d7c81787f108a5fc8d80f6dec93f31"},"messageCount":4}
16:02:53 [16:02:53.817]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
16:02:54 [16:02:54.010]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1a7bdf9e50daef043b43a8c8b67bc87e267ba1e9d7755184fff648bc339df2e5","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750262569748,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
16:02:54 [16:02:54.011]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x2458939fb8fee76f177dc698994a4b4e7a90bd8b37a8a6c63f0ab2b9fd14d226","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750262569760,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
16:02:54 [16:02:54.208]
INFO:
archiver Stopped.
16:02:54 [16:02:54.212]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:56 [16:02:56.803]
INFO:
archiver:test Waiting for archiver to sync to block 2
16:02:56 [16:02:56.815]
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":"0x2373e8068a7a985664caf9efe4f70baf8dfb5d91cafb216525ca938191d39083","rollingHash":"0x72e48b468c1d9a451dd45f063ea95bcf"},"messageCount":2}
16:02:56 [16:02:56.843]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x0b9722d887fd2f5895778dac6bbc1533bd382a0969e3cc766886855de8edaea6","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
16:02:56 [16:02:56.989]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1e2f944694118bf9bc52e45c889765e20f9a5b0b197f141d0bbfc591a3fb3d79","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750262574223,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:02:56 [16:02:56.991]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0e49b76682da1bab60079ea3827a5eb965a1d2190f20fc1ae6bfdecadf84a886","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750262574235,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
16:02:57 [16:02:57.076]
INFO:
archiver Stopped.
16:02:57 [16:02:57.080]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:02:59 [16:02:59.792]
INFO:
archiver:test Waiting for archiver to sync to block 2
16:03:00 [16:03:00.854]
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":"0x1e8218a26af6a8e3eaa68d667c120f4fa00cfce342b306e233721e0ad6b13197","rollingHash":"0x6add4c32694ea89e264668b3165f01a3"},"messageCount":2}
16:03:01 [16:03:01.086]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0b4bf1d1aee0c356bfe9484f2845f4234e6a9f10dc1be5dfe5a6ac33030ef4bd","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750262577091,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:03:01 [16:03:01.087]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1aec657a1d60665d16469205f1ad92ff498ebb04b36e34493fe01f370850cfe8","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750262577103,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
16:03:01 [16:03:01.106]
INFO:
archiver Stopped.
16:03:01 [16:03:01.111]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:04 [16:03:04.250]
INFO:
archiver:test Waiting for archiver to sync to block 2
16:03:04 [16:03:04.303]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
16:03:04 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
16:03:04 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
16:03:04 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
16:03:04 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
16:03:04 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
16:03:04 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
16:03:04 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
16:03:05 [16:03:05.318]
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":"0x11b48e7feadd5a27cd6ea15a85b6a42f3a069c37b0e281d6ff8eb3cd005d31c3","rollingHash":"0xd3b9ebd43e19601d1e6974fe0ff3303a"},"messageCount":2}
16:03:05 [16:03:05.491]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1c47633202106a1186f4eff05b863c093f737c8b28a02350991712862dfbd28d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750262581121,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:03:05 [16:03:05.493]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x093fbce68dca64a131c39c81574e796ebf51c64c4be15ca0ca942cc9d77c60f0","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750262581133,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
16:03:05 [16:03:05.497]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
16:03:05 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
16:03:05 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
16:03:05 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
16:03:05 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
16:03:05 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
16:03:05 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
16:03:05 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
16:03:06 [16:03:06.667]
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:03:06 [16:03:06.670]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
16:03:06 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
16:03:06 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
16:03:06 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
16:03:06 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
16:03:06 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
16:03:06 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
16:03:06 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
16:03:07 [16:03:07.586]
INFO:
archiver Stopped.
16:03:07 [16:03:07.588]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:07 [16:03:07.974]
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":"0x2cf20c95bcec0315e661b8c240349906935523893bee20e07980f5edeaa8f0e2","rollingHash":"0x760b67307006202cb3db530809713c30"},"messageCount":6}
16:03:07 [16:03:07.974]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x2cf20c95bcec0315e661b8c240349906935523893bee20e07980f5edeaa8f0e2","rollingHash":"0x760b67307006202cb3db530809713c30"},"remoteMessagesState":{"messagesRollingHash":"0xa30f8a6f379ea3738dd68c591abbeccd","totalMessagesInserted":5,"treeInProgress":0}}
16:03:08 [16:03:08.069]
WARN:
archiver:test Reorging L1 to L2 messages
16:03:08 [16:03:08.986]
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":"0x2cf20c95bcec0315e661b8c240349906935523893bee20e07980f5edeaa8f0e2","rollingHash":"0x760b67307006202cb3db530809713c30"}}
16:03:08 [16:03:08.988]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
16:03:08 [16:03:08.990]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
16:03:09 [16:03:09.011]
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":"0x00e90a22976b18114cd6eb7db0f75612faa10c572f403a738b2b66784d1f7a22","rollingHash":"0xabc5cad743b5a280b1f551d71c17ccd6"},"messageCount":5}
16:03:09 [16:03:09.095]
INFO:
archiver Stopped.
16:03:09 [16:03:09.097]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:09 [16:03:09.509]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
16:03:10 [16:03:10.849]
INFO:
archiver:test Waiting for archiver to sync to block 1
16:03:10 [16:03:10.960]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x061a0500757cb2f4d1111eff647cbbefdb9f67593cfc50a824dc82e832edd3b7","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750262589109,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:03:10 [16:03:10.965]
INFO:
archiver Stopped.
16:03:10 [16:03:10.968]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:11 [16:03:11.370]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
16:03:12 [16:03:12.695]
INFO:
archiver:test Waiting for archiver to sync to block 1
16:03:12 [16:03:12.831]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0dc8f4627038540f353cb0f67f433468314bacee25b9933ec8030b6ee684e345","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750262590980,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:03:12 [16:03:12.920]
INFO:
archiver Stopped.
16:03:12 [16:03:12.922]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:13 [16:03:13.414]
INFO:
archiver:test Syncing archiver to L1 block 6
16:03:13 [16:03:13.416]
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":"0xf7b7d20024c2a27f1504b6b85001edf0cdae830e0963538fc355d0b188999170","l1BlockNumber":0}}
16:03:13 [16:03:13.431]
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:03:13 [16:03:13.435]
INFO:
archiver Stopped.
16:03:13 [16:03:13.437]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:13 [16:03:13.896]
INFO:
archiver:test Syncing archiver to L1 block 7
16:03:13 [16:03:13.897]
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":"0x556c99006cf85b53f6aeb4aad9122aa95f4f4fbfe629f92377a39e5f20e9f67e","l1BlockNumber":0}}
16:03:13 [16:03:13.909]
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:03:13 [16:03:13.912]
INFO:
archiver Stopped.
16:03:13 [16:03:13.927]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:14 [16:03:14.348]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
16:03:15 [16:03:15.327]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x25e77f21db662c44b0118d348cf4af41f7640fbdb25ff54c8349b1c1e5edda6c","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750262593926,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:03:15 [16:03:15.336]
INFO:
archiver Stopped.
16:03:15 [16:03:15.341]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:15 [16:03:15.854]
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":"0x0ad717d61dd0a814154e88aac700bfc17070c8961aa2f9ad5ecfe6e409ddc072","l1BlockNumber":0}}
16:03:15 [16:03:15.874]
INFO:
archiver Stopped.
16:03:15 [16:03:15.876]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:03:20 [16:03:20.178]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x20941f2ce7f5c4ec50c56103af5643b6d88d6ba542156e94ba3a4ecd71b96ce3","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750262595887,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:03:20 [16:03:20.182]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x09e94998795a6eba3534960d2e9349242524b83c7d5252cc1d1cdf9a3a1ae261","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750262595899,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
16:03:21 [16:03:21.349]
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:22 [16:03:22.409]
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:22 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
16:03:22 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
16:03:22 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
16:03:22 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
16:03:22 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:03:22 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:03:22 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:03:22 newBlockNumber: 3,
16:03:22 previousBlockNumber: 1
16:03:22 }
16:03:22 [16:03:22.442]
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":"0x20941f2ce7f5c4ec50c56103af5643b6d88d6ba542156e94ba3a4ecd71b96ce3","newBlockNumber":3,"updatedL1SyncPoint":70}
16:03:22 [16:03:22.444]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
16:03:22 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
16:03:22 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
16:03:22 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
16:03:22 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
16:03:22 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:03:22 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:03:22 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:03:22 newBlockNumber: 3,
16:03:22 previousBlockNumber: 1
16:03:22 }
16:03:23 [16:03:23.753]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x09e94998795a6eba3534960d2e9349242524b83c7d5252cc1d1cdf9a3a1ae261","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750262595899,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
16:03:23 [16:03:23.755]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x17ec0a1ef175965efe81bc24a3521c32d648937d31f734074f6b5f5c74201cd1","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750262595911,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
16:03:23 [16:03:23.774]
INFO:
archiver Stopped.
16:03:23
PASS src/archiver/archiver.test.ts (
37.187 s)
16:03:23 Archiver
16:03:23
✓ syncs l1 to l2 messages and blocks (4487 ms)
16:03:23
✓ ignores block 3 because it has been pruned (2867 ms)
16:03:23
✓ skip event search if no changes found (4029 ms)
16:03:23
✓ handles L2 reorg (6478 ms)
16:03:23
✓ handles updated messages due to L1 reorg (1509 ms)
16:03:23
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1870 ms)
16:03:23
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1954 ms)
16:03:23
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (515 ms)
16:03:23
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (477 ms)
16:03:23
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1424 ms)
16:03:23
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (536 ms)
16:03:23
✓ handles a block gap due to a spurious L2 prune (7900 ms)
16:03:23
○ skipped handles an upcoming L2 prune
16:03:23
16:03:23
Test Suites: 1 passed, 1 total
16:03:23
Tests: 1 skipped,
12 passed, 13 total
16:03:23
Snapshots: 0 total
16:03:23
Time: 37.272 s
16:03:23
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
16:03:23
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?