Skip to content

Commit d4b0dfa

Browse files
committed
[frame_system] adapt paritytech/polkadot-sdk#1343 (RuntimeTask)
1 parent a4b126d commit d4b0dfa

8 files changed

Lines changed: 8 additions & 0 deletions

File tree

  • relay
  • system-parachains
    • asset-hubs
    • bridge-hubs
    • collectives/collectives-polkadot/src
    • gluttons/glutton-kusama/src

relay/kusama/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ impl frame_system::Config for Runtime {
197197
type Lookup = AccountIdLookup<AccountId, ()>;
198198
type Block = Block;
199199
type RuntimeEvent = RuntimeEvent;
200+
type RuntimeTask = RuntimeTask;
200201
type BlockHashCount = BlockHashCount;
201202
type DbWeight = RocksDbWeight;
202203
type Version = Version;

relay/polkadot/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ impl frame_system::Config for Runtime {
182182
type Lookup = AccountIdLookup<AccountId, ()>;
183183
type Block = Block;
184184
type RuntimeEvent = RuntimeEvent;
185+
type RuntimeTask = RuntimeTask;
185186
type BlockHashCount = BlockHashCount;
186187
type DbWeight = RocksDbWeight;
187188
type Version = Version;

system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ impl frame_system::Config for Runtime {
180180
type Hashing = BlakeTwo256;
181181
type Block = Block;
182182
type RuntimeEvent = RuntimeEvent;
183+
type RuntimeTask = RuntimeTask;
183184
type RuntimeOrigin = RuntimeOrigin;
184185
type BlockHashCount = BlockHashCount;
185186
type DbWeight = RocksDbWeight;

system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ impl frame_system::Config for Runtime {
193193
type Hashing = BlakeTwo256;
194194
type Block = Block;
195195
type RuntimeEvent = RuntimeEvent;
196+
type RuntimeTask = RuntimeTask;
196197
type RuntimeOrigin = RuntimeOrigin;
197198
type BlockHashCount = BlockHashCount;
198199
type DbWeight = RocksDbWeight;

system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ impl frame_system::Config for Runtime {
205205
type Block = Block;
206206
/// The ubiquitous event type.
207207
type RuntimeEvent = RuntimeEvent;
208+
type RuntimeTask = RuntimeTask;
208209
/// The ubiquitous origin type.
209210
type RuntimeOrigin = RuntimeOrigin;
210211
/// Maximum number of block number to block hash mappings to keep (oldest pruned first).

system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ impl frame_system::Config for Runtime {
205205
type Block = Block;
206206
/// The ubiquitous event type.
207207
type RuntimeEvent = RuntimeEvent;
208+
type RuntimeTask = RuntimeTask;
208209
/// The ubiquitous origin type.
209210
type RuntimeOrigin = RuntimeOrigin;
210211
/// Maximum number of block number to block hash mappings to keep (oldest pruned first).

system-parachains/collectives/collectives-polkadot/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ impl frame_system::Config for Runtime {
169169
type Hashing = BlakeTwo256;
170170
type Block = Block;
171171
type RuntimeEvent = RuntimeEvent;
172+
type RuntimeTask = RuntimeTask;
172173
type RuntimeOrigin = RuntimeOrigin;
173174
type BlockHashCount = BlockHashCount;
174175
type DbWeight = RocksDbWeight;

system-parachains/gluttons/glutton-kusama/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ impl frame_system::Config for Runtime {
149149
type Hashing = BlakeTwo256;
150150
type Block = Block;
151151
type RuntimeEvent = RuntimeEvent;
152+
type RuntimeTask = RuntimeTask;
152153
type RuntimeOrigin = RuntimeOrigin;
153154
type BlockHashCount = BlockHashCount;
154155
type Version = Version;

0 commit comments

Comments
 (0)