Skip to content

Update modify-the-runtime.md #2099

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions content/md/en/docs/quick-start/modify-the-runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,11 @@ To add the Utility pallet:
For example, you should add a single line similar to the following.

```toml
pallet-utility = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "polkadot-vX.Y.Z" }
pallet-utility = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-vX.Y.Z" }
```

Be sure to replace `branch = "polkadot-vX.Y.Z"` with the Polkadot branch used for other pallets.

You can copy any existing pallet dependency as a model to ensure that the branch setting for the `pallet-utility` dependency is the same as the branch setting for all other pallets.
You can copy any existing pallet dependency as a model to ensure that the branch setting for the `pallet-utility` dependency is the same as the branch setting for all other pallets. This walkthrough uses `branch = "polkadot-v0.9.42`.

4. Locate the `[features]` section and add the Utility pallet to the list of default features for the standard binary.

Expand Down