Skip to content

Commit

Permalink
Enable bridge πŸŒ‰πŸŽ‰
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardo-xxnet committed Jun 26, 2024
1 parent 85a8173 commit 1dfc0a9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions runtime/xxnetwork/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,6 @@ impl Contains<RuntimeCall> for BaseFilter {
fn contains(call: &RuntimeCall) -> bool {
// These modules are all allowed to be called by transactions
match call {
// ChainBridge and Swap disabled at genesis
RuntimeCall::ChainBridge(_) | RuntimeCall::Swap(_) => false,

// Disable uniques pallet, since Nfts one should be used instead
RuntimeCall::Uniques(_) => false,

Expand All @@ -169,7 +166,9 @@ impl Contains<RuntimeCall> for BaseFilter {
RuntimeCall::Multisig(_) | RuntimeCall::Recovery(_) | RuntimeCall::Assets(_) | RuntimeCall::Nfts(_) |
// XX Network
RuntimeCall::XXCmix(_) | RuntimeCall::XXCustody(_) | RuntimeCall::XXEconomics(_) |
RuntimeCall::XXBetanetRewards(_) | RuntimeCall::XXPublic(_)
RuntimeCall::XXBetanetRewards(_) | RuntimeCall::XXPublic(_) |
// ChainBridge and Swap
RuntimeCall::ChainBridge(_) | RuntimeCall::Swap(_)
=> true,
}
}
Expand Down

0 comments on commit 1dfc0a9

Please sign in to comment.