fix gas limit panic
This commit is contained in:
parent
264aa45492
commit
a7aff81d32
@ -46,7 +46,7 @@ func setGasMeter(ctx sdk.Context, gasLimit uint64, simulate bool) sdk.Context {
|
|||||||
return ctx.WithGasMeter(sdk.NewInfiniteGasMeter())
|
return ctx.WithGasMeter(sdk.NewInfiniteGasMeter())
|
||||||
}
|
}
|
||||||
|
|
||||||
return ctx.WithGasMeter(sdk.NewGasMeter(gasLimit))
|
return ctx.WithGasMeter(ethermint.NewInfiniteGasMeterWithLimit(gasLimit))
|
||||||
}
|
}
|
||||||
|
|
||||||
// CheckTx implements tx.Handler
|
// CheckTx implements tx.Handler
|
||||||
|
Loading…
Reference in New Issue
Block a user