Conversation
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review.
Tip: disable this comment in your organization's Code Review settings.
|
@claude review |
|
|
Claude finished @marcello33's task in 53s —— View job Code Review: Disable
|
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
There was a problem hiding this comment.
Pull request overview
Temporarily disables the eth_simulateV1 JSON-RPC method in the Bor ethapi implementation so calls return a consistent “not supported” error, and adjusts the test suite accordingly.
Changes:
- Hard-disable
BlockChainAPI.SimulateV1by returning an error immediately. - Add a new unit test asserting
SimulateV1is disabled and skip existing simulate-related tests ininternal/ethapi. - Skip
ethclientsimulate integration tests while the RPC is disabled.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
internal/ethapi/api.go |
Forces SimulateV1 to return a “not supported on Bor” error. |
internal/ethapi/api_test.go |
Adds a disabled-behavior test and skips simulate tests. |
ethclient/ethclient_test.go |
Skips simulate tests that would now fail due to the RPC being disabled. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## v2.7.0-candidate #2161 +/- ##
===================================================
Coverage ? 51.32%
===================================================
Files ? 882
Lines ? 154210
Branches ? 0
===================================================
Hits ? 79146
Misses ? 69915
Partials ? 5149
🚀 New features to boost your workflow:
|
|
Curious to understand why was this disabled? @cffls @marcello33 |
|
Hey @ngotchac we are testing some things internally and will most probably re-enable it in the next version |
|
@marcello33 OK thx for the update. |




Description
Temporarily disable eth_simulateV1