Skip to content

Commit

Permalink
Filter vested_transfer (#1025)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dengjianping committed Feb 24, 2023
1 parent f11ae03 commit 9959c05
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runtime/calamari/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ impl Contains<Call> for BaseFilter {
match call {
// Explicitly DISALLOWED calls ( Pallet user extrinsics we don't want used WITH REASONING )
| Call::Assets(_) // Filter Assets. Assets should only be accessed by AssetManager.
// It's a call only for vesting crowdloan contributors' token, normal user should not use it.
| Call::CalamariVesting(calamari_vesting::Call::vested_transfer {..})
// For now disallow public proposal workflows, treasury workflows,
// as well as external_propose and external_propose_majority.
| Call::Democracy(
Expand Down

0 comments on commit 9959c05

Please sign in to comment.