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
{{ message }}
This repository was archived by the owner on Aug 20, 2020. It is now read-only.
Now that we have successfully imported the Contracts pallet crate, we need to add it to our Runtime. Different pallets will require you to `use` different thing. For the contracts pallet we will use the `Gas` type. Add this line along with the other `pub use` statements at the beginning of your runtime.
173
+
Now that we have successfully imported the Contracts pallet crate, we need to add it to our Runtime. Different pallets will require you to `use` different thing. For the contracts pallet we will use the `Schedule` type. Add this line along with the other `pub use` statements at the beginning of your runtime.
174
174
175
175
**`runtime/src/lib.rs`**
176
176
177
177
```rust
178
178
/*** Add This Line ***/
179
-
/// Importing the contracts Gas type
180
-
pubusecontracts::Gas;
179
+
/// Importing the contracts Schedule type.
180
+
pubusecontracts::ScheduleasContractsSchedule;
181
181
```
182
182
183
183
### Implementing the Contract Trait
@@ -444,7 +444,7 @@ Genesis configurations are controlled in `node/src/chain_spec.rs`. We need to mo
0 commit comments