add hip30 testing for devnet/partner network (#4525)

pull/4527/head
Soph 1 year ago committed by GitHub
parent 3f6a0db28e
commit e1338060ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      core/state_processor.go

@ -569,7 +569,7 @@ func MayBalanceMigration(
}
}
// for testing balance migration on devnet
isDevnet := nodeconfig.GetDefaultConfig().GetNetworkType() == nodeconfig.Devnet
isDevnet := nodeconfig.GetDefaultConfig().GetNetworkType() == nodeconfig.Partner
isLocalnet := nodeconfig.GetDefaultConfig().GetNetworkType() == nodeconfig.Localnet
if isDevnet || isLocalnet {
if config.IsOneEpochBeforeHIP30(header.Epoch()) {

Loading…
Cancel
Save