Skip to content

Fix eth_call Gas Parameter Serialization#263

Open
nlordell wants to merge 1 commit into
eth-infinitism:masterfrom
safe-research:fix/correct-gas-serialization
Open

Fix eth_call Gas Parameter Serialization#263
nlordell wants to merge 1 commit into
eth-infinitism:masterfrom
safe-research:fix/correct-gas-serialization

Conversation

@nlordell

Copy link
Copy Markdown

Fix the gas field serialization in _simulateHandleOps to use a "QUANTITY", that is a hex-encoded string with no leading 0's, instead of a number.

This was causing errors when using Geth with --unsafe mode.

Fix the `gas` field serialization in `_simulateHandleOps` to use a
"QUANTITY", that is a hex-encoded string with no leading 0's, instead
of a number.

This was causing errors when using Geth with `--unsafe` mode.
@thaarok

thaarok commented Jul 28, 2025

Copy link
Copy Markdown

Fixes #262 - thanks!

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.

2 participants