Skip to content

Commit 8339a0f

Browse files
authored
Bump PolkaVM to 0.25.0 (#8962)
Bump to the newest PolkaVM version. This contains *mostly* many linker improvements/bugfixes, with no real functional changes.
1 parent a9df491 commit 8339a0f

File tree

7 files changed

+43
-127
lines changed

7 files changed

+43
-127
lines changed

Cargo.lock

Lines changed: 33 additions & 118 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
@@ -1151,9 +1151,9 @@ polkadot-subsystem-bench = { path = "polkadot/node/subsystem-bench" }
11511151
polkadot-test-client = { path = "polkadot/node/test/client" }
11521152
polkadot-test-runtime = { path = "polkadot/runtime/test-runtime" }
11531153
polkadot-test-service = { path = "polkadot/node/test/service" }
1154-
polkavm = { version = "0.24.0", default-features = false }
1155-
polkavm-derive = "0.24.0"
1156-
polkavm-linker = "0.24.0"
1154+
polkavm = { version = "0.25.0", default-features = false }
1155+
polkavm-derive = "0.25.0"
1156+
polkavm-linker = "0.25.0"
11571157
portpicker = { version = "0.1.1" }
11581158
pretty_assertions = { version = "1.3.0" }
11591159
primitive-types = { version = "0.13.1", default-features = false, features = ["num-traits"] }

substrate/client/executor/polkavm/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ impl WasmInstance for Instance {
109109
None,
110110
),
111111
Err(CallError::NotEnoughGas) => unreachable!("gas metering is never enabled"),
112+
Err(CallError::Step) => unreachable!("stepping is never enabled"),
112113
};
113114

114115
let result_pointer = self.0.reg(Reg::A0);

substrate/frame/revive/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ num-bigint = { workspace = true }
3131
num-integer = { workspace = true }
3232
num-traits = { workspace = true }
3333
paste = { workspace = true }
34-
polkavm = { version = "0.21.0", default-features = false }
35-
polkavm-common = { version = "0.21.0", default-features = false, optional = true }
34+
polkavm = { version = "0.25.0", default-features = false }
35+
polkavm-common = { version = "0.25.0", default-features = false, optional = true }
3636
rand = { workspace = true, optional = true }
3737
rand_pcg = { workspace = true, optional = true }
3838
rlp = { workspace = true }
@@ -62,7 +62,7 @@ subxt-signer = { workspace = true, optional = true, features = ["unstable-eth"]
6262
[dev-dependencies]
6363
array-bytes = { workspace = true, default-features = true }
6464
assert_matches = { workspace = true }
65-
polkavm-common = { version = "0.21.0" }
65+
polkavm-common = { version = "0.25.0" }
6666
pretty_assertions = { workspace = true }
6767
secp256k1 = { workspace = true, features = ["recovery"] }
6868
serde_json = { workspace = true }

substrate/frame/revive/fixtures/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ sp-io = { workspace = true, default-features = true, optional = true }
2424
anyhow = { workspace = true, default-features = true }
2525
cargo_metadata = { workspace = true }
2626
pallet-revive-uapi = { workspace = true }
27-
polkavm-linker = { version = "0.21.0" }
27+
polkavm-linker = { version = "0.25.0" }
2828
toml = { workspace = true }
2929

3030
[features]

substrate/frame/revive/fixtures/build/_Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ edition = "2021"
1414
[dependencies]
1515
uapi = { package = 'pallet-revive-uapi', features = ["unstable-hostfn"], default-features = false }
1616
hex-literal = { version = "0.4.1", default-features = false }
17-
polkavm-derive = { version = "0.21.0" }
17+
polkavm-derive = { version = "0.25.0" }
1818

1919
[profile.release]
2020
opt-level = 3

substrate/frame/revive/uapi/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pallet-revive-proc-macro = { workspace = true }
2222
scale-info = { features = ["derive"], optional = true, workspace = true }
2323

2424
[target.'cfg(target_arch = "riscv64")'.dependencies]
25-
polkavm-derive = { version = "0.21.0" }
25+
polkavm-derive = { version = "0.25.0" }
2626

2727
[features]
2828
default = ["scale"]

0 commit comments

Comments
 (0)