Skip to content
  • Martin Holst Swende's avatar
    c7664b06
    core, cmd/puppeth: implement constantinople fix, disable EIP-1283 (#18486) · c7664b06
    Martin Holst Swende authored and Felix Lange's avatar Felix Lange committed
    This PR adds a new fork which disables EIP-1283. Internally it's called Petersburg,
    but the genesis/config field is ConstantinopleFix.
    
    The block numbers are:
    
        7280000 for Constantinople on Mainnet
        7280000 for ConstantinopleFix on Mainnet
        4939394 for ConstantinopleFix on Ropsten
        9999999 for ConstantinopleFix on Rinkeby (real number decided later)
    
    This PR also defaults to using the same ConstantinopleFix number as whatever
    Constantinople is set to. That is, it will default to mainnet behaviour if ConstantinopleFix
    is not set.This means that for private networks which have already transitioned
    to Constantinople, this PR will break the network unless ConstantinopleFix is
    explicitly set!
    c7664b06
    core, cmd/puppeth: implement constantinople fix, disable EIP-1283 (#18486)
    Martin Holst Swende authored and Felix Lange's avatar Felix Lange committed
    This PR adds a new fork which disables EIP-1283. Internally it's called Petersburg,
    but the genesis/config field is ConstantinopleFix.
    
    The block numbers are:
    
        7280000 for Constantinople on Mainnet
        7280000 for ConstantinopleFix on Mainnet
        4939394 for ConstantinopleFix on Ropsten
        9999999 for ConstantinopleFix on Rinkeby (real number decided later)
    
    This PR also defaults to using the same ConstantinopleFix number as whatever
    Constantinople is set to. That is, it will default to mainnet behaviour if ConstantinopleFix
    is not set.This means that for private networks which have already transitioned
    to Constantinople, this PR will break the network unless ConstantinopleFix is
    explicitly set!
Loading