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
25972bd8
Unverified
Commit
25972bd8
authored
Dec 05, 2024
by
mountcount
Committed by
GitHub
Dec 05, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: fix some problematic function names in comment (#13142)
Signed-off-by:
mountcount
<
cuimoman@outlook.com
>
parent
94056b99
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
send_state_test.go
op-service/txmgr/send_state_test.go
+1
-1
frontend.go
op-supervisor/supervisor/frontend/frontend.go
+1
-1
No files found.
op-service/txmgr/send_state_test.go
View file @
25972bd8
...
@@ -58,7 +58,7 @@ func TestSendStateNoAbortAfterProcessOtherError(t *testing.T) {
...
@@ -58,7 +58,7 @@ func TestSendStateNoAbortAfterProcessOtherError(t *testing.T) {
require
.
Nil
(
t
,
sendState
.
CriticalError
())
require
.
Nil
(
t
,
sendState
.
CriticalError
())
}
}
// TestSendStateAbortSafelyAfterNonceTooLow
ButNoTxMin
ed asserts that we will abort after the very
// TestSendStateAbortSafelyAfterNonceTooLow
NoTxPublish
ed asserts that we will abort after the very
// first none-too-low error if a tx hasn't yet been published.
// first none-too-low error if a tx hasn't yet been published.
func
TestSendStateAbortSafelyAfterNonceTooLowNoTxPublished
(
t
*
testing
.
T
)
{
func
TestSendStateAbortSafelyAfterNonceTooLowNoTxPublished
(
t
*
testing
.
T
)
{
sendState
:=
newSendState
()
sendState
:=
newSendState
()
...
...
op-supervisor/supervisor/frontend/frontend.go
View file @
25972bd8
...
@@ -47,7 +47,7 @@ func (q *QueryFrontend) CheckMessage(identifier types.Identifier, payloadHash co
...
@@ -47,7 +47,7 @@ func (q *QueryFrontend) CheckMessage(identifier types.Identifier, payloadHash co
return
q
.
Supervisor
.
CheckMessage
(
identifier
,
payloadHash
)
return
q
.
Supervisor
.
CheckMessage
(
identifier
,
payloadHash
)
}
}
// CheckMessage checks the safety-level of a collection of messages,
// CheckMessage
s
checks the safety-level of a collection of messages,
// and returns if the minimum safety-level is met for all messages.
// and returns if the minimum safety-level is met for all messages.
func
(
q
*
QueryFrontend
)
CheckMessages
(
func
(
q
*
QueryFrontend
)
CheckMessages
(
messages
[]
types
.
Message
,
messages
[]
types
.
Message
,
...
...
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