Closed mattsse closed 1 year ago
depending on the setup, some functions should be disabled and instead return an error like:
cast eth_coinbase
(code: -32600, message: Unsupported method: eth_coinbase. See available methods at https://docs.alchemy.com/alchemy/documentation/apis, data: None)
this will likely be possible with this (unreleased) jsonrpsee PR: https://github.com/paritytech/jsonrpsee/commit/b4e3b6e182cd50bef220f4f78314b480651ce9ff
once available we need a helper type that allows to configure functions by name and an error handler.
No response
This issue is stale because it has been open for 14 days with no activity.
Describe the feature
depending on the setup, some functions should be disabled and instead return an error like:
cast eth_coinbase
this will likely be possible with this (unreleased) jsonrpsee PR: https://github.com/paritytech/jsonrpsee/commit/b4e3b6e182cd50bef220f4f78314b480651ce9ff
once available we need a helper type that allows to configure functions by name and an error handler.
Additional context
No response