fix: update cross chain logic of native stake (#1066)

This commit is contained in:
Roshan 2022-08-31 14:42:23 +08:00 committed by GitHub
parent 755df16c9a
commit fd6fa7c9ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 13 deletions

File diff suppressed because one or more lines are too long

@ -322,9 +322,7 @@ var (
MirrorSyncBlock: big.NewInt(5582500),
BrunoBlock: big.NewInt(13837000),
EulerBlock: big.NewInt(19203503),
//TODO
GibbsBlock: nil,
GibbsBlock: big.NewInt(22800220),
Parlia: &ParliaConfig{
Period: 3,
@ -737,11 +735,7 @@ func (c *ChainConfig) CheckConfigForkOrder() error {
{name: "mirrorSyncBlock", block: c.MirrorSyncBlock},
{name: "brunoBlock", block: c.BrunoBlock},
{name: "eulerBlock", block: c.EulerBlock},
{name: "berlinBlock", block: c.BerlinBlock},
{name: "londonBlock", block: c.LondonBlock},
{name: "arrowGlacierBlock", block: c.ArrowGlacierBlock, optional: true},
{name: "gibbsBlock", block: c.GibbsBlock},
{name: "mergeStartBlock", block: c.MergeForkBlock, optional: true},
} {
if lastFork.name != "" {
// Next one must be higher number