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
Marko Petrlić edited this page Sep 21, 2022
·
1 revision
Building the WASM file for a runtime upgrade can be done by executing the following command:
cargo build --release -p alphanet-runtime
Just make sure that alphanet-runtime flag is replaced with mainnet-runtime when doing runtime upgrades on Mainnet.
One the command is done the wasm file will be located in the following directory: target/release/wbuild/alphanet-runtime. 3 wasm files should be there but we care only about the .compact.wasm one.