Skip to content

Commit fea22eb

Browse files
Tofelgithub-actions[bot]
authored andcommitted
[Bot] Add automatically generated go documentation
1 parent 9f3bf2b commit fea22eb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

seth/client_builder.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,8 @@ func (c *ClientBuilder) WithEthClient(ethclient simulated.Client) *ClientBuilder
367367
}
368368

369369
// WithHooks sets the hooks for the ClientBuilder configuration.
370-
// It allows users to customize behavior during client operations
371-
// by providing a set of hooks to be executed at specific events.
370+
// It allows users to customize behavior during client operations by providing
371+
// a set of hooks, enhancing the client's functionality and flexibility.
372372
func (c *ClientBuilder) WithHooks(hooks Hooks) *ClientBuilder {
373373
c.config.Hooks = &hooks
374374
return c

seth/tracing.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ type Call struct {
126126
Calls []Call `json:"calls"`
127127
}
128128

129+
// NewTracer initializes a new Tracer instance for monitoring contract interactions.
130+
// It connects to the specified Ethereum network and prepares the necessary components
131+
// for tracing transactions, making it essential for developers needing detailed
132+
// insights into contract execution and debugging.
129133
func NewTracer(cs *ContractStore, abiFinder *ABIFinder, cfg *Config, contractAddressToNameMap ContractMap, addresses []common.Address) (*Tracer, error) {
130134
if cfg == nil {
131135
return nil, errors.New("seth config is nil")

0 commit comments

Comments
 (0)