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 3c1681d commit aee0d9f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions runtimes/polimec/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,17 @@ 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 aee0d9f

Please sign in to comment.