Skip to content

Commit

Permalink
Change permissionless to permissioned in evm params
Browse files Browse the repository at this point in the history
  • Loading branch information
trinitys7 committed Nov 8, 2024
1 parent b152550 commit a9b9109
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions app/upgrades/v2/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,15 @@ func CreateUpgradeHandler(
}

evmParams := evmtypes.DefaultParams()
evmParams.ActiveStaticPrecompiles = []string{
evmtypes.StakingPrecompileAddress,
evmParams.AccessControl = evmtypes.AccessControl{
Create: evmtypes.AccessControlType{
AccessType: evmtypes.AccessTypePermissioned,

Check failure on line 133 in app/upgrades/v2/upgrades.go

View workflow job for this annotation

GitHub Actions / lint

File is not `gofumpt`-ed (gofumpt)
AccessControlList: evmtypes.DefaultCreateAllowlistAddresses,
},
Call: evmtypes.AccessControlType{
AccessType: evmtypes.AccessTypePermissioned,

Check failure on line 137 in app/upgrades/v2/upgrades.go

View workflow job for this annotation

GitHub Actions / lint

File is not `gofumpt`-ed (gofumpt)
AccessControlList: evmtypes.DefaultCallAllowlistAddresses,
},
}
err = evmKeeper.SetParams(sdkCtx, evmParams)
if err != nil {
Expand Down

0 comments on commit a9b9109

Please sign in to comment.