diff --git a/.cargo/config.toml b/.cargo/config.toml index d5b1f9f3..88bdc6d3 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -31,5 +31,6 @@ rustflags = [ "-Aclippy::while_immutable_condition", # false positives "-Aclippy::needless_option_as_deref", # false positives "-Aclippy::derivable_impls", # false positives - "-Aclippy::explicit_counter_loop" # irrelevant + "-Aclippy::explicit_counter_loop", # irrelevant + "-Aclippy::redundant_closure_call" # false positives ] diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6e422c40..08f259d7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -209,8 +209,8 @@ jobs: - name: Upload binary uses: actions/upload-artifact@v3.1.2 with: - name: moonbeam - path: build + name: moonkit-template + path: build/moonkit-template build-features: runs-on: @@ -231,7 +231,7 @@ jobs: uses: actions/upload-artifact@v3.1.2 with: name: moonkit-template-features - path: build + path: build/moonkit-template rust-test: runs-on: diff --git a/client/consensus/nimbus-consensus/src/lib.rs b/client/consensus/nimbus-consensus/src/lib.rs index c23ba33d..53a5dd53 100644 --- a/client/consensus/nimbus-consensus/src/lib.rs +++ b/client/consensus/nimbus-consensus/src/lib.rs @@ -258,7 +258,7 @@ where let pre_hash = header.hash(); let raw_sig = Keystore::sign_with( - &*keystore, + keystore, NIMBUS_KEY_ID, *crypto_id, public_pair, diff --git a/template/node/Cargo.toml b/template/node/Cargo.toml index e33ee4dd..7e075cf9 100644 --- a/template/node/Cargo.toml +++ b/template/node/Cargo.toml @@ -12,7 +12,7 @@ version = "0.1.0" targets = [ "x86_64-unknown-linux-gnu" ] [[bin]] -name = "parachain-collator" +name = "moonkit-template" path = "src/main.rs" [dependencies]