@@ -117,7 +117,7 @@ func (context *chainContext) GetHeader(hash common.Hash, number uint64) *types.H
117117 return header
118118}
119119
120- // chainContext construts the context reader which is used by the evm for reading
120+ // chainContext represents the context reader which is used by the evm for reading
121121// the necessary chain context.
122122func (api * API ) chainContext (ctx context.Context ) core.ChainContext {
123123 return & chainContext {api : api , ctx : ctx }
@@ -195,10 +195,10 @@ type blockTraceTask struct {
195195 statedb * state.StateDB // Intermediate state prepped for tracing
196196 block * types.Block // Block to trace the transactions from
197197 rootref common.Hash // Trie root reference held for this task
198- results []* txTraceResult // Trace results procudes by the task
198+ results []* txTraceResult // Trace results produced by the task
199199}
200200
201- // blockTraceResult represets the results of tracing a single block when an entire
201+ // blockTraceResult represents the results of tracing a single block when an entire
202202// chain is being traced.
203203type blockTraceResult struct {
204204 Block hexutil.Uint64 `json:"block"` // Block number corresponding to this trace
@@ -232,7 +232,7 @@ func (api *API) TraceChain(ctx context.Context, start, end rpc.BlockNumber, conf
232232
233233// traceChain configures a new tracer according to the provided configuration, and
234234// executes all the transactions contained within. The return value will be one item
235- // per transaction, dependent on the requestd tracer.
235+ // per transaction, dependent on the requested tracer.
236236func (api * API ) traceChain (ctx context.Context , start , end * types.Block , config * TraceConfig ) (* rpc.Subscription , error ) {
237237 // Tracing a chain is a **long** operation, only do with subscriptions
238238 notifier , supported := rpc .NotifierFromContext (ctx )
0 commit comments