Skip to content

Commit 62b74f2

Browse files
authored
add Currencies and Utility pallet to AllowList (#490)
1 parent 88bab8d commit 62b74f2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

runtime/oak/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
180180
impl_name: create_runtime_str!("oak"),
181181
authoring_version: 1,
182182
spec_version: 296,
183-
impl_version: 2,
183+
impl_version: 3,
184184
apis: RUNTIME_API_VERSIONS,
185185
transaction_version: 19,
186186
state_version: 0,
@@ -887,6 +887,8 @@ impl Contains<RuntimeCall> for ScheduleAllowList {
887887
RuntimeCall::Balances(_) => true,
888888
RuntimeCall::XTokens(_) => true,
889889
RuntimeCall::ParachainStaking(_) => true,
890+
RuntimeCall::Utility(_) => true,
891+
RuntimeCall::Currencies(_) => true,
890892
_ => false,
891893
}
892894
}

runtime/turing/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
182182
impl_name: create_runtime_str!("turing"),
183183
authoring_version: 1,
184184
spec_version: 296,
185-
impl_version: 2,
185+
impl_version: 3,
186186
apis: RUNTIME_API_VERSIONS,
187187
transaction_version: 19,
188188
state_version: 0,
@@ -882,6 +882,8 @@ impl Contains<RuntimeCall> for ScheduleAllowList {
882882
RuntimeCall::Balances(_) => true,
883883
RuntimeCall::ParachainStaking(_) => true,
884884
RuntimeCall::XTokens(_) => true,
885+
RuntimeCall::Utility(_) => true,
886+
RuntimeCall::Currencies(_) => true,
885887
_ => false,
886888
}
887889
}

0 commit comments

Comments
 (0)