From 84a246c24a5d3c410a2e4f7d63c0215decddb2b1 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sun, 28 Jan 2024 20:41:09 +0000
Subject: [PATCH] Bump polkavm-derive from 0.4.0 to 0.5.0 (#3011)
Bumps [polkavm-derive](https://github.com/koute/polkavm) from 0.4.0 to
0.5.0.
Commits
fe4f77a
Add more tests
170d1bf
Rework
R_RISCV_HI20/R_RISCV_LO12_I/R_RISCV_LO12_S
relocations
97310bb
Support more types of relocations
09ae074
Add a slightly better error message
02f1a06
Make error messages about unsupported relocations more
human-readable
4c7e40d
Support importing of the same function from multiple places
35968d9
Update the test blob build script
3b2176d
Reexport ProgramParseError from
polkavm-linker
2001240
Support unsafe fns in #[polkavm_export]
9b76ec5
Remove the need for a linker script
- Additional commits viewable in compare
view
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore ` will
remove the ignore condition of the specified dependency and ignore
conditions
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
Cargo.lock | 18 ++++++------------
substrate/frame/contracts/uapi/Cargo.toml | 2 +-
2 files changed, 7 insertions(+), 13 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index cd9df8ba82..497abe4a76 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -13692,12 +13692,6 @@ dependencies = [
"westend-runtime",
]
-[[package]]
-name = "polkavm-common"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fecd2caacfc4a7ee34243758dd7348859e6dec73f5e5df059890f5742ee46f0e"
-
[[package]]
name = "polkavm-common"
version = "0.5.0"
@@ -13706,9 +13700,9 @@ checksum = "88b4e215c80fe876147f3d58158d5dfeae7dabdd6047e175af77095b78d0035c"
[[package]]
name = "polkavm-derive"
-version = "0.4.0"
+version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db65a500d4adf574893c726ae365e37e4fbb7f2cbd403f6eaa1b665457456adc"
+checksum = "6380dbe1fb03ecc74ad55d841cfc75480222d153ba69ddcb00977866cbdabdb8"
dependencies = [
"polkavm-derive-impl",
"syn 2.0.48",
@@ -13716,11 +13710,11 @@ dependencies = [
[[package]]
name = "polkavm-derive-impl"
-version = "0.4.0"
+version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c99f4e7a9ff434ef9c885b874c99d824c3a5693bf5e3e8569bb1d2245a8c1b7f"
+checksum = "dc8211b3365bbafb2fb32057d68b0e1ca55d079f5cf6f9da9b98079b94b3987d"
dependencies = [
- "polkavm-common 0.4.0",
+ "polkavm-common",
"proc-macro2",
"quote",
"syn 2.0.48",
@@ -13736,7 +13730,7 @@ dependencies = [
"hashbrown 0.14.3",
"log",
"object 0.32.2",
- "polkavm-common 0.5.0",
+ "polkavm-common",
"regalloc2 0.9.3",
"rustc-demangle",
]
diff --git a/substrate/frame/contracts/uapi/Cargo.toml b/substrate/frame/contracts/uapi/Cargo.toml
index a5a8099d3b..eb8a9c6182 100644
--- a/substrate/frame/contracts/uapi/Cargo.toml
+++ b/substrate/frame/contracts/uapi/Cargo.toml
@@ -21,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.4.0'
+polkavm-derive = '0.5.0'
[features]
default = ["scale"]