Oliver Tale-Yazdi
342d720573
Use same fmt and clippy configs as in Substrate ( #7611 )
...
* Use same rustfmt.toml as Substrate
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* format format file
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Format with new config
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add Substrate Clippy config
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Print Clippy version in CI
Otherwise its difficult to reproduce locally.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Make fmt happy
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update node/core/pvf/src/error.rs
Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io >
* Update node/core/pvf/src/error.rs
Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io >
2023-08-14 14:29:29 +00:00
Sebastian Kunert
72bde2889f
Introduce async runtime calling trait for runtime-api subsystem ( #5782 )
...
* Implement OverseerRuntimeClient
* blockchainevents
* Update patches
* Finish merging rntime-api subsystem
* First version that is able to produce blocks
* Make OverseerRuntimeClient async
* Move overseer notification stream forwarding to cumulus
* Remove unused imports
* Add more logging to collator-protocol
* Lockfile
* Use hashes in OverseerRuntimeClient
* Move OverseerRuntimeClient into extra module
* Fix old session info call and make HeadSupportsParachain async
* Improve naming of trait
* Cleanup
* Remove unused From trait implementation
* Remove unwanted debug print
* Move trait to polkadot-node-subsystem-types
* Add sections to runtime client
Co-authored-by: Davide Galassi <davxy@datawok.net >
* Reorder methods
* Fix spelling
* Fix spacing in Cargo.toml
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Remove unused babe methods
Co-authored-by: Davide Galassi <davxy@datawok.net >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-07-20 10:23:25 +00:00
Shawn Tabrizi
ff5d56fb76
cargo +nightly fmt ( #3540 )
...
* cargo +nightly fmt
* add cargo-fmt check to ci
* update ci
* fmt
* fmt
* skip macro
* ignore bridges
2021-08-02 10:47:33 +00:00
Bernhard Schuster
97dc1de782
add rustfmt toml ( #3491 )
...
* feat: rustfmt.toml
Copied from substrate.
* avoid normalize
It has some odd side effects converting // to /* */ instead of the other way round. See https://github.com/rust-lang/rustfmt/issues/4909 .
2021-07-19 19:12:54 +02:00