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: README.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
## Intro
6
6
7
-
`srtool` is a collection of dockerized tools helping with [Substrate](https://substrate.dev) & [Polkadot](https://polkadot.network) Runtime development. `srtool` especially allows building WASM runtimes in a deterministic way, allowing CIs and users, with various machines and OS, to produce a strictly identical WASM runtime.
7
+
`srtool` is a collection of dockerized tools helping with [Substrate](https://substrate.io) & [Polkadot](https://polkadot.network) Runtime development. `srtool` especially allows building WASM runtimes in a deterministic way, allowing CIs and users, with various machines and OS, to produce a strictly identical WASM runtime.
8
8
9
9
`srtool` can run on various Operating Systems supporting Docker. That includes Linux, MacOS and Windows.
10
10
@@ -16,13 +16,13 @@ The Docker images are tagged with both the rustc version used internally as well
16
16
17
17
You will find for instance the following:
18
18
19
-
-`paritytech/srtool:1.53.0-0.9.16`
19
+
-`paritytech/srtool:1.56.1-0.9.16`
20
20
21
-
-`paritytech/srtool:1.53.0-0.9.17`
21
+
-`paritytech/srtool:1.56.1-0.9.18`
22
22
23
-
-`paritytech/srtool:1.53.0`
23
+
-`paritytech/srtool:1.56.1`
24
24
25
-
The tags not mentioning the build version always point to the latest one. In the example above, `paritytech/srtool:1.53.0` is the same image than `paritytech/srtool:1.53.0-0.9.17`.
25
+
The tags not mentioning the build version always point to the latest one. In the example above, `paritytech/srtool:1.56.1` is the same image than `paritytech/srtool:1.56.1-0.9.18`.
26
26
27
27
## Related tools
28
28
@@ -47,7 +47,7 @@ You may also want to have a look at [subwasm](https://github.com/chevdor/subwasm
47
47
The project was initially developped from <https://gitlab.com/chevdor>.
48
48
It now moved to Github under the [Parity Technologies](https://www.github.com/paritytech) organisation to simplify the developement and the integration with other Parity products such as Polkadot and Kusama.
49
49
50
-
The last version hosted on Gitlab has been built using Rust Stable 1.53.0. It is tagged as v0.9.17 and there is no plan on updating the Gitlab repository further. New versions will be available from <https://www.github.com/paritytech/srtool>. The functionnalities remain the same so you can (and should!) simply swap `chevdor/srtool` for `paritytech/srtool` in your workflows. The [srtool-actions](https://github.com/chevdor/srtool-actions) will remain available as `chevdor/srtool-actions@<version>` and will be updated to point at the paritytech image.
50
+
The last version hosted on Gitlab has been built using Rust Stable 1.56.1. It is tagged as v0.9.18 and there is no plan on updating the Gitlab repository further. New versions will be available from <https://www.github.com/paritytech/srtool>. The functionnalities remain the same so you can (and should!) simply swap `chevdor/srtool` for `paritytech/srtool` in your workflows. The [srtool-actions](https://github.com/chevdor/srtool-actions) will remain available as `chevdor/srtool-actions@<version>` and will be updated to point at the paritytech image.
51
51
52
52
## Install
53
53
@@ -63,7 +63,7 @@ This method is legacy and deprecated, prefer the `srtool-cli` utility mentioned
63
63
64
64
Creating an alias helps hiding the docker complexity behind one simple command. We will see more powerful options but this one is simple enough.
65
65
66
-
export RUSTC_VERSION=1.53.0; export PACKAGE=kusama-runtime; alias srtool='docker run --rm -it -e PACKAGE=$PACKAGE -v $PWD:/build -v $TMPDIR/cargo:/cargo-home paritytech/srtool:$RUSTC_VERSION'
66
+
export RUSTC_VERSION=1.56.1; export PACKAGE=kusama-runtime; alias srtool='docker run --rm -it -e PACKAGE=$PACKAGE -v $PWD:/build -v $TMPDIR/cargo:/cargo-home paritytech/srtool:$RUSTC_VERSION'
67
67
68
68
Note that defining the alias as done above will hardcode the runtime. Using `kusama-runtime` as show above means you will **always** check the kusama runtime. If you need more, check the next chapter.
69
69
@@ -91,20 +91,20 @@ Invoking `srtool build` with:
91
91
92
92
will output something that looks like this:
93
93
94
-
🧰 Substrate Runtime Toolbox - srtool v0.9.17 🧰
94
+
🧰 Substrate Runtime Toolbox - srtool v0.9.18 🧰
95
95
- by Chevdor -
96
-
🏗 Building polkadot-runtime as release using rustc 1.53.0
96
+
🏗 Building polkadot-runtime as release using rustc 1.56.1
97
97
⏳ That can take a little while, be patient... subsequent builds will be faster.
98
98
Since you have to wait a little, you may want to learn more about Substrate runtimes:
@@ -329,7 +329,7 @@ You can see the list of available scripts in the `/scripts` folder:
329
329
330
330
-`build`: Run the actual build
331
331
332
-
The `info` and `version` scripts pass any arguments you pass to the script to `jq`. So you can play with `c` (compact), `-M`(monochrome), `-C` color output. For instance `docker run --rm -it -v $PWD:/build chevdor/srtool:1.53.0 info -cM` shows a monochrome output on a single line.
332
+
The `info` and `version` scripts pass any arguments you pass to the script to `jq`. So you can play with `c` (compact), `-M`(monochrome), `-C` color output. For instance `docker run --rm -it -v $PWD:/build chevdor/srtool:1.56.1 info -cM` shows a monochrome output on a single line.
`srtool` is a collection of dockerized tools helping with https://substrate.dev[Substrate] & https://polkadot.network[Polkadot] Runtime development. `srtool` especially allows building WASM runtimes in a deterministic way, allowing CIs and users, with various machines and OS, to produce a strictly identical WASM runtime.
14
+
`srtool` is a collection of dockerized tools helping with https://substrate.io[Substrate] & https://polkadot.network[Polkadot] Runtime development. `srtool` especially allows building WASM runtimes in a deterministic way, allowing CIs and users, with various machines and OS, to produce a strictly identical WASM runtime.
15
15
16
16
`srtool` can run on various Operating Systems supporting Docker. That includes Linux, MacOS and Windows.
17
17
@@ -101,7 +101,7 @@ will output something that looks like this:
101
101
🏗 Building polkadot-runtime as release using rustc {rsversion}
102
102
⏳ That can take a little while, be patient... subsequent builds will be faster.
103
103
Since you have to wait a little, you may want to learn more about Substrate runtimes:
0 commit comments