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
811d33cf
Unverified
Commit
811d33cf
authored
Mar 31, 2023
by
KG
Committed by
GitHub
Mar 31, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: update error message
parent
701211a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
system_config.go
op-node/rollup/derive/system_config.go
+2
-2
No files found.
op-node/rollup/derive/system_config.go
View file @
811d33cf
...
...
@@ -70,13 +70,13 @@ func ProcessSystemConfigUpdateLogEvent(destSysCfg *eth.SystemConfig, ev *types.L
return
fmt
.
Errorf
(
"expected 3 event topics (event identity, indexed version, indexed updateType), got %d"
,
len
(
ev
.
Topics
))
}
if
ev
.
Topics
[
0
]
!=
ConfigUpdateEventABIHash
{
return
fmt
.
Errorf
(
"invalid
L1 sysCf
g update event: %s, expected %s"
,
ev
.
Topics
[
0
],
ConfigUpdateEventABIHash
)
return
fmt
.
Errorf
(
"invalid
SystemConfi
g update event: %s, expected %s"
,
ev
.
Topics
[
0
],
ConfigUpdateEventABIHash
)
}
// indexed 0
version
:=
ev
.
Topics
[
1
]
if
version
!=
ConfigUpdateEventVersion0
{
return
fmt
.
Errorf
(
"unrecognized
L1 sysCf
g update event version: %s"
,
version
)
return
fmt
.
Errorf
(
"unrecognized
SystemConfi
g update event version: %s"
,
version
)
}
// indexed 1
updateType
:=
ev
.
Topics
[
2
]
...
...
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