Skip to content

Commit b25a513

Browse files
committed
fix: unmarshaling -> unmarshalling on other files
1 parent 34ac45b commit b25a513

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

op-bindings/foundry/artifact.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
// Artifact represents a foundry compilation artifact.
1111
// The Abi is specifically left as a json.RawMessage because
12-
// round trip marshaling/unmarshaling of the abi.ABI type
12+
// round trip marshaling/unmarshalling of the abi.ABI type
1313
// causes issues.
1414
type Artifact struct {
1515
Abi json.RawMessage `json:"abi"`

op-node/rollup/derive/frame.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func (f *Frame) UnmarshalBinary(r ByteReader) error {
108108

109109
// eofAsUnexpectedMissing converts an io.EOF in the error chain of err into an
110110
// io.ErrUnexpectedEOF. It should be used to convert intermediate io.EOF errors
111-
// in unmarshaling code to achieve idiomatic error behavior.
111+
// in unmarshalling code to achieve idiomatic error behavior.
112112
// Other errors are passed through unchanged.
113113
func eofAsUnexpectedMissing(err error) error {
114114
if errors.Is(err, io.EOF) {

proxyd/rpc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func ParseRPCRes(r io.Reader) (*RPCRes, error) {
110110

111111
res := new(RPCRes)
112112
if err := json.Unmarshal(body, res); err != nil {
113-
return nil, wrapErr(err, "error unmarshaling RPC response")
113+
return nil, wrapErr(err, "error unmarshalling RPC response")
114114
}
115115

116116
return res, nil

proxyd/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ func (s *Server) isGlobalLimit(method string) bool {
677677
func (s *Server) rateLimitSender(ctx context.Context, req *RPCReq) error {
678678
var params []string
679679
if err := json.Unmarshal(req.Params, &params); err != nil {
680-
log.Debug("error unmarshaling raw transaction params", "err", err, "req_Id", GetReqID(ctx))
680+
log.Debug("error unmarshalling raw transaction params", "err", err, "req_Id", GetReqID(ctx))
681681
return ErrParseErr
682682
}
683683

0 commit comments

Comments
 (0)