Merge pull request #92 from openrelayxyz/feature/etc-plugin

Feature/etc plugin
This commit is contained in:
AusIV
2023-10-30 12:53:00 -05:00
committed by GitHub
23 changed files with 1568 additions and 301 deletions
+9
View File
@@ -852,6 +852,10 @@ type Rules struct {
IsBerlin, IsLondon bool
IsMerge, IsShanghai, IsCancun, IsPrague bool
IsVerkle bool
// begin plugeth injection
IsEIP160 bool
// end plugeth injection
}
// Rules ensures c's ChainID is not nil.
@@ -877,5 +881,10 @@ func (c *ChainConfig) Rules(num *big.Int, isMerge bool, timestamp uint64) Rules
IsCancun: c.IsCancun(num, timestamp),
IsPrague: c.IsPrague(num, timestamp),
IsVerkle: c.IsVerkle(num, timestamp),
// Begin plugeth injection
IsEIP160: c.IsEIP160(num),
// End plugeth injection
}
}