You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: llms.txt
+12-3Lines changed: 12 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -24047,14 +24047,23 @@ Configure the pallets by implementing their `Config` trait and update the runtim
24047
24047
24048
24048
1. Add the `OriginCaller` import:
24049
24049
24050
-
```rust title="mod.rs"
24050
+
```rust title="mod.rs" hl_lines="3-3"
24051
+
...
24052
+
// Local module imports
24051
24053
24054
+
...
24052
24055
```
24053
24056
24054
24057
2. Implement the [`Config`](https://paritytech.github.io/polkadot-sdk/master/pallet_utility/pallet/trait.Config.html){target=\_blank} trait for both pallets at the end of the `runtime/src/config/mod.rs` file:
24055
24058
24056
-
```rust title="mod.rs"
24057
-
impl pallet_utility::Config for Runtime {
24059
+
```rust title="mod.rs" hl_lines="7-24"
24060
+
...
24061
+
type RuntimeEvent = RuntimeEvent;
24062
+
type WeightInfo = pallet_parachain_template::weights::SubstrateWeight<Runtime>;
2. Implement the [`Config`](https://paritytech.github.io/polkadot-sdk/master/pallet_utility/pallet/trait.Config.html){target=\_blank} trait for both pallets at the end of the `runtime/src/config/mod.rs` file:
0 commit comments