From ad3af04afb3588586eb6fc0b0be693660f32939b Mon Sep 17 00:00:00 2001 From: akildemir Date: Mon, 27 Nov 2023 15:46:59 +0300 Subject: [PATCH] add todo --- substrate/validator-sets/pallet/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/substrate/validator-sets/pallet/src/lib.rs b/substrate/validator-sets/pallet/src/lib.rs index 571d83ada..3be493d16 100644 --- a/substrate/validator-sets/pallet/src/lib.rs +++ b/substrate/validator-sets/pallet/src/lib.rs @@ -301,6 +301,8 @@ pub mod pallet { impl Pallet { fn new_set(network: NetworkId) { + // TODO: prevent new set if it doesn't have enough stake for economic security. + // Update CurrentSession let session = { let new_session = CurrentSession::::get(network)