Files
pezkuwi-subxt/substrate/client
Aaro Altonen 09164dbced Introduce mockable ChainSync object for testing (#12480)
* Introduce mockable `ChainSync` object for testing

`mockall` allows to mock `ChainSync` and to verify that the calls made
to `ChaiSync` are firstly executed at all, that they're executed in
correct order and with correct parameters.

This allows to verify, e.g., that delegating calls directly to
`ChainSync` from `NetworkService` still calls the correct functions with
correct arguments even if `Protocol` middleman is removed.

* Add Cargo.lock

* Fix tests

* Update client/network/Cargo.toml

Co-authored-by: Bastian Köcher <git@kchr.de>

* Update Cargo.lock

* Fix clippy and documentation

Co-authored-by: Bastian Köcher <git@kchr.de>
Co-authored-by: parity-processbot <>
2022-10-13 09:37:09 +00:00
..
2022-09-12 12:25:56 +02:00
2022-05-04 13:38:54 +00:00
2022-09-30 12:06:46 +02:00
2022-10-05 21:07:15 +00:00
2022-10-11 18:41:43 +00:00
2022-10-05 21:07:15 +00:00
2022-10-07 10:46:57 +00:00