Skip to content
Snippets Groups Projects
Unverified Commit d62a90c8 authored by Alexander Theißen's avatar Alexander Theißen Committed by GitHub
Browse files

pallet_revive: Bump PolkaVM (#7203)


Update to PolkaVM `0.19`. This version renumbers the opcodes in order to
be in-line with the grey paper. Hopefully, for the last time. This means
that it breaks existing contracts.

---------

Signed-off-by: default avatarxermicus <cyrill@parity.io>
Co-authored-by: command-bot <>
Co-authored-by: default avatarxermicus <cyrill@parity.io>
parent 4b2febe1
No related merge requests found
Pipeline #512345 waiting for manual action with stages
in 1 hour, 20 minutes, and 51 seconds
......@@ -14857,7 +14857,7 @@ dependencies = [
"pallet-utility 28.0.0",
"parity-scale-codec",
"paste",
"polkavm 0.18.0",
"polkavm 0.19.0",
"pretty_assertions",
"rlp 0.6.1",
"scale-info",
......@@ -14946,7 +14946,7 @@ name = "pallet-revive-fixtures"
version = "0.1.0"
dependencies = [
"anyhow",
"polkavm-linker 0.18.0",
"polkavm-linker 0.19.0",
"sp-core 28.0.0",
"sp-io 30.0.0",
"toml 0.8.19",
......@@ -15061,7 +15061,7 @@ dependencies = [
"pallet-revive-proc-macro 0.1.0",
"parity-scale-codec",
"paste",
"polkavm-derive 0.18.0",
"polkavm-derive 0.19.0",
"scale-info",
]
 
......@@ -19933,6 +19933,19 @@ dependencies = [
"polkavm-linux-raw 0.18.0",
]
 
[[package]]
name = "polkavm"
version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8379bb48ff026aa8ae0645ea45f27920bfd21c82b2e82ed914224bb233d59f83"
dependencies = [
"libc",
"log",
"polkavm-assembler 0.19.0",
"polkavm-common 0.19.0",
"polkavm-linux-raw 0.19.0",
]
[[package]]
name = "polkavm-assembler"
version = "0.9.0"
......@@ -19960,6 +19973,15 @@ dependencies = [
"log",
]
 
[[package]]
name = "polkavm-assembler"
version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "57513b596cf0bafb052dab48e9c168f473c35f7522e17f70cc9f96603012d9b7"
dependencies = [
"log",
]
[[package]]
name = "polkavm-common"
version = "0.9.0"
......@@ -19989,6 +20011,16 @@ dependencies = [
"polkavm-assembler 0.18.0",
]
 
[[package]]
name = "polkavm-common"
version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a972bd305ba8cbf0de79951d6d49d2abfad47c277596be5a2c6a0924a163abbd"
dependencies = [
"log",
"polkavm-assembler 0.19.0",
]
[[package]]
name = "polkavm-derive"
version = "0.9.1"
......@@ -20016,6 +20048,15 @@ dependencies = [
"polkavm-derive-impl-macro 0.18.0",
]
 
[[package]]
name = "polkavm-derive"
version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d8d866972a7532d82d05c26b4516563660dd6676d7ab9e64e681d8ef0e29255c"
dependencies = [
"polkavm-derive-impl-macro 0.19.0",
]
[[package]]
name = "polkavm-derive-impl"
version = "0.9.0"
......@@ -20052,6 +20093,18 @@ dependencies = [
"syn 2.0.87",
]
 
[[package]]
name = "polkavm-derive-impl"
version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5cffca9d51b21153395a192b65698457687bc51daa41026629895542ccaa65c2"
dependencies = [
"polkavm-common 0.19.0",
"proc-macro2 1.0.86",
"quote 1.0.37",
"syn 2.0.87",
]
[[package]]
name = "polkavm-derive-impl-macro"
version = "0.9.0"
......@@ -20082,6 +20135,16 @@ dependencies = [
"syn 2.0.87",
]
 
[[package]]
name = "polkavm-derive-impl-macro"
version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cc0dc0cf2e8f4d30874131eccfa36bdabd4a52cfb79c15f8630508abaf06a2a6"
dependencies = [
"polkavm-derive-impl 0.19.0",
"syn 2.0.87",
]
[[package]]
name = "polkavm-linker"
version = "0.9.2"
......@@ -20128,6 +20191,22 @@ dependencies = [
"rustc-demangle",
]
 
[[package]]
name = "polkavm-linker"
version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "caec2308f1328b5a667da45322c04fad7ff97ad8b36817d18c7635ea4dd6c6f4"
dependencies = [
"dirs",
"gimli 0.31.1",
"hashbrown 0.14.5",
"log",
"object 0.36.1",
"polkavm-common 0.19.0",
"regalloc2 0.9.3",
"rustc-demangle",
]
[[package]]
name = "polkavm-linux-raw"
version = "0.9.0"
......@@ -20146,6 +20225,12 @@ version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "23eff02c070c70f31878a3d915e88a914ecf3e153741e2fb572dde28cce20fde"
 
[[package]]
name = "polkavm-linux-raw"
version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "136ae072ab6fa38e584a06d12b1b216cff19f54d5cd202a8f8c5ec2e92e7e4bb"
[[package]]
name = "polling"
version = "2.8.0"
......
title: 'pallet_revive: Bump PolkaVM'
doc:
- audience: Runtime Dev
description: Update to PolkaVM `0.19`. This version renumbers the opcodes in order
to be in-line with the grey paper. Hopefully, for the last time. This means that
it breaks existing contracts.
crates:
- name: pallet-revive
bump: patch
- name: pallet-revive-fixtures
bump: patch
- name: pallet-revive-uapi
bump: patch
......@@ -25,7 +25,7 @@ hex = { workspace = true }
impl-trait-for-tuples = { workspace = true }
log = { workspace = true }
paste = { workspace = true }
polkavm = { version = "0.18.0", default-features = false }
polkavm = { version = "0.19.0", default-features = false }
rlp = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
serde = { features = [
......
......@@ -21,7 +21,7 @@ sp-io = { workspace = true, default-features = true, optional = true }
[build-dependencies]
anyhow = { workspace = true, default-features = true }
polkavm-linker = { version = "0.18.0" }
polkavm-linker = { version = "0.19.0" }
toml = { workspace = true }
[features]
......
......@@ -14,7 +14,7 @@ edition = "2021"
[dependencies]
uapi = { package = 'pallet-revive-uapi', path = "", features = ["unstable-hostfn"], default-features = false }
common = { package = 'pallet-revive-fixtures-common', path = "" }
polkavm-derive = { version = "0.18.0" }
polkavm-derive = { version = "0.19.0" }
[profile.release]
opt-level = 3
......
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
......@@ -22,7 +22,7 @@ paste = { workspace = true }
scale-info = { features = ["derive"], optional = true, workspace = true }
[target.'cfg(target_arch = "riscv64")'.dependencies]
polkavm-derive = { version = "0.18.0" }
polkavm-derive = { version = "0.19.0" }
[package.metadata.docs.rs]
features = ["unstable-hostfn"]
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment