Skip to content

feat: surface miner nonce too high errors#1906

Merged
mslipper merged 1 commit intoethereum-optimism:developfrom
cfromknecht:surface-miner-nonce-too-high
Dec 14, 2021
Merged

feat: surface miner nonce too high errors#1906
mslipper merged 1 commit intoethereum-optimism:developfrom
cfromknecht:surface-miner-nonce-too-high

Conversation

@cfromknecht
Copy link
Contributor

@cfromknecht cfromknecht commented Dec 9, 2021

Description
This commit exposes the ErrNonceTooHigh at the execution level to
external users. Previously the error was mapped to ErrNonceTooLow to
match the mempool behavior. As this is a new error, and one not
currently exposed in L1, this could be a breaking change for some
applications depending on how the error messages are parsed.

This PR should be merged in conjunction with #1882, so that the errors
are returned at the mempool and miner level simultaneously.

Metadata

  • Fixes ENG-1775

@changeset-bot
Copy link

changeset-bot bot commented Dec 9, 2021

🦋 Changeset detected

Latest commit: 2924845

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@eth-optimism/l2geth Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codecov-commenter
Copy link

codecov-commenter commented Dec 9, 2021

Codecov Report

Merging #1906 (2924845) into develop (2b74367) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #1906   +/-   ##
========================================
  Coverage    72.06%   72.06%           
========================================
  Files           70       70           
  Lines         2327     2327           
  Branches       346      346           
========================================
  Hits          1677     1677           
  Misses         650      650           
Flag Coverage Δ
batch-submitter 62.50% <ø> (ø)
contracts 87.96% <ø> (ø)
core-utils 57.50% <ø> (ø)
data-transport-layer 38.64% <ø> (ø)
message-relayer 70.86% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2b74367...2924845. Read the comment docs.

This commit exposes the ErrNonceTooHigh at the execution level to
external users. Previously the error was mapped to ErrNonceTooLow to
match the mempool behavior. As this is a new error, and one not
currently exposed in L1, this could be a breaking change for some
applications depending on how the error messages are parsed.
@mslipper mslipper force-pushed the surface-miner-nonce-too-high branch from e313284 to 2924845 Compare December 14, 2021 18:05
@mslipper mslipper merged commit 4ebd8e8 into ethereum-optimism:develop Dec 14, 2021
@cfromknecht cfromknecht deleted the surface-miner-nonce-too-high branch December 14, 2021 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-cannon Area: cannon

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants