From e0c10f4de8b50f7ef631e1b413080ef3fcd8e978 Mon Sep 17 00:00:00 2001 From: Juan Ignacio Rios Date: Fri, 14 Jun 2024 14:36:59 +0200 Subject: [PATCH] Whitelist pallet_funding sudo and root calls --- runtimes/polimec/src/lib.rs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/runtimes/polimec/src/lib.rs b/runtimes/polimec/src/lib.rs index 20ce1245b..0080c86f7 100644 --- a/runtimes/polimec/src/lib.rs +++ b/runtimes/polimec/src/lib.rs @@ -233,10 +233,17 @@ impl Contains for BaseCallFilter { matches!( call, pallet_funding::Call::create_project { .. } | - pallet_funding::Call::edit_project { .. } | pallet_funding::Call::remove_project { .. } | + pallet_funding::Call::edit_project { .. } | + pallet_funding::Call::start_evaluation { .. } | - pallet_funding::Call::evaluate { .. } + pallet_funding::Call::root_do_evaluation_end { .. } | + pallet_funding::Call::evaluate { .. } | + + pallet_funding::Call::start_auction { .. } | + pallet_funding::Call::root_do_auction_opening { .. } | + pallet_funding::Call::root_do_start_auction_closing { .. } | + pallet_funding::Call::bid { .. } ) }, _ => true,