diff --git a/Cargo.toml b/Cargo.toml index e74b27678..80334d86e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ members = [ "standalone/runtime", "standalone/runtime/evm_tracer", "pallets/*", - "pallets/roles", + "pallets/roles", "pallets/jobs/rpc", "pallets/jobs/rpc/runtime-api", "precompiles/utils", @@ -68,6 +68,7 @@ syn = { version = "1.0" } hex = { version = "0.4.3", default-features = false } paste = "1.0.6" slices = "0.2.0" +schnorrkel = { verison = "11.4", default-features = false } # DKG Substrate Dependencies dkg-runtime-primitives = { git = "https://github.com/webb-tools/dkg-substrate.git", tag = "v0.4.7", default-features = false } @@ -309,7 +310,5 @@ rpc-trace = { path = "client/rpc/trace" } rpc-txpool = { path = "client/rpc/txpool" } evm-tracer = { path = "standalone/runtime/evm_tracer", default-features = false } -schnorrkel = { verison = "11.4", default-features = false } - [profile.release] panic = "unwind" diff --git a/pallets/claims/src/lib.rs b/pallets/claims/src/lib.rs index f38695d83..37da9d22e 100644 --- a/pallets/claims/src/lib.rs +++ b/pallets/claims/src/lib.rs @@ -563,7 +563,9 @@ impl Pallet { MultiAddress::EVM(_) => return None, MultiAddress::Native(a) => PublicKey::from_bytes(&a.encode()).ok()?, }; + println!("pk: {:?}", pk); let signature: Signature = Signature::from_bytes(&s.0.encode()).ok()?; + println!("signature: {:?}", signature); const SIGNING_CTX: &'static [u8] = b"substrate"; match pk.verify_simple(SIGNING_CTX, &msg, &signature) { Ok(_) => Some(addr),