Documentation ¶
Index ¶
- func AllTxLogsFromEvents(events []abci.Event) ([][]*ethtypes.Log, error)
- func BlockMaxGasFromConsensusParams(ctx context.Context, clientCtx client.Context, blockHeight int64) (int64, error)
- func GetLogsFromBlockResults(blockRes *tmrpctypes.ResultBlockResults) ([][]*ethtypes.Log, error)
- func ParseTxLogsFromEvent(event abci.Event) ([]*ethtypes.Log, error)
- func ShouldIgnoreGasUsed(res *abci.ResponseDeliverTx) bool
- func TxLogsFromEvents(events []abci.Event, msgIndex int) ([]*ethtypes.Log, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllTxLogsFromEvents ¶
AllTxLogsFromEvents parses all ethereum logs from cosmos events
func GetLogsFromBlockResults ¶
func GetLogsFromBlockResults(blockRes *tmrpctypes.ResultBlockResults) ([][]*ethtypes.Log, error)
GetLogsFromBlockResults returns the list of event logs from the tendermint block result response
func ParseTxLogsFromEvent ¶
ParseTxLogsFromEvent parse tx logs from one event
func ShouldIgnoreGasUsed ¶
func ShouldIgnoreGasUsed(res *abci.ResponseDeliverTx) bool
ShouldIgnoreGasUsed returns true if the gasUsed in result should be ignored workaround for issue: https://github.com/cosmos/cosmos-sdk/issues/10832
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.