Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Update constraints #1187

Merged
merged 1 commit into from
Jun 2, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion runtime/polkadot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ impl Filter<Call> for IsCallable {
// Parachains stuff
Call::Parachains(_) | Call::Attestations(_) | Call::Slots(_) | Call::Registrar(_) |
// Balances and Vesting's transfer (which can be used to transfer)
Call::Balances(_) | Call::Vesting(vesting::Call::vested_transfer(..)) =>
Call::Balances(_) | Call::Vesting(vesting::Call::vested_transfer(..)) |
Call::Indices(indices::Call::transfer(..)) =>
false,

// These modules are all allowed to be called by transactions:
Expand Down