Skip to content

Commit

Permalink
Whitelist pallet_funding sudo and root calls
Browse files Browse the repository at this point in the history
  • Loading branch information
JuaniRios committed Jun 14, 2024
1 parent db91167 commit 5385a0f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions runtimes/polimec/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,15 @@ impl Contains<RuntimeCall> 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,
Expand Down

0 comments on commit 5385a0f

Please sign in to comment.