Documentation ¶
Index ¶
- type Tx
- func (tx *Tx) Commit(msg *types.MsgEthereumTx, result *base.Result)
- func (tx *Tx) FinalizeWatcher(msg *types.MsgEthereumTx, err error, panic bool)
- func (tx *Tx) GetSenderAccount() authexported.Account
- func (tx *Tx) SaveTx(msg *types.MsgEthereumTx)
- func (tx *Tx) Transition(config types.ChainConfig) (result base.Result, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tx ¶
func (*Tx) FinalizeWatcher ¶
func (tx *Tx) FinalizeWatcher(msg *types.MsgEthereumTx, err error, panic bool)
func (*Tx) GetSenderAccount ¶
func (tx *Tx) GetSenderAccount() authexported.Account
func (*Tx) SaveTx ¶
func (tx *Tx) SaveTx(msg *types.MsgEthereumTx)
SaveTx since the txCount is used by the stateDB, and a simulated tx is run only on the node it's submitted to, then this will cause the txCount/stateDB of the node that ran the simulated tx to be different with the other nodes, causing a consensus error
func (*Tx) Transition ¶
Click to show internal directories.
Click to hide internal directories.