Skip to content

Commit

Permalink
add Currencies and Utility pallet to AllowList (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
v9n authored Dec 16, 2023
1 parent 88bab8d commit 62b74f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion runtime/oak/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
impl_name: create_runtime_str!("oak"),
authoring_version: 1,
spec_version: 296,
impl_version: 2,
impl_version: 3,
apis: RUNTIME_API_VERSIONS,
transaction_version: 19,
state_version: 0,
Expand Down Expand Up @@ -887,6 +887,8 @@ impl Contains<RuntimeCall> for ScheduleAllowList {
RuntimeCall::Balances(_) => true,
RuntimeCall::XTokens(_) => true,
RuntimeCall::ParachainStaking(_) => true,
RuntimeCall::Utility(_) => true,
RuntimeCall::Currencies(_) => true,
_ => false,
}
}
Expand Down
4 changes: 3 additions & 1 deletion runtime/turing/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
impl_name: create_runtime_str!("turing"),
authoring_version: 1,
spec_version: 296,
impl_version: 2,
impl_version: 3,
apis: RUNTIME_API_VERSIONS,
transaction_version: 19,
state_version: 0,
Expand Down Expand Up @@ -882,6 +882,8 @@ impl Contains<RuntimeCall> for ScheduleAllowList {
RuntimeCall::Balances(_) => true,
RuntimeCall::ParachainStaking(_) => true,
RuntimeCall::XTokens(_) => true,
RuntimeCall::Utility(_) => true,
RuntimeCall::Currencies(_) => true,
_ => false,
}
}
Expand Down

0 comments on commit 62b74f2

Please sign in to comment.