Skip to content

Commit ddbbe59

Browse files
authored
Update polkavm and uapi versions (#122)
1 parent cee2581 commit ddbbe59

20 files changed

Lines changed: 102 additions & 100 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ clap = { version = "4.5", features = ["derive"] }
2828
env_logger = "0.11"
2929
include_dir = "0.7"
3030
log = "0.4"
31-
polkavm-linker = "0.34.0"
32-
polkavm-derive = "0.34.0"
31+
polkavm-linker = "0.35.0"
32+
polkavm-derive = "0.35.0"
3333
ruint = { version = "1.17", default-features = false }
3434
alloy-core = { version = "1.5", default-features = false, features = [
3535
"sol-types",
3636
"json",
3737
] }
38-
pallet-revive-uapi = { version = "0.11", default-features = false }
38+
pallet-revive-uapi = { version = "0.15", default-features = false }
3939

4040
serde = { version = "1.0", features = ["derive"] }
4141
serde_json = "1.0"

crates/cargo-pvm-contract/templates/examples/fibonacci/fibonacci_dsl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![cfg(any(target_arch = "riscv32", target_arch = "riscv64"))]
1+
#![cfg(target_arch = "riscv64")]
22
#![no_main]
33
#![no_std]
44

crates/cargo-pvm-contract/templates/examples/multi/multi_dsl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![cfg(any(target_arch = "riscv32", target_arch = "riscv64"))]
1+
#![cfg(target_arch = "riscv64")]
22
#![no_main]
33
#![no_std]
44

crates/cargo-pvm-contract/templates/examples/mytoken/mytoken_dsl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![cfg(any(target_arch = "riscv32", target_arch = "riscv64"))]
1+
#![cfg(target_arch = "riscv64")]
22
#![no_main]
33
#![no_std]
44

crates/cargo-pvm-contract/templates/scaffold/cargo_toml.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ path = "src/{{ bin_source }}.rs"
1414
{% if use_dsl -%}
1515
{% if let Some(path) = local_path -%}
1616
pvm-contract-builder-dsl = { path = "{{ path }}/crates/pvm-contract-builder-dsl"{% if use_alloc %}, features = ["alloc"]{% endif %} }
17-
polkavm-derive = { version = "0.31.0" }
17+
polkavm-derive = { version = "0.35.0" }
1818
{% else -%}
1919
pvm-contract-builder-dsl = { version = "{{ builder_version }}"{% if use_alloc %}, features = ["alloc"]{% endif %} }
20-
polkavm-derive = { version = "0.31.0" }
20+
polkavm-derive = { version = "0.35.0" }
2121
{% endif -%}
2222
{% else -%}
2323
{% if let Some(path) = local_path -%}
2424
pvm-contract-sdk = { path = "{{ path }}/crates/pvm-contract-sdk"{% if use_alloc %}, features = ["alloc"]{% endif %} }
25-
polkavm-derive = { version = "0.31.0" }
25+
polkavm-derive = { version = "0.35.0" }
2626
{% else -%}
2727
pvm-contract-sdk = { version = "{{ builder_version }}"{% if use_alloc %}, features = ["alloc"]{% endif %} }
28-
polkavm-derive = { version = "0.31.0" }
28+
polkavm-derive = { version = "0.35.0" }
2929
{% endif -%}
3030
{% endif -%}
3131
{% if use_alloc -%}

crates/pvm-contract-benchmarks/src/bin/build-and-measure.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ path = "src/{}.rs"
4444
4545
[dependencies]
4646
pvm-contract-sdk = {{ path = "{}" }}
47-
polkavm-derive = {{ version = "0.34.0" }}
47+
polkavm-derive = {{ version = "0.35.0" }}
4848
4949
[profile.dev]
5050
panic = "abort"
@@ -81,7 +81,7 @@ path = "src/{}.rs"
8181
[dependencies]
8282
pvm-contract-sdk = {{ path = "{}" }}
8383
pvm-bump-allocator = {{ path = "{}" }}
84-
polkavm-derive = {{ version = "0.34.0" }}
84+
polkavm-derive = {{ version = "0.35.0" }}
8585
8686
[profile.dev]
8787
panic = "abort"
@@ -117,7 +117,7 @@ path = "src/{}.rs"
117117
118118
[dependencies]
119119
pvm-contract-builder-dsl = {{ path = "{}" }}
120-
polkavm-derive = {{ version = "0.34.0" }}
120+
polkavm-derive = {{ version = "0.35.0" }}
121121
122122
[profile.dev]
123123
panic = "abort"

crates/pvm-contract-builder-dsl/contracts/fibonacci_builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![cfg(any(target_arch = "riscv32", target_arch = "riscv64"))]
1+
#![cfg(target_arch = "riscv64")]
22
#![no_main]
33
#![no_std]
44

crates/pvm-contract-builder-dsl/contracts/multi_builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![cfg(any(target_arch = "riscv32", target_arch = "riscv64"))]
1+
#![cfg(target_arch = "riscv64")]
22
#![no_main]
33
#![no_std]
44

crates/pvm-contract-builder-dsl/contracts/mytoken_builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![cfg(any(target_arch = "riscv32", target_arch = "riscv64"))]
1+
#![cfg(target_arch = "riscv64")]
22
#![no_main]
33
#![no_std]
44

0 commit comments

Comments
 (0)