Skip to content

Commit

Permalink
Merge branch 'trinity/sdk50' into trinity/testnet-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
trinitys7 committed Nov 13, 2024
2 parents 6e02dd2 + 4c4f46e commit 2641a92
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/upgrades/v2/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,11 @@ func CreateUpgradeHandler(
}

evmParams := evmtypes.DefaultParams()
evmParams.ActiveStaticPrecompiles = []string{
evmtypes.StakingPrecompileAddress,
evmParams.AccessControl = evmtypes.AccessControl{
Create: evmtypes.AccessControlType{
AccessType: evmtypes.AccessTypePermissioned,
AccessControlList: evmtypes.DefaultCreateAllowlistAddresses,
},
}
err = evmKeeper.SetParams(sdkCtx, evmParams)
if err != nil {
Expand Down

0 comments on commit 2641a92

Please sign in to comment.