-
Notifications
You must be signed in to change notification settings - Fork 130
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
RPC Client V2 - TODOs #3009
Comments
3 tasks
|
Errors with context - I think it has already been implemented in some way in client v2 - now at least error message is descriptive - so it isn't just |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Relates to: paritytech/polkadot-sdk#4494
transaction_tracker::Environment
and replace bytrait Client<C>
directly?TransactionTracker
https://github.com/paritytech/polkadot-sdk/pull/4494/files#diff-27a6843672484e5bb95531315d54d18b81bee9af8de8c43cffb3d4dcaf40f4b4R438-R441switch_environment
rename toswitch_client
? or just remove that TODO?relay_utils::relay_loop::Client for CachingClient
- this is not used, I removed it and everything works...reconnect
fromtrait Client
and/or extend it e.g.:trait Client: + relay_utils::relay_loop::Client
?&mut
forrelay_utils::relay_loop::Client::reconnect(&mut)
vsClient::reconnect(&self)
What is left for future PRs:
CachingClient<RpcClient>
everywhere, but instead we shall be able to use anything that implementsClient
trait;pub type DefaultClient<C> = relay_substrate_client::RpcWithCachingClient<C>;
with justtrait Client<C>
?TestClient
;TestClient
in tests where right now we have (or must have) "environment" traits;TestClient
with configurableTestClientData
e.g. similar what we have for https://github.com/paritytech/polkadot-sdk/blob/master/bridges/relays/messages/src/message_lane_loop.rs#L663-L664The text was updated successfully, but these errors were encountered: