---
# System prepended metadata

title: How to do runtime upgrade

---

# How to do runtime upgrade

1. Compile manta project.

```shell
git clone https://github.com/Manta-Network/Manta.git
cd Manta
cargo build --release
```

2. Run manta node.

```shell
./target/release/manta --dev --tmp
```

3. Go to manta runtime crate, search the field `spec_version`(100), and increase it by 1. Just like this,

```rust
...
spec_version: 101,
...
```

4. Now, compile the whole project again. It should go smoothly. When it’s done, find the file `target/release/wbuild/manta-runtime/manta_runtime.compact.wasm`.
5. It’s time to do runtime upgrade.

- Checkout current spec version, it’s `100`.

![Imgur](https://i.imgur.com/59ykHu9.png)

- Let’s do it. Follow the figure to fill dialog. And this call will be dispatched after 10 blocks. Definitely you can input any number in the after filed.

![Imgur](https://i.imgur.com/Zz3igzj.png)

  Tips: It would be better if you open the console of browser, some info will be pop up, and going to tell you what changes in this new runtime.

- After 10 blocks, you should see the spec version become `101` at the left above conner.

