Skip to content

Commit ea8a881

Browse files
guqicunceyonur
andauthored
chore: fix some function names in comment (#1405)
Signed-off-by: guqicun <[email protected]> Co-authored-by: Ceyhun Onur <[email protected]>
1 parent ae4064a commit ea8a881

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

eth/tracers/js/tracer_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ func TestHaltBetweenSteps(t *testing.T) {
206206
}
207207
}
208208

209-
// testNoStepExec tests a regular value transfer (no exec), and accessing the statedb
209+
// TestNoStepExec tests a regular value transfer (no exec), and accessing the statedb
210210
// in 'result'
211211
func TestNoStepExec(t *testing.T) {
212212
execTracer := func(code string) []byte {

eth/tracers/logger/access_list_tracer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ func (al accessList) equal(other accessList) bool {
8787
return true
8888
}
8989

90-
// accesslist converts the accesslist to a types.AccessList.
90+
// accessList converts the accesslist to a types.AccessList.
9191
func (al accessList) accessList() types.AccessList {
9292
acl := make(types.AccessList, 0, len(al))
9393
for addr, slots := range al {

internal/ethapi/transaction_args.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ func (args *TransactionArgs) setCancunFeeDefaults(ctx context.Context, head *typ
277277
return nil
278278
}
279279

280-
// setSubnetEVMFeeDefaults fills in reasonable default fee values for unspecified fields.
280+
// setSubnetEVMFeeDefault fills in reasonable default fee values for unspecified fields.
281281
func (args *TransactionArgs) setSubnetEVMFeeDefault(ctx context.Context, head *types.Header, b feeBackend) error {
282282
// Set maxPriorityFeePerGas if it is missing.
283283
if args.MaxPriorityFeePerGas == nil {

rpc/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ func (h *handler) startCallProc(fn func(*callProc)) {
479479
}
480480
}
481481

482-
// handleResponse processes method call responses.
482+
// handleResponses processes method call responses.
483483
func (h *handler) handleResponses(batch []*jsonrpcMessage, handleCall func(*jsonrpcMessage)) {
484484
var resolvedops []*requestOp
485485
handleResp := func(msg *jsonrpcMessage) {

0 commit comments

Comments
 (0)