Skip to content

Commit 828770a

Browse files
authored
runtime: Disable SignedExtra N/W Membership Check (#511)
Signed-off-by: Shreevatsa N <vatsa@dhiway.com>
1 parent e892577 commit 828770a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

node/cli/src/benchmarking.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ fn weave_sign_call(
316316
use sp_core::Pair;
317317

318318
let extra: runtime::SignedExtra = (
319-
pallet_network_membership::CheckNetworkMembership::<runtime::Runtime>::new(),
319+
//pallet_network_membership::CheckNetworkMembership::<runtime::Runtime>::new(),
320320
frame_system::CheckNonZeroSender::<runtime::Runtime>::new(),
321321
frame_system::CheckSpecVersion::<runtime::Runtime>::new(),
322322
frame_system::CheckTxVersion::<runtime::Runtime>::new(),
@@ -334,7 +334,6 @@ fn weave_sign_call(
334334
call.clone(),
335335
extra.clone(),
336336
(
337-
(),
338337
(),
339338
runtime::VERSION.spec_version,
340339
runtime::VERSION.transaction_version,

runtimes/weave/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ where
676676
// so the actual block number is `n`.
677677
.saturating_sub(1);
678678
let extra: SignedExtra = (
679-
pallet_network_membership::CheckNetworkMembership::<Runtime>::new(),
679+
//pallet_network_membership::CheckNetworkMembership::<Runtime>::new(),
680680
frame_system::CheckNonZeroSender::<Runtime>::new(),
681681
frame_system::CheckSpecVersion::<Runtime>::new(),
682682
frame_system::CheckTxVersion::<Runtime>::new(),
@@ -1259,7 +1259,7 @@ pub type SignedBlock = generic::SignedBlock<Block>;
12591259
pub type BlockId = generic::BlockId<Block>;
12601260
/// The `SignedExtension` to the basic transaction logic.
12611261
pub type SignedExtra = (
1262-
pallet_network_membership::CheckNetworkMembership<Runtime>,
1262+
//pallet_network_membership::CheckNetworkMembership<Runtime>,
12631263
frame_system::CheckNonZeroSender<Runtime>,
12641264
frame_system::CheckSpecVersion<Runtime>,
12651265
frame_system::CheckTxVersion<Runtime>,

0 commit comments

Comments
 (0)