Summary
When calling the eth_estimateGas method with a JSON-RPC request that includes both header and data fields, the response returns an error with code -32015 and message "mv". This issue has reoccurred despite using the proper request structure.
Environment
- Nethermind Version: 1.31.4 (latest)
- Endpoint:
http://127.0.0.1:8545
- OS/Platform: Ubuntu 24.04
- Additional Context: This is a recurring issue with the
eth_estimateGas method even after ensuring the header and data fields are provided correctly.
Reproduction Steps
- **Execute the following
curl command: on sepolia **
curl --location 'http://127.0.0.1:8545' \
--header 'Content-Type: application/json' \
--data '{
"method": "eth_estimateGas",
"params": [
{
"value": "0x621bfae431e7",
"from": "0x05d91bb01e437eb185447c1b802197954f060f36",
"to": "0x32ffec5f06d659a4b2cf9b9a17d381b524f917e0",
"data": "0xd52471c1000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000008510000000000000000000000000000000000000000000000000000621bfae431e700000000000000000000000005d91bb01e437eb185447c1b802197954f060f3600000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000005de010000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000014000000000000000000000000005d91bb01e437eb185447c1b802197954f060f3600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
}
],
"id": 1,
"jsonrpc": "2.0"
}'```
Observe the response
{"jsonrpc":"2.0","error":{"code":-32015,"message":"mv"},"id":1}
Expected Behavior
The eth_estimateGas method should process the request and return a valid gas estimate without error.
Actual Behavior
The method returns an error with:
Code: -32015
Message: "mv"
This error occurs even when the proper headers and data fields are included in the request.
Additional Information
I am getting the correct response from public endpoint.
Summary
When calling the
eth_estimateGasmethod with a JSON-RPC request that includes both header and data fields, the response returns an error with code-32015and message"mv". This issue has reoccurred despite using the proper request structure.Environment
http://127.0.0.1:8545eth_estimateGasmethod even after ensuring the header and data fields are provided correctly.Reproduction Steps
curlcommand: on sepolia **Observe the response
{"jsonrpc":"2.0","error":{"code":-32015,"message":"mv"},"id":1}Expected Behavior
The eth_estimateGas method should process the request and return a valid gas estimate without error.
Actual Behavior
The method returns an error with:
Code: -32015
Message: "mv"
This error occurs even when the proper headers and data fields are included in the request.
Additional Information
I am getting the correct response from public endpoint.