deliver

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tx

type Tx struct {
	*base.Tx
}

func NewTx

func NewTx(config base.Config) *Tx

func (*Tx) Commit

func (tx *Tx) Commit(msg *types.MsgEthereumTx, result *base.Result)

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

func (tx *Tx) Transition(config types.ChainConfig) (result base.Result, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL