aboutsummaryrefslogtreecommitdiff
path: root/params
diff options
context:
space:
mode:
authorAaron Buchwald <[email protected]>2020-12-18 13:44:39 -0500
committerAaron Buchwald <[email protected]>2020-12-18 13:44:39 -0500
commit1a3af21dedc790ca0958eb2c93b7e98f5b7f2b77 (patch)
treec776bedfcdc3436a6b5165873e449178ab38cdc8 /params
parenta518d0d8c68812a5c5f7c0395ff380bfa266f493 (diff)
Cleanup
Diffstat (limited to 'params')
-rw-r--r--params/config.go5
1 files changed, 0 insertions, 5 deletions
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