MCPcopy Create free account
hub / github.com/OCEChain/OCEChain / EnrichCtxWithGas

Function EnrichCtxWithGas

client/utils/utils.go:64–70  ·  view source on GitHub ↗

EnrichCtxWithGas calculates the gas estimate that would be consumed by the transaction and set the transaction's respective value accordingly.

(txBldr authtxb.TxBuilder, cliCtx context.CLIContext, name string, msgs []sdk.Msg)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

Calls 2

simulateMsgsFunction · 0.85
WithGasMethod · 0.80

Tested by

no test coverage detected