Skip to content
This repository was archived by the owner on Jul 28, 2023. It is now read-only.

Commit b8a03d7

Browse files
borispovodboozook
andauthored
Upgrade dove, vm version (#91)
* upgrade dove, move vm version * update readme.md * remove AccountInfo type * update types with link to types * update required dove version * rollback rust-toolchain to previously used * update metadata in readme Co-authored-by: Alexander Koz <a@koz.email>
1 parent 8f10f0a commit b8a03d7

File tree

11 files changed

+289
-85
lines changed

11 files changed

+289
-85
lines changed

.build/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ RUN rustup update nightly && \
1717
SHELL ["/bin/bash", "-c"]
1818

1919
WORKDIR /opt/build
20-
ARG DOVE_RELEASE=1.3.0
21-
ARG DOVE_VERSION=1.3.0
20+
ARG DOVE_RELEASE=1.3.2
21+
ARG DOVE_VERSION=1.3.2
2222
# add dove
2323
RUN curl -sL --fail -o "/usr/local/bin/dove" "https://github.com/pontem-network/move-tools/releases/download/${DOVE_RELEASE}/dove-${DOVE_VERSION}-linux-x86_64" && \
2424
chmod +x /usr/local/bin/dove && \

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
cfg:
2828
- os: self-hosted
2929
grcov: grcov-linux-x86_64.tar.bz2
30-
dove: 1.3.0
30+
dove: 1.3.2
3131

3232
env:
3333
SKIP_WASM_BUILD: 1

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
matrix:
2727
cfg:
2828
- os: macos-latest
29-
dove: 1.3.0
29+
dove: 1.3.2
3030
- os: ubuntu-latest
31-
dove: 1.3.0
31+
dove: 1.3.2
3232
steps:
3333
- name: Checkout repository
3434
uses: actions/checkout@v2
@@ -84,7 +84,7 @@ jobs:
8484
os:
8585
- ubuntu-latest
8686
dove:
87-
- 1.3.0
87+
- 1.3.2
8888

8989
steps:
9090
- name: Checkout repository
@@ -136,7 +136,7 @@ jobs:
136136
- macos-latest
137137
- ubuntu-latest
138138
dove:
139-
- 1.3.0
139+
- 1.3.2
140140

141141
steps:
142142
- name: Checkout repository

Cargo.lock

Lines changed: 271 additions & 55 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Substrate Move VM
22

3-
Substrate node template with Move VM pallet on board.
3+
Substrate node template with [Move VM pallet](/pallets/sp-mvm/) on board.
44

5-
**It's alpha version. Work in progress, so use it at your own risk.**
5+
**Work in progress, so use it at your own risk.**
66

77
* [Documentation](https://docs.pontem.network).
88

@@ -116,19 +116,7 @@ Register the parachain:
116116

117117
## Metadata
118118

119-
Metadata for Polkadot JS:
120-
121-
```json
122-
{
123-
"Balance": "u64",
124-
"RoundIndex": "u32",
125-
"AuthorId": "[u8;32]",
126-
"RegistrationInfo": {
127-
"account": "AccountId",
128-
"deposit": "Balance"
129-
}
130-
}
131-
```
119+
Metadata for Polkadot JS can be found in [repository containing types](https://github.com/pontem-network/pontem-types/blob/main/src/index.ts).
132120

133121
* Current amount of top collator is 8.
134122
* Block time is 12 seconds.

node/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ polkadot-cli = { git = 'http://github.com/paritytech/polkadot.git', branch = 're
103103
[dependencies.move-vm]
104104
package = "mvm"
105105
git = "https://github.com/pontem-network/sp-move-vm.git"
106-
rev = "7fc50f5aa43962e47584bbe714232fea476639cb"
106+
rev = "a6585179256bcb44c5e1db34201c3a5b6c8e3693"
107107
default-features = false
108108
features = [ "move_stdlib" ]
109109

pallets/sp-mvm/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ package = "parity-scale-codec-derive"
2929
[dependencies.move-vm]
3030
package = "mvm"
3131
git = "https://github.com/pontem-network/sp-move-vm.git"
32-
rev = "7fc50f5aa43962e47584bbe714232fea476639cb"
32+
rev = "a6585179256bcb44c5e1db34201c3a5b6c8e3693"
3333
default-features = false
3434
features = [ "move_stdlib" ]
3535

3636
[dependencies.move-core-types]
3737
git = "https://github.com/pontem-network/sp-move-vm.git"
38-
rev = "7fc50f5aa43962e47584bbe714232fea476639cb"
38+
rev = "a6585179256bcb44c5e1db34201c3a5b6c8e3693"
3939
default-features = false
4040

4141

@@ -78,7 +78,7 @@ test-env-log = "*"
7878

7979
[dev-dependencies.move-vm-runtime]
8080
git = "https://github.com/pontem-network/sp-move-vm.git"
81-
rev = "7fc50f5aa43962e47584bbe714232fea476639cb"
81+
rev = "a6585179256bcb44c5e1db34201c3a5b6c8e3693"
8282
default-features = false
8383

8484

pallets/sp-mvm/tests/assets/root/Dove.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "assets"
33
dialect = "pont"
4-
dove_version = ">=1.3.0"
4+
dove_version = ">=1.3.2"
55

66
# account_address = "0x0" # dev/null
77
account_address = "0x1" # std

pallets/sp-mvm/tests/assets/user/Dove.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "assets"
33
dialect = "pont"
4-
dove_version = ">=1.3.0"
4+
dove_version = ">=1.3.2"
55

66
# account_address = "0x0" # dev/null
77
# account_address = "0x1" # std

pallets/sp-mvm/tests/benchmark_assets/Dove.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "benchmark_assets"
33
dialect = "pont"
4-
dove_version = ">=1.3.0"
4+
dove_version = ">=1.3.2"
55

66
dependencies = [
77
{ git = "https://github.com/pontem-network/move-stdlib.git", rev = "34cedad7436f7dad6c9a521f3f6199324737d69f" }

0 commit comments

Comments
 (0)