Skip to content

Commit e199162

Browse files
A0-3128: Change to pub struct Runtime (#1404)
# Description See paritytech/substrate#13250 for motivation. ## Type of change Please delete options that are not relevant. - New feature (non-breaking change which adds functionality)
1 parent df51e1a commit e199162

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aleph-client/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/runtime/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "aleph-runtime"
3-
version = "0.9.1"
3+
version = "0.10.0"
44
license = "GPL-3.0-or-later"
55
authors.workspace = true
66
edition.workspace = true

bin/runtime/src/lib.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -751,10 +751,11 @@ impl pallet_identity::Config for Runtime {
751751
// Create the runtime by composing the FRAME pallets that were previously configured.
752752
#[cfg(not(feature = "liminal"))]
753753
construct_runtime!(
754-
pub enum Runtime where
754+
pub struct Runtime
755+
where
755756
Block = Block,
756757
NodeBlock = opaque::Block,
757-
UncheckedExtrinsic = UncheckedExtrinsic
758+
UncheckedExtrinsic = UncheckedExtrinsic,
758759
{
759760
System: frame_system,
760761
RandomnessCollectiveFlip: pallet_insecure_randomness_collective_flip,
@@ -783,10 +784,11 @@ construct_runtime!(
783784

784785
#[cfg(feature = "liminal")]
785786
construct_runtime!(
786-
pub enum Runtime where
787+
pub struct Runtime
788+
where
787789
Block = Block,
788790
NodeBlock = opaque::Block,
789-
UncheckedExtrinsic = UncheckedExtrinsic
791+
UncheckedExtrinsic = UncheckedExtrinsic,
790792
{
791793
System: frame_system,
792794
RandomnessCollectiveFlip: pallet_insecure_randomness_collective_flip,

0 commit comments

Comments
 (0)