Contracts: Bump polkavm (#2884)

bump polkavm-x deps to 0.4.0
This commit is contained in:
PG Herveou
2024-01-09 12:43:53 +01:00
committed by GitHub
parent d288c81b96
commit 06fa111f58
5 changed files with 16 additions and 23 deletions
@@ -21,7 +21,7 @@ parity-wasm = "0.45.0"
tempfile = "3.8.1"
toml = "0.8.2"
twox-hash = "1.6.3"
polkavm-linker = { version = "0.3.0", optional = true }
polkavm-linker = { version = "0.4.0", optional = true }
anyhow = "1.0.0"
[features]
@@ -10,7 +10,7 @@ edition = "2021"
[dependencies]
uapi = { package = 'pallet-contracts-uapi', path = "", default-features = false }
common = { package = 'pallet-contracts-fixtures-common', path = "" }
polkavm-derive = '0.2.0'
polkavm-derive = '0.4.0'
[profile.release]
opt-level = 3
+3 -4
View File
@@ -8,9 +8,8 @@ homepage = "https://substrate.io"
repository.workspace = true
description = "Exposes all the host functions that a contract can import."
# [lints]
# TODO: uncomment when rve toolchain is updated to rust 1.74 or greater.
# workspace = true
[lints]
workspace = true
[dependencies]
paste = { version = "1.0", default-features = false }
@@ -22,7 +21,7 @@ scale = { package = "parity-scale-codec", version = "3.6.1", default-features =
], optional = true }
[target.'cfg(target_arch = "riscv32")'.dependencies]
polkavm-derive = '0.2.0'
polkavm-derive = '0.4.0'
[features]
default = ["scale"]