-
Notifications
You must be signed in to change notification settings - Fork 8
NDEV-2403: Decouple Rpc trait from Solana RpcClient #233
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
Conversation
62e8bb8 to
aa212f7
Compare
cf7e574 to
13e8d65
Compare
4716714 to
3fce700
Compare
|
This appears to be unfinished. Solana's |
3fce700 to
1af2472
Compare
b26ac4f to
5c54d6a
Compare
|
@anton-lisanin I removed the |
Use RpcEnum Remove as_any method clippy Clean up code Remove Box and Arc Clean up static dispatch Make inner type of CloneRpcClient private
5c54d6a to
34c2a3b
Compare
Dapps reportCost report for "Aave" dApp
Cost report for "Uniswap V3" dApp
Cost report for "Saddle Finance" dApp
|
Rpctrait from SolanaRpcClient.Rpctrait has many artificial methods which are specific only to SolanaRpcClienttype. Those methods can be used directly fromRpcClient.Contextstruct.Rpcinstance creation.dyn RpcwithRpcEnum, usingenum_dispatchcrate to avoid boilerplate code.