mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 23:51:05 +00:00
Add ci check for parity-publish and fix current check issues (#1887)
Co-authored-by: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com> Co-authored-by: Bastian Köcher <info@kchr.de>
This commit is contained in:
@@ -7,7 +7,6 @@ homepage = "https://substrate.io"
|
||||
edition.workspace = true
|
||||
license = "Apache-2.0"
|
||||
repository.workspace = true
|
||||
publish = false
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
@@ -7,7 +7,6 @@ license = "MIT-0"
|
||||
homepage = "https://substrate.io"
|
||||
repository.workspace = true
|
||||
description = "FRAME example pallet with umbrella crate"
|
||||
readme = "README.md"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
@@ -33,9 +33,7 @@ pub(crate) fn weight_witness_warning(
|
||||
if dev_mode {
|
||||
return
|
||||
}
|
||||
let CallWeightDef::Immediate(w) = &method.weight else {
|
||||
return
|
||||
};
|
||||
let CallWeightDef::Immediate(w) = &method.weight else { return };
|
||||
|
||||
let partial_warning = Warning::new_deprecated("UncheckedWeightWitness")
|
||||
.old("not check weight witness data")
|
||||
@@ -66,9 +64,7 @@ pub(crate) fn weight_constant_warning(
|
||||
if dev_mode {
|
||||
return
|
||||
}
|
||||
let syn::Expr::Lit(lit) = weight else {
|
||||
return
|
||||
};
|
||||
let syn::Expr::Lit(lit) = weight else { return };
|
||||
|
||||
let warning = Warning::new_deprecated("ConstantWeight")
|
||||
.index(warnings.len())
|
||||
|
||||
Reference in New Issue
Block a user