0

I need to update my the version of my chain from homestead to Byzantium. Who can tell me how to do it? thanks.

1 Answer 1

0

I think you need to modify params\config.go function :

// IsByzantium returns whether num is either equal to the Byzantium fork block or greater.
func (c *ChainConfig) IsByzantium(num *big.Int) bool {
    return isForked(c.ByzantiumBlock, num)
}

Can return true to allow Byzantium rules.

1
  • 1
    Thank you for your response. Yes I can only modify the code in my local client, but I can make sure all of the client update to the code by themselves.
    – Allen.wang
    Jul 23, 2018 at 8:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.