scroll-tech / go-ethereum

Scroll's fork of the official Go implementation of the Ethereum protocol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sync fails after Cancun fork

Ethics3606 opened this issue · comments

Hi,

I had a long running Scroll node that failed. I then updated today to the latest commit and started a fresh sync. But neither will work:

Error: unknown ancestor
##############################

ERROR[03-14|09:40:40.400]
########## BAD BLOCK #########
Chain config: {ChainID: 534352 Homestead: 0 DAO: DAOSupport: true EIP150: 0 EIP155: 0 EIP158: 0 Byzantium: 0 Constantinople: 0 Petersburg: 0 Istanbul: 0, Muir Glacier: , Berlin: 0, London: 0
, Arrow Glacier: , Archimedes: 0, Shanghai: 0, Banach: , Engine: clique, Scroll config: {useZktrie: true, maxTxPerBlock: 100, MaxTxPayloadBytesPerBlock: 122880, feeVaultAddress: 0x53000000000
00000000000000000000000000005, l1Config: {l1ChainId: 1, l1MessageQueueAddress: 0x0d7E906BD9cAFa154b048cFa766Cc1E54E39AF9B, numL1MessagesPerBlock: 10, ScrollChainAddress: 0xa13BAF47339d63B743e7Da8741db5
456DAc1E556}}} Number: 520 Hash: 0x9bab2bcd2058e49f48770ea8ed3501461be8db07427c8d71f9a9d01f33afd66b
ParentHash: 0x28949be30b0176d00ff033521aa032b84ce387b38c59f4406ae2bb32d7f3d54c

Error: unknown ancestor
##############################

ERROR[03-14|09:40:40.400]
########## BAD BLOCK #########
Chain config: {ChainID: 534352 Homestead: 0 DAO: DAOSupport: true EIP150: 0 EIP155: 0 EIP158: 0 Byzantium: 0 Constantinople: 0 Petersburg: 0 Istanbul: 0, Muir Glacier: , Berlin: 0, London: 0
, Arrow Glacier: , Archimedes: 0, Shanghai: 0, Banach: , Engine: clique, Scroll config: {useZktrie: true, maxTxPerBlock: 100, MaxTxPayloadBytesPerBlock: 122880, feeVaultAddress: 0x53000000000
00000000000000000000000000005, l1Config: {l1ChainId: 1, l1MessageQueueAddress: 0x0d7E906BD9cAFa154b048cFa766Cc1E54E39AF9B, numL1MessagesPerBlock: 10, ScrollChainAddress: 0xa13BAF47339d63B743e7Da8741db5
456DAc1E556}}}

Number: 521
Hash: 0xe2b4199de8bc8f69345fda968a1ddc265ce6a64c47c9903553e977d26d3b1589
ParentHash: 0x9bab2bcd2058e49f48770ea8ed3501461be8db07427c8d71f9a9d01f33afd66b

Error: unknown ancestor
##############################

ERROR[03-14|09:40:40.400]
########## BAD BLOCK #########
Chain config: {ChainID: 534352 Homestead: 0 DAO: DAOSupport: true EIP150: 0 EIP155: 0 EIP158: 0 Byzantium: 0 Constantinople: 0 Petersburg: 0 Istanbul: 0, Muir Glacier: , Berlin: 0, London: 0
, Arrow Glacier: , Archimedes: 0, Shanghai: 0, Banach: , Engine: clique, Scroll config: {useZktrie: true, maxTxPerBlock: 100, MaxTxPayloadBytesPerBlock: 122880, feeVaultAddress: 0x53000000000
00000000000000000000000000005, l1Config: {l1ChainId: 1, l1MessageQueueAddress: 0x0d7E906BD9cAFa154b048cFa766Cc1E54E39AF9B, numL1MessagesPerBlock: 10, ScrollChainAddress: 0xa13BAF47339d63B743e7Da8741db5
456DAc1E556}}}

Number: 522
Hash: 0xf4493596bda988b6fac2020936d0623bcc9c262feefe854953deb216ba59113b
ParentHash: 0xe2b4199de8bc8f69345fda968a1ddc265ce6a64c47c9903553e977d26d3b1589

Error: unknown ancestor
##############################
ERROR[03-14|09:40:40.400]
########## BAD BLOCK #########
Chain config: {ChainID: 534352 Homestead: 0 DAO: DAOSupport: true EIP150: 0 EIP155: 0 EIP158: 0 Byzantium: 0 Constantinople: 0 Petersburg: 0 Istanbul: 0, Muir Glacier: , Berlin: 0, London: 0
, Arrow Glacier: , Archimedes: 0, Shanghai: 0, Banach: , Engine: clique, Scroll config: {useZktrie: true, maxTxPerBlock: 100, MaxTxPayloadBytesPerBlock: 122880, feeVaultAddress: 0x53000000000
00000000000000000000000000005, l1Config: {l1ChainId: 1, l1MessageQueueAddress: 0x0d7E906BD9cAFa154b048cFa766Cc1E54E39AF9B, numL1MessagesPerBlock: 10, ScrollChainAddress: 0xa13BAF47339d63B743e7Da8741db5
456DAc1E556}}}

Hi, did you configure an L1 endpoint (--l1.endpoint)? Is your L1 node fully synced with Ethereum?

Solution: Update Scroll geth to latest commit. Make sure L1 is synced up to head after recent hard fork