Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ELEmitEventDecorator ¶
type ELEmitEventDecorator struct {
// contains filtered or unexported fields
}
func NewEvmLaneEmitEventDecorator ¶
func NewEvmLaneEmitEventDecorator(ek evmkeeper.Keeper) ELEmitEventDecorator
NewEvmLaneEmitEventDecorator creates a new ELEmitEventDecorator.
- If the input transaction is an Ethereum transaction, it emits some event indicates the EVM tx is accepted and started state transition.
- If the input transaction is a Cosmos transaction, it calls next ante handler.
func (ELEmitEventDecorator) AnteHandle ¶
func (eed ELEmitEventDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error)
AnteHandle emits some basic events for the eth messages
type ELExecWithoutErrorDecorator ¶
type ELExecWithoutErrorDecorator struct {
// contains filtered or unexported fields
}
func NewEvmLaneExecWithoutErrorDecorator ¶
func NewEvmLaneExecWithoutErrorDecorator(ak authkeeper.AccountKeeper, bk bankkeeper.Keeper, ek evmkeeper.Keeper) ELExecWithoutErrorDecorator
NewEvmLaneExecWithoutErrorDecorator creates a new ELExecWithoutErrorDecorator. This decorator only executes in (re)check-tx and simulation mode.
- If the input transaction is a Cosmos transaction, it calls next ante handler.
- If the input transaction is an Ethereum transaction, it runs simulate the state transition to ensure tx can be executed.
func (ELExecWithoutErrorDecorator) AnteHandle ¶
func (ed ELExecWithoutErrorDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error)
AnteHandle emits some basic events for the eth messages
type ELSetupExecutionDecorator ¶
type ELSetupExecutionDecorator struct {
// contains filtered or unexported fields
}
func NewEvmLaneSetupExecutionDecorator ¶
func NewEvmLaneSetupExecutionDecorator(ek evmkeeper.Keeper) ELSetupExecutionDecorator
NewEvmLaneSetupExecutionDecorator creates a new ELSetupExecutionDecorator.
- If the input transaction is an Ethereum transaction, it updates some information to transient store.
- If the input transaction is a Cosmos transaction, it calls next ante handler.
func (ELSetupExecutionDecorator) AnteHandle ¶
func (sed ELSetupExecutionDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error)
AnteHandle emits some basic events for the eth messages
type ELValidateBasicEoaDecorator ¶
type ELValidateBasicEoaDecorator struct {
// contains filtered or unexported fields
}
func NewEvmLaneValidateBasicEoaDecorator ¶
func NewEvmLaneValidateBasicEoaDecorator(ak authkeeper.AccountKeeper, ek evmkeeper.Keeper) ELValidateBasicEoaDecorator
NewEvmLaneValidateBasicEoaDecorator returns ELValidateBasicEoaDecorator, is an EVM-only-lane decorator.
- If the input transaction is an Ethereum transaction, it verifies the caller is an External-Owned-Account, also creates account if not exists.
- If the input transaction is a Cosmos transaction, it calls next ante handler.
func (ELValidateBasicEoaDecorator) AnteHandle ¶
Click to show internal directories.
Click to hide internal directories.