Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
pinosu committed Sep 12, 2024
1 parent 9a6a08b commit 28768e3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion x/wasm/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,6 @@ func (k Keeper) callMigrateEntrypoint(
msg []byte,
newCodeID uint64,
) (*wasmvmtypes.Response, error) {

sdkCtx, discount := k.shouldGetDiscount(sdkCtx, string(newChecksum), k.IsPinnedCode(sdkCtx, newCodeID))
setupCost := k.gasRegister.SetupContractCost(discount, len(msg))
sdkCtx.GasMeter().ConsumeGas(setupCost, "Loading CosmWasm module: migrate")
Expand Down

0 comments on commit 28768e3

Please sign in to comment.