-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #528 from paritytech/AndreiEres/remove-metadata-fr…
…om-docs Remove metadata references
- Loading branch information
Showing
7 changed files
with
7 additions
and
149 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,16 @@ | ||
# polkadot-introspector-essentials | ||
|
||
This repository contains essential components for the Polkadot Introspector toolset, including pre-built runtime modules for Polkadot- and Rococo-like Substrate-based blockchains. | ||
This repository contains essential components for the Polkadot Introspector toolset, including pre-built runtime modules for Polkadot-like Substrate-based blockchains. | ||
|
||
## Updating or supporting a new `Runtime` | ||
## Updating a `Runtime` | ||
|
||
**TODO: the following information is outdated, needs to be edited.** | ||
The deployed `Runtime` version on a network might be newer and incompatible with the metadata included in the repository. To keeo the metadata up-to-date, we employ automated metadata updates [within our CI/CD workflow](./../.github/workflows/update_metadata.yml). | ||
|
||
The `Runtime` version deployed on a network might be newer and incompatible with the metadata bundled in the repository. To check whether the metadata is up-to-date, we run [polkadot-metadata-checker](../metadata-checker/README.md) on our CI/CD pipelines. In case it fails, to bring the new metadata, we use [subxt-cli](https://github.com/paritytech/subxt/#downloading-metadata-from-a-substrate-node). | ||
|
||
Here's an example of how to update the metadata: | ||
For manually updating the metadata, we utilize [subxt-cli](https://github.com/paritytech/subxt/#downloading-metadata-from-a-substrate-node). | ||
|
||
``` | ||
# Update metadata for Rococo | ||
subxt metadata --format bytes --url wss://rococo-rpc.polkadot.io:443 > assets/rococo_metadata.scale | ||
# Update metadata for Kusama | ||
subxt metadata --format bytes --url wss://kusama-rpc.polkadot.io:443 > assets/kusama_metadata.scale | ||
# Update metadata for Polkadot | ||
subxt metadata --format bytes --url wss://rpc.polkadot.io:443 > assets/polkadot_metadata.scale | ||
``` | ||
|
||
After replacing metadata files in the assets' folder with new ones, we need to rebuild the tools. | ||
After replacing the existing metadata file in the assets folder with the updated one, we need to rebuild the tools. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.