Documentation
¶
Index ¶
Constants ¶
View Source
const BlockchainTracerKey = BlockchainTracerKeyType("evm_and_state_logger")
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BlockchainTracerKeyType ¶
type BlockchainTracerKeyType string
type CosmosEndBlockEvent ¶
type CosmosEndBlockEvent struct {
LogsBloom []byte
}
type CosmosStartBlockEvent ¶
type Hooks ¶
type Hooks struct {
*tracing.Hooks
// OnCosmosBlockStart is called when a new block is started.
OnCosmosBlockStart OnCosmosBlockStart
// OnCosmosBlockEnd is called when a block is finished.
OnCosmosBlockEnd OnCosmosBlockEnd
// OnCosmosTxStart is called when a new transaction is started.
// The transaction hash calculated by the EVM is passed as an argument as it
// is not the same as the one calculated by tx.Hash()
OnCosmosTxStart OnCosmosTxStart
}
Hooks defines a Cosmos specific tracing.Hooks struct used to trace EVM blocks and transactions.
func GetTracingHooks ¶
type OnCosmosBlockEnd ¶
type OnCosmosBlockEnd func(CosmosEndBlockEvent, error)
type OnCosmosBlockStart ¶
type OnCosmosBlockStart func(CosmosStartBlockEvent)
type OnCosmosTxStart ¶
Click to show internal directories.
Click to hide internal directories.