diff --git a/x/wasm/types/gas_register.go b/x/wasm/types/gas_register.go index c397a34354..f96b711077 100644 --- a/x/wasm/types/gas_register.go +++ b/x/wasm/types/gas_register.go @@ -252,7 +252,7 @@ func calcWithFreeTier(storedBytes, freeTier uint64) (uint64, uint64) { func (g WasmGasRegister) ToWasmVMGas(source storetypes.Gas) uint64 { x := source * g.c.GasMultiplier if x < source { - panic(storetypes.ErrorOutOfGas{Descriptor: "overflow"}) + panic(storetypes.ErrorGasOverflow{Descriptor: "ToWasmVMGas"}) } return x }