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

eth, miner: fix enforcing the minimum miner tip (#28933) #1209

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

pratikspatil024
Copy link
Member

  • eth, miner: fix enforcing the minimum miner tip

  • ethclient/simulated: fix failing test due the min tip change

  • accounts/abi/bind: fix simulater gas tip issue

Description

Cherry-picked ethereum/go-ethereum#28933.

Changes

  • Bugfix (non-breaking change that solves an issue)
  • Hotfix (change that solves an urgent issue, and requires immediate attention)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (change that is not backwards-compatible and/or changes current functionality)
  • Changes only for a subset of nodes

Breaking changes

Please complete this section if any breaking changes have been made, otherwise delete it

Nodes audience

In case this PR includes changes that must be applied only to a subset of nodes, please specify how you handled it (e.g. by adding a flag with a default value...)

Checklist

  • I have added at least 2 reviewer or the whole pos-v1 team
  • I have added sufficient documentation in code
  • I will be resolving comments - if any - by pushing each fix in a separate commit and linking the commit hash in the comment reply
  • Created a task in Jira and informed the team for implementation in Erigon client (if applicable)
  • Includes RPC methods changes, and the Notion documentation has been updated

Cross repository changes

  • This PR requires changes to heimdall
    • In case link the PR here:
  • This PR requires changes to matic-cli
    • In case link the PR here:

Testing

  • I have added unit tests
  • I have added tests to CI
  • I have tested this code manually on local environment
  • I have tested this code manually on remote devnet using express-cli
  • I have tested this code manually on mumbai
  • I have created new e2e tests into express-cli

Manual tests

Please complete this section with the steps you performed if you ran manual tests for this functionality, otherwise delete it

Additional comments

Please post additional comments in this section if you have them, otherwise delete it

* eth, miner: fix enforcing the minimum miner tip

* ethclient/simulated: fix failing test due the min tip change

* accounts/abi/bind: fix simulater gas tip issue
Copy link

codecov bot commented Apr 5, 2024

Codecov Report

Attention: Patch coverage is 46.15385% with 14 lines in your changes are missing coverage. Please review.

Project coverage is 51.44%. Comparing base (f3cf1c1) to head (1460d0b).
Report is 7 commits behind head on develop.

Files Patch % Lines
miner/worker.go 47.05% 8 Missing and 1 partial ⚠️
miner/miner.go 0.00% 3 Missing ⚠️
eth/api_miner.go 0.00% 1 Missing ⚠️
miner/test_backend.go 50.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1209      +/-   ##
===========================================
+ Coverage    51.39%   51.44%   +0.05%     
===========================================
  Files          794      794              
  Lines       131311   131327      +16     
===========================================
+ Hits         67488    67564      +76     
+ Misses       59646    59590      -56     
+ Partials      4177     4173       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pratikspatil024 pratikspatil024 merged commit ee7299b into develop Apr 8, 2024
12 of 14 checks passed
@pratikspatil024 pratikspatil024 deleted the fix-min-miner-tip2 branch April 8, 2024 05:17
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.

4 participants