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
08e1713f
Unverified
Commit
08e1713f
authored
Nov 30, 2023
by
Joshua Gutow
Committed by
GitHub
Nov 30, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8370 from xenoliss/nit/op-node/call-data-source-logging
chore(op-node): log transaction hash in warning
parents
54b4e588
dbbe1c41
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
calldata_source.go
op-node/rollup/derive/calldata_source.go
+2
-2
No files found.
op-node/rollup/derive/calldata_source.go
View file @
08e1713f
...
...
@@ -111,12 +111,12 @@ func DataFromEVMTransactions(config *rollup.Config, batcherAddr common.Address,
if
to
:=
tx
.
To
();
to
!=
nil
&&
*
to
==
config
.
BatchInboxAddress
{
seqDataSubmitter
,
err
:=
l1Signer
.
Sender
(
tx
)
// optimization: only derive sender if To is correct
if
err
!=
nil
{
log
.
Warn
(
"tx in inbox with invalid signature"
,
"index"
,
j
,
"err"
,
err
)
log
.
Warn
(
"tx in inbox with invalid signature"
,
"index"
,
j
,
"
txHash"
,
tx
.
Hash
(),
"
err"
,
err
)
continue
// bad signature, ignore
}
// some random L1 user might have sent a transaction to our batch inbox, ignore them
if
seqDataSubmitter
!=
batcherAddr
{
log
.
Warn
(
"tx in inbox with unauthorized submitter"
,
"index"
,
j
,
"err"
,
err
)
log
.
Warn
(
"tx in inbox with unauthorized submitter"
,
"index"
,
j
,
"
txHash"
,
tx
.
Hash
(),
"
err"
,
err
)
continue
// not an authorized batch submitter, ignore
}
out
=
append
(
out
,
tx
.
Data
())
...
...
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