Skip to content

Commit

Permalink
Contracts: Bump polkavm (#2884)
Browse files Browse the repository at this point in the history
bump polkavm-x deps to 0.4.0
  • Loading branch information
pgherveou authored Jan 9, 2024
1 parent d288c81 commit 06fa111
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ workflow:
- if: $CI_COMMIT_BRANCH

variables:
CI_IMAGE: !reference [.ci-unified, variables, CI_IMAGE]
CI_IMAGE: "docker.io/paritytech/ci-unified:bullseye-1.74.0-2023-11-01-v20240108"
# BUILDAH_IMAGE is defined in group variables
BUILDAH_COMMAND: "buildah --storage-driver overlay2"
RELENG_SCRIPTS_BRANCH: "master"
Expand Down
26 changes: 10 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion substrate/frame/contracts/fixtures/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion substrate/frame/contracts/fixtures/build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 3 additions & 4 deletions substrate/frame/contracts/uapi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand All @@ -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"]
Expand Down

0 comments on commit 06fa111

Please sign in to comment.