Skip to content

Commit

Permalink
fix: Set MsgFilter default as Everything
Browse files Browse the repository at this point in the history
  • Loading branch information
code0xff committed Oct 22, 2024
1 parent 4dec314 commit 1922d04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frame/cosmos/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ pub mod pallet {
type AnteHandler: AnteDecorator;

/// Message filter for allowed messages.
#[pallet::no_default]
type MsgFilter: Contains<Any>;

/// Router for redirecting messages.
Expand Down Expand Up @@ -260,7 +259,7 @@ pub mod pallet {

pub mod config_preludes {
use super::*;
use frame_support::{derive_impl, parameter_types};
use frame_support::{derive_impl, parameter_types, traits::Everything};
use pallet_cosmos_types::context::Context;

pub struct WeightToGas;
Expand Down Expand Up @@ -299,6 +298,7 @@ pub mod pallet {
type MaxMemoCharacters = MaxMemoCharacters;
type TxSigLimit = TxSigLimit;
type MaxDenomLimit = MaxDenomLimit;
type MsgFilter = Everything;
}
}

Expand Down

0 comments on commit 1922d04

Please sign in to comment.