Currently the gas consumed by a Verify call is fixed:
|
sdk.UnwrapSDKContext(ctx).GasMeter().ConsumeGas(10000, "ism verification") |
The ISM itself should be responsible for consuming gas. Since both message and merkle root ISMs use signatures, there's already a parameter available for consuming gas per signature
https://github.com/celestiaorg/cosmos-sdk/blob/d44ddbb106ad0cd510c170e7d23ee8a48d003ba5/x/auth/types/auth.pb.go#L176
Currently the gas consumed by a
Verifycall is fixed:hyperlane-cosmos/x/core/keeper/keeper.go
Line 117 in f2bd6ed
The ISM itself should be responsible for consuming gas. Since both message and merkle root ISMs use signatures, there's already a parameter available for consuming gas per signature
https://github.com/celestiaorg/cosmos-sdk/blob/d44ddbb106ad0cd510c170e7d23ee8a48d003ba5/x/auth/types/auth.pb.go#L176