Rewrite client handling (#1531)
* Rewrite client handling We are supporting muliple polkadot-like chains and all have different client types. This pr reworks the client handling by having all of them in one enum combined. Besides that, there is added a special trait `ExecuteWithClient` to use the internal client. * Apply suggestions from code review Co-authored-by:Robert Habermeier <rphmeier@gmail.com> * Up the versions * Fix Cargo.lock * Fix merge conflict * ...................... * ....v2 * yep * I'm dumb... * Browser lol Co-authored-by:
Robert Habermeier <rphmeier@gmail.com>
Showing
- polkadot/Cargo.lock 2 additions, 2 deletionspolkadot/Cargo.lock
- polkadot/cli/src/browser.rs 1 addition, 2 deletionspolkadot/cli/src/browser.rs
- polkadot/cli/src/command.rs 4 additions, 4 deletionspolkadot/cli/src/command.rs
- polkadot/collator/src/lib.rs 173 additions, 212 deletionspolkadot/collator/src/lib.rs
- polkadot/node/test-service/src/lib.rs 3 additions, 5 deletionspolkadot/node/test-service/src/lib.rs
- polkadot/parachain/test-parachains/adder/collator/src/main.rs 7 additions, 4 deletions...adot/parachain/test-parachains/adder/collator/src/main.rs
- polkadot/runtime/rococo-v1/Cargo.toml 1 addition, 1 deletionpolkadot/runtime/rococo-v1/Cargo.toml
- polkadot/runtime/rococo/Cargo.toml 1 addition, 1 deletionpolkadot/runtime/rococo/Cargo.toml
- polkadot/service/src/client.rs 111 additions, 14 deletionspolkadot/service/src/client.rs
- polkadot/service/src/lib.rs 66 additions, 141 deletionspolkadot/service/src/lib.rs
Please register or sign in to comment