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
5e5d3f70
Unverified
Commit
5e5d3f70
authored
May 15, 2024
by
petercover
Committed by
GitHub
May 14, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: fix function names in comment (#10535)
Signed-off-by:
petercover
<
raowanxiang@outlook.com
>
parent
95d39a7a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
txmgr_test.go
op-service/txmgr/txmgr_test.go
+2
-2
engine.go
op-wheel/engine/engine.go
+1
-1
No files found.
op-service/txmgr/txmgr_test.go
View file @
5e5d3f70
...
@@ -409,7 +409,7 @@ func TestAlreadyReserved(t *testing.T) {
...
@@ -409,7 +409,7 @@ func TestAlreadyReserved(t *testing.T) {
require
.
ErrorIs
(
t
,
err
,
ErrAlreadyReserved
)
require
.
ErrorIs
(
t
,
err
,
ErrAlreadyReserved
)
}
}
// TestTxMgrConfirmsAt
Max
GasPrice asserts that Send properly returns the max gas
// TestTxMgrConfirmsAt
Higher
GasPrice asserts that Send properly returns the max gas
// price receipt if none of the lower gas price txs were mined.
// price receipt if none of the lower gas price txs were mined.
func
TestTxMgrConfirmsAtHigherGasPrice
(
t
*
testing
.
T
)
{
func
TestTxMgrConfirmsAtHigherGasPrice
(
t
*
testing
.
T
)
{
t
.
Parallel
()
t
.
Parallel
()
...
@@ -439,7 +439,7 @@ func TestTxMgrConfirmsAtHigherGasPrice(t *testing.T) {
...
@@ -439,7 +439,7 @@ func TestTxMgrConfirmsAtHigherGasPrice(t *testing.T) {
require
.
Equal
(
t
,
h
.
gasPricer
.
expGasFeeCap
()
.
Uint64
(),
receipt
.
GasUsed
)
require
.
Equal
(
t
,
h
.
gasPricer
.
expGasFeeCap
()
.
Uint64
(),
receipt
.
GasUsed
)
}
}
// TestTxMgrConfirmsBlobTxAt
Max
GasPrice asserts that Send properly returns the max gas price
// TestTxMgrConfirmsBlobTxAt
Higher
GasPrice asserts that Send properly returns the max gas price
// receipt if none of the lower gas price txs were mined when attempting to send a blob tx.
// receipt if none of the lower gas price txs were mined when attempting to send a blob tx.
func
TestTxMgrConfirmsBlobTxAtHigherGasPrice
(
t
*
testing
.
T
)
{
func
TestTxMgrConfirmsBlobTxAtHigherGasPrice
(
t
*
testing
.
T
)
{
t
.
Parallel
()
t
.
Parallel
()
...
...
op-wheel/engine/engine.go
View file @
5e5d3f70
...
@@ -331,7 +331,7 @@ func Copy(ctx context.Context, copyFrom client.RPC, copyTo *sources.EngineAPICli
...
@@ -331,7 +331,7 @@ func Copy(ctx context.Context, copyFrom client.RPC, copyTo *sources.EngineAPICli
return
nil
return
nil
}
}
// CopyPaylod takes the execution payload at number & applies it via NewPayload to copyTo
// CopyPaylo
a
d takes the execution payload at number & applies it via NewPayload to copyTo
func
CopyPayload
(
ctx
context
.
Context
,
number
uint64
,
copyFrom
client
.
RPC
,
copyTo
*
sources
.
EngineAPIClient
)
error
{
func
CopyPayload
(
ctx
context
.
Context
,
number
uint64
,
copyFrom
client
.
RPC
,
copyTo
*
sources
.
EngineAPIClient
)
error
{
copyHead
,
err
:=
getBlock
(
ctx
,
copyFrom
,
methodEthGetBlockByNumber
,
hexutil
.
EncodeUint64
(
number
))
copyHead
,
err
:=
getBlock
(
ctx
,
copyFrom
,
methodEthGetBlockByNumber
,
hexutil
.
EncodeUint64
(
number
))
if
err
!=
nil
{
if
err
!=
nil
{
...
...
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