Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: eth: cleanup error cases #10306

Merged
merged 1 commit into from
Feb 17, 2023
Merged

fix: eth: cleanup error cases #10306

merged 1 commit into from
Feb 17, 2023

Conversation

Stebalien
Copy link
Member

Related Issues

Proposed Changes

Cleanup some error cases:

  1. Return an error on gas estimation failure instead of logging.
  2. Return early when processing signed messages on failure instead of
    continuing.

Additional Info

@travisperson any reason to not return an error when ethGasSearch fails?

Checklist

Before you mark the PR ready for review, please make sure that:

  • Commits have a clear commit message.
  • PR title is in the form of of <PR type>: <area>: <change being made>
    • example: fix: mempool: Introduce a cache for valid signatures
    • PR type: fix, feat, build, chore, ci, docs, perf, refactor, revert, style, test
    • area, e.g. api, chain, state, market, mempool, multisig, networking, paych, proving, sealing, wallet, deps
  • CI is green

1. Return an error on gas estimation failure instead of logging.
2. Return early when processing signed messages on failure instead of
continuing.
@Stebalien Stebalien requested a review from a team as a code owner February 17, 2023 20:05
@arajasek arajasek merged commit e3e78f1 into release/v1.20.0 Feb 17, 2023
@arajasek arajasek deleted the steb/error-cleanup branch February 17, 2023 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants