Skip to content

remove PoW specific RPCs#9481

Merged
macfarla merged 5 commits intobesu-eth:mainfrom
macfarla:remove-pow-rpc-methods
Nov 21, 2025
Merged

remove PoW specific RPCs#9481
macfarla merged 5 commits intobesu-eth:mainfrom
macfarla:remove-pow-rpc-methods

Conversation

@macfarla
Copy link
Copy Markdown
Contributor

@macfarla macfarla commented Nov 21, 2025

Signed-off-by: Sally MacFarlane macfarla.github@gmail.com

PR description

Remove PoW specific RPCs: eth_getMinerDataByBlockHash, eth_getMinerDataByBlockNumber, miner_setCoinbase, miner_setEtherbase
Keeping miner_start/stop and eth_mining since they can be useful for clique.

Fixed Issue(s)

Ref #9455

Thanks for sending a pull request! Have you done the following?

  • Checked out our contribution guidelines?
  • Considered documentation and added the doc-change-required label to this PR if updates are required.
  • Considered the changelog and included an update if required.
  • For database changes (e.g. KeyValueSegmentIdentifier) considered compatibility and performed forwards and backwards compatibility tests

Locally, you can run these tests to catch failures early:

  • spotless: ./gradlew spotlessApply
  • unit tests: ./gradlew build
  • acceptance tests: ./gradlew acceptanceTest
  • integration tests: ./gradlew integrationTest
  • reference tests: ./gradlew ethereum:referenceTests:referenceTests
  • hive tests: Engine or other RPCs modified?

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Copilot AI review requested due to automatic review settings November 21, 2025 03:48
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
@macfarla macfarla added the doc-change-required Indicates an issue or PR that requires doc to be updated label Nov 21, 2025
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
@macfarla macfarla added the breaking This can only be addressed/merged for a release that allows user-facing changes to be breaking. label Nov 21, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copy link
Copy Markdown
Contributor

@jframe jframe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice to remove these

@macfarla macfarla merged commit 5d9dc0f into besu-eth:main Nov 21, 2025
46 checks passed
@macfarla macfarla deleted the remove-pow-rpc-methods branch November 21, 2025 07:04
@bgravenorst bgravenorst removed the doc-change-required Indicates an issue or PR that requires doc to be updated label Nov 25, 2025
pinges pushed a commit to pinges/besu that referenced this pull request Dec 15, 2025
* remove PoW specific RPCs

* update test to use a non-deleted RPC

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>

---------

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking This can only be addressed/merged for a release that allows user-facing changes to be breaking.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants