From 1a3af21dedc790ca0958eb2c93b7e98f5b7f2b77 Mon Sep 17 00:00:00 2001 From: Aaron Buchwald Date: Fri, 18 Dec 2020 13:44:39 -0500 Subject: Cleanup --- params/config.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'params') diff --git a/params/config.go b/params/config.go index 2f59170..f945f47 100644 --- a/params/config.go +++ b/params/config.go @@ -502,7 +502,6 @@ func (c *ChainConfig) IsApricot(blockTimestamp *big.Int) bool { return isForked(c.ApricotBlockTimestamp, blockTimestamp) } -// TODO review how this works and see if it will work for a live transition // CheckCompatible checks whether scheduled fork transitions have been imported // with a mismatching chain configuration. func (c *ChainConfig) CheckCompatible(newcfg *ChainConfig, height uint64) *ConfigCompatError { @@ -542,10 +541,6 @@ func (c *ChainConfig) CheckConfigForkOrder() error { {name: "istanbulBlock", block: c.IstanbulBlock}, {name: "muirGlacierBlock", block: c.MuirGlacierBlock, optional: true}, {name: "yoloV1Block", block: c.YoloV1Block}, - // TODO figure out how Apricot fits in here. - // Precompiled contracts start from other end so they are compatible - // but it may be incompatible (and it was before Apricot as well) due - // to how the instruction sets are created } { if lastFork.name != "" { // Next one must be higher number -- cgit v1.2.3