Documentation ¶
Index ¶
- type Config
- type Keeper
- type Result
- type Tx
- func (tx *Tx) AnalyzeStart(tag string)
- func (tx *Tx) AnalyzeStop(tag string)
- func (tx *Tx) Commit(msg *types.MsgEthereumTx, result *Result)
- func (tx *Tx) DecorateResult(inResult *Result, inErr error) (result *sdk.Result, err error)
- func (tx *Tx) Dispose()
- func (tx *Tx) EmitEvent(msg *types.MsgEthereumTx, result *Result)
- func (tx *Tx) FinalizeWatcher(msg *types.MsgEthereumTx, err error, panic bool)
- func (tx *Tx) GetChainConfig() (types.ChainConfig, bool)
- func (tx *Tx) GetSenderAccount() authexported.Account
- func (tx *Tx) Prepare(msg *types.MsgEthereumTx) (err error)
- func (tx *Tx) SaveTx(msg *types.MsgEthereumTx)
- func (tx *Tx) Transition(config types.ChainConfig) (result Result, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keeper ¶
Keeper alias of keeper.Keeper, to solve import circle. also evm.Keeper is alias keeper.Keeper
type Result ¶
type Result struct { ExecResult *types.ExecutionResult ResultData *types.ResultData InnerTxs interface{} Erc20Contracts interface{} }
Result evm execute result
type Tx ¶
type Tx struct { Ctx sdk.Context Keeper *Keeper StateTransition types.StateTransition // contains filtered or unexported fields }
Tx evm tx
func (*Tx) AnalyzeStart ¶
func (*Tx) AnalyzeStop ¶
func (*Tx) Commit ¶
func (tx *Tx) Commit(msg *types.MsgEthereumTx, result *Result)
Commit check Tx do not need
func (*Tx) DecorateResult ¶
DecorateResult TraceTxLog situation Decorate the result it was replaced to trace logs when trace tx even if err != nil
func (*Tx) FinalizeWatcher ¶
func (tx *Tx) FinalizeWatcher(msg *types.MsgEthereumTx, err error, panic bool)
FinalizeWatcher check Tx do not need this
func (*Tx) GetChainConfig ¶
func (tx *Tx) GetChainConfig() (types.ChainConfig, bool)
GetChainConfig get chain config, the chain config may cached
func (*Tx) GetSenderAccount ¶
func (tx *Tx) GetSenderAccount() authexported.Account
GetSenderAccount check Tx do not need this
func (*Tx) Prepare ¶
func (tx *Tx) Prepare(msg *types.MsgEthereumTx) (err error)
Prepare convert msg to state transition
func (*Tx) SaveTx ¶
func (tx *Tx) SaveTx(msg *types.MsgEthereumTx)
SaveTx check Tx do not transition state db
func (*Tx) Transition ¶
func (tx *Tx) Transition(config types.ChainConfig) (result Result, err error)
Transition execute evm tx
Click to show internal directories.
Click to hide internal directories.