Check docs and run clippy on PRs (#326)

* Check docs, clippy, test run

* test parallel CI adapted from other package; is it faster?

* Remember to download substrate

* Nightly for cargo fmt

* Standardise CI names

* fix clippy complaints

* Ensure docs are valid and export publicly accessible types

* all-targets clippy, and fix additional lint errors

* newline in ci file
This commit is contained in:
James Wilson
2021-11-19 10:36:38 +00:00
committed by GitHub
parent dcb78a2784
commit 97f4112e92
16 changed files with 190 additions and 79 deletions
+2 -2
View File
@@ -616,10 +616,10 @@ impl<T: Config> Rpc<T> {
Err(RpcError::Custom("RPC subscription dropped".into()).into())
}
async fn process_block<'a>(
async fn process_block(
&self,
events_sub: EventStorageSubscription<T>,
decoder: &'a EventsDecoder<T>,
decoder: &EventsDecoder<T>,
block_hash: T::Hash,
ext_hash: T::Hash,
) -> Result<ExtrinsicSuccess<T>, Error> {