You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the functions on the trait need to be named exactly the way the RPC function is called. That means we cannot use idiomatic Rust naming conventions like snake_case.
We should support this in a similar fashion as serde with its rename_all attribute.
Potentially, we also want to allow prefixes like they are present in Web3's JSON-RPC API: eth_, web3_, net_` etc without having to repeat them on every function.
The text was updated successfully, but these errors were encountered:
Currently, the functions on the trait need to be named exactly the way the RPC function is called. That means we cannot use idiomatic Rust naming conventions like snake_case.
We should support this in a similar fashion as serde with its
rename_all
attribute.Potentially, we also want to allow prefixes like they are present in Web3's JSON-RPC API:
eth_
,web3_,
net_` etc without having to repeat them on every function.The text was updated successfully, but these errors were encountered: