[Bug]: eth_call over-reports gas for native precompiles
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 164
- Forks
- 215
- Avg merge
- 3d 58m
- Merged PRs (30d)
- 12
Description
eth_call reported a stricter gas floor than real broadcast via deliverTx for transactions reaching a native precompile like staking precompile. When simulate via eth_call before broadcasting then rejected otherwise-valid eth_estimateGas results with "out of gas," even though same gas value would have succeeded on chain. Pure-EVM contracts were unaffected.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the eth_call gas-simulation path and compare it with deliverTx for transactions reaching the staking native precompile; eth_estimateGas is the affected caller. Reproduce the discrepancy with a native-precompile transaction and verify that eth_call no longer reports out of gas when the same gas value succeeds through deliverTx, while pure-EVM behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- blockchain
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100