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
3c52e9d5
Commit
3c52e9d5
authored
Apr 18, 2025
by
vicotor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change log level
parent
f14c715f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
driver.go
op-proposer/proposer/driver.go
+3
-4
operator.go
op-proposer/proposer/operator.go
+1
-1
No files found.
op-proposer/proposer/driver.go
View file @
3c52e9d5
...
...
@@ -2,7 +2,6 @@ package proposer
import
(
"context"
"encoding/hex"
"errors"
"fmt"
"math/big"
...
...
@@ -234,7 +233,7 @@ func (l *L2OutputSubmitter) FetchL2OOOutput(ctx context.Context) (*eth.OutputRes
Context
:
cCtx
,
}
nextCheckpointBlockBig
,
err
:=
l
.
l2ooContract
.
NextBlockNumber
(
callOpts
)
l
.
Log
.
Info
(
"Fetching next block number"
,
"block"
,
nextCheckpointBlockBig
)
l
.
Log
.
Debug
(
"Fetching next block number"
,
"block"
,
nextCheckpointBlockBig
)
if
err
!=
nil
{
return
nil
,
false
,
fmt
.
Errorf
(
"querying next block number: %w"
,
err
)
}
...
...
@@ -242,7 +241,7 @@ func (l *L2OutputSubmitter) FetchL2OOOutput(ctx context.Context) (*eth.OutputRes
nextCheckpointBlock
:=
nextCheckpointBlockBig
.
Uint64
()
// Fetch the current L2 heads
currentBlockNumber
,
err
:=
l
.
FetchCurrentBlockNumber
(
ctx
)
l
.
Log
.
Info
(
"Fetching current block number"
,
"block"
,
currentBlockNumber
,
"err"
,
err
)
l
.
Log
.
Debug
(
"Fetching current block number"
,
"block"
,
currentBlockNumber
,
"err"
,
err
)
if
err
!=
nil
{
return
nil
,
false
,
err
}
...
...
@@ -426,7 +425,7 @@ func (l *L2OutputSubmitter) sendTransaction(ctx context.Context, output *eth.Out
if
err
!=
nil
{
return
err
}
l
.
Log
.
Info
(
"L2OutputSubmitter transaction"
,
"data"
,
hex
.
EncodeToString
(
data
))
//
l.Log.Info("L2OutputSubmitter transaction", "data", hex.EncodeToString(data))
receipt
,
err
=
l
.
Txmgr
.
Send
(
ctx
,
txmgr
.
TxCandidate
{
TxData
:
data
,
To
:
l
.
Cfg
.
L2OutputOracleAddr
,
...
...
op-proposer/proposer/operator.go
View file @
3c52e9d5
...
...
@@ -337,7 +337,7 @@ func (l *Operator) DoOperator(ctx context.Context) {
return
}
else
{
if
len
(
txs
)
==
0
{
l
.
Log
.
Info
(
"ignore block no txs to withdrawal"
,
"blknum"
,
blkNum
)
l
.
Log
.
Debug
(
"ignore block no txs to withdrawal"
,
"blknum"
,
blkNum
)
l
.
SetOperatorTaskList
(
OperatorTaskList
{})
l
.
SetProgress
(
OperatorProgress
{
BlockNumber
:
blkNum
,
...
...
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