No need for ApplyBinanceSmartChainEIPs (#3282)

This commit is contained in:
Andrew Ashikhmin 2022-01-18 14:43:21 +01:00 committed by GitHub
parent f0684f9e44
commit f141803661
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 7 deletions

View File

@ -1109,7 +1109,6 @@ func newSync(ctx context.Context, db kv.RwDB, miningConfig *params.MiningConfig)
// Apply special hacks for BSC params
if chainConfig.Parlia != nil {
params.ApplyBinanceSmartChainParams()
vm.ApplyBinanceSmartChainEIPs()
}
var batchSize datasize.ByteSize

View File

@ -34,11 +34,6 @@ var activators = map[int]func(*JumpTable){
1344: enable1344,
}
func ApplyBinanceSmartChainEIPs() {
delete(activators, 3529)
delete(activators, 3198)
}
// EnableEIP enables the given EIP on the config.
// This operation writes in-place, and callers need to ensure that the globally
// defined jump tables are not polluted.

View File

@ -183,7 +183,6 @@ func New(stack *node.Node, config *ethconfig.Config, logger log.Logger) (*Ethere
// Apply special hacks for BSC params
if chainConfig.Parlia != nil {
params.ApplyBinanceSmartChainParams()
vm.ApplyBinanceSmartChainEIPs()
}
ctx, ctxCancel := context.WithCancel(context.Background())