Skip to content

Commit

Permalink
backport to mainnet v19
Browse files Browse the repository at this point in the history
  • Loading branch information
Reecepbcups committed Jan 25, 2024
1 parent 7b801d5 commit c8e9d94
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/upgrades/v19/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import (
decorators "github.com/CosmosContracts/juno/v19/app/decorators"
"github.com/CosmosContracts/juno/v19/app/keepers"
"github.com/CosmosContracts/juno/v19/app/upgrades"
clocktypes "github.com/CosmosContracts/juno/v19/x/clock/types"
)

func CreateV19UpgradeHandler(
Expand Down Expand Up @@ -58,6 +59,12 @@ func CreateV19UpgradeHandler(
params.AllowedClients = append(params.AllowedClients, wasmlctypes.Wasm)
k.IBCKeeper.ClientKeeper.SetParams(ctx, params)

if err := k.ClockKeeper.SetParams(ctx, clocktypes.Params{
ContractGasLimit: 250_000,
}); err != nil {
return nil, err
}

return versionMap, err
}
}
Expand Down

0 comments on commit c8e9d94

Please sign in to comment.