Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
b25a5138
Commit
b25a5138
authored
Dec 11, 2023
by
Chomtana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: unmarshaling -> unmarshalling on other files
parent
34ac45b7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
artifact.go
op-bindings/foundry/artifact.go
+1
-1
frame.go
op-node/rollup/derive/frame.go
+1
-1
rpc.go
proxyd/rpc.go
+1
-1
server.go
proxyd/server.go
+1
-1
No files found.
op-bindings/foundry/artifact.go
View file @
b25a5138
...
...
@@ -9,7 +9,7 @@ import (
// Artifact represents a foundry compilation artifact.
// The Abi is specifically left as a json.RawMessage because
// round trip marshaling/unmarshaling of the abi.ABI type
// round trip marshaling/unmarshal
l
ing of the abi.ABI type
// causes issues.
type
Artifact
struct
{
Abi
json
.
RawMessage
`json:"abi"`
...
...
op-node/rollup/derive/frame.go
View file @
b25a5138
...
...
@@ -108,7 +108,7 @@ func (f *Frame) UnmarshalBinary(r ByteReader) error {
// eofAsUnexpectedMissing converts an io.EOF in the error chain of err into an
// io.ErrUnexpectedEOF. It should be used to convert intermediate io.EOF errors
// in unmarshaling code to achieve idiomatic error behavior.
// in unmarshal
l
ing code to achieve idiomatic error behavior.
// Other errors are passed through unchanged.
func
eofAsUnexpectedMissing
(
err
error
)
error
{
if
errors
.
Is
(
err
,
io
.
EOF
)
{
...
...
proxyd/rpc.go
View file @
b25a5138
...
...
@@ -110,7 +110,7 @@ func ParseRPCRes(r io.Reader) (*RPCRes, error) {
res
:=
new
(
RPCRes
)
if
err
:=
json
.
Unmarshal
(
body
,
res
);
err
!=
nil
{
return
nil
,
wrapErr
(
err
,
"error unmarshaling RPC response"
)
return
nil
,
wrapErr
(
err
,
"error unmarshal
l
ing RPC response"
)
}
return
res
,
nil
...
...
proxyd/server.go
View file @
b25a5138
...
...
@@ -677,7 +677,7 @@ func (s *Server) isGlobalLimit(method string) bool {
func
(
s
*
Server
)
rateLimitSender
(
ctx
context
.
Context
,
req
*
RPCReq
)
error
{
var
params
[]
string
if
err
:=
json
.
Unmarshal
(
req
.
Params
,
&
params
);
err
!=
nil
{
log
.
Debug
(
"error unmarshaling raw transaction params"
,
"err"
,
err
,
"req_Id"
,
GetReqID
(
ctx
))
log
.
Debug
(
"error unmarshal
l
ing raw transaction params"
,
"err"
,
err
,
"req_Id"
,
GetReqID
(
ctx
))
return
ErrParseErr
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment