mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-23 12:07:17 +00:00
No need for ApplyBinanceSmartChainEIPs (#3282)
This commit is contained in:
parent
f0684f9e44
commit
f141803661
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user