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
4ebd8e8a
Unverified
Commit
4ebd8e8a
authored
Dec 14, 2021
by
Matthew Slipper
Committed by
GitHub
Dec 14, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1906 from cfromknecht/surface-miner-nonce-too-high
feat: surface miner nonce too high errors
parents
2b743678
2924845d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
olive-pots-camp.md
.changeset/olive-pots-camp.md
+5
-0
worker.go
l2geth/miner/worker.go
+2
-7
No files found.
.changeset/olive-pots-camp.md
0 → 100644
View file @
4ebd8e8a
---
'
@eth-optimism/l2geth'
:
patch
---
expose ErrNonceTooHigh from miner
l2geth/miner/worker.go
View file @
4ebd8e8a
...
...
@@ -884,13 +884,8 @@ func (w *worker) commitTransactionsWithError(txs *types.TransactionsByPriceAndNo
// Return specific execution errors directly to the user to
// avoid returning the generic ErrCannotCommitTxnErr. It is safe
// to return the error directly since l2geth only processes at
// most one transaction per block. Currently, we map
// ErrNonceTooHigh to ErrNonceTooLow to match the behavior of
// the mempool, but this mapping will be removed at a later
// point once we decided to expose ErrNonceTooHigh to users.
if
err
==
core
.
ErrNonceTooHigh
{
return
core
.
ErrNonceTooLow
}
else
if
err
!=
nil
{
// most one transaction per block.
if
err
!=
nil
{
return
err
}
}
...
...
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