Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default address in eth_call/eth_simulate/eth_estimateGas #8225

Open
MarekM25 opened this issue Feb 18, 2025 · 0 comments
Open

Default address in eth_call/eth_simulate/eth_estimateGas #8225

MarekM25 opened this issue Feb 18, 2025 · 0 comments
Assignees
Labels

Comments

@MarekM25
Copy link
Contributor

We use 0xfffffffffffffffffffffffffffffffffffffffe for all calls by default, while all other clients (or almost all—Geth and Besu for sure) use the 0x000...000 address, which can cause differences in RPC results.
Reference: BlockchainBridge.cs#L259

However, the task is not as simple as just changing the default address. The system address is later translated into the IsSystem flag in BlockchainProcessor, so all usages of that flag must be carefully reviewed and adjusted accordingly.

I propose starting with unit tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants