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

Add RPC module #235

Open
gnkz opened this issue Nov 21, 2023 · 0 comments
Open

Add RPC module #235

gnkz opened this issue Nov 21, 2023 · 0 comments

Comments

@gnkz
Copy link
Contributor

gnkz commented Nov 21, 2023

Using the new rpc cheatcode a new rpc module can be created. This module can include a call function that accepts a method name and a Json object or a Json string as parameters and return the raw data. Specific methods can be added to let users interact with an rpc in a more convenient way, for example the module can have a ethGasPrice function that calls the eth_gasPrice rpc method and return the integer instead of the raw data

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

1 participant