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

Support eth_call, eth_gasEstimate state override set #1085

Closed
oviaseshadri opened this issue Jan 19, 2024 · 3 comments
Closed

Support eth_call, eth_gasEstimate state override set #1085

oviaseshadri opened this issue Jan 19, 2024 · 3 comments

Comments

@oviaseshadri
Copy link

Why should this feature exist?
state override set makes eth_call even more powerful and allows for deep code analyses.

Advantages of state override set (from geth docs):

It can be used by DApps to reduce the amount of contract code needed to be deployed on chain. Code that simply returns internal state or does pre-defined validations can be kept off chain and fed to the node on-demand.
It can be used for smart contract analysis by extending the code deployed on chain with custom methods and invoking them. This avoids having to download and reconstruct the entire state in a sandbox to run custom code against.
It can be used to debug smart contracts in an already deployed large suite of contracts by selectively overriding some code or state and seeing how execution changes. Specialized tooling will probably be necessary.

@etherbiln
Copy link

etherbiln commented Feb 14, 2024

I completely agree with you, I've thought about it before too. @oviaseshadri

@Thegaram
Copy link
Contributor

It seems like you want to make changes to the Scroll execution-node APIs, please open an issue on https://github.com/scroll-tech/go-ethereum.

@oviaseshadri
Copy link
Author

I have - scroll-tech/go-ethereum#618

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

No branches or pull requests

3 participants