Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAnteHandler ¶
func NewAnteHandler( ak authKeeper.AccountKeeper, bankKeeper authTypes.BankKeeper, sigGasConsumer ante.SignatureVerificationGasConsumer, signModeHandler signing.SignModeHandler, additionalDecorators ...sdk.AnteDecorator, ) sdk.AnteHandler
Types ¶
type GasTracerContextDecorator ¶
type GasTracerContextDecorator struct{}
GasTracerContextDecorator is an AnteDecorator that wraps the current context gas meter with one that outputs debug logging and telemetry whenever gas is consumed on the meter.
func NewGasTracerContextDecorator ¶
func NewGasTracerContextDecorator() GasTracerContextDecorator
NewGasTracerContextDecorator creates a new GasTracerContextDecorator
func (GasTracerContextDecorator) AnteHandle ¶
func (r GasTracerContextDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error)
AnteHandle implements the AnteDecorator.AnteHandle method
Click to show internal directories.
Click to hide internal directories.