From a7bf2eeb9f30fdd5aafe17dfba3d2edf5895bee4 Mon Sep 17 00:00:00 2001 From: Andrew Jones Date: Wed, 7 Feb 2024 18:07:49 +0000 Subject: [PATCH 1/2] :t-rex: pin `curve25519-dalek` to `4.1.1` to fix linting --- linting/Cargo.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/linting/Cargo.toml b/linting/Cargo.toml index a3159ba46ec..3f8eee646cb 100644 --- a/linting/Cargo.toml +++ b/linting/Cargo.toml @@ -17,7 +17,12 @@ keywords = ["parity", "blockchain", "edsl", "dylint", "linting"] [workspace.dependencies] ink_linting_utils = { version = "=5.0.0-rc", path = "utils" } - +curve25519-dalek = { version = "=4.1.1", default-features = false, features = [ + "digest", + "zeroize", + "precomputed-tables", + "legacy_compatibility", +] } [workspace.metadata.dylint] libraries = [ { path = "mandatory" }, From 7c1ec00f81280f1940619adde4fc0e39611ed9bf Mon Sep 17 00:00:00 2001 From: Andrew Jones Date: Wed, 7 Feb 2024 18:15:13 +0000 Subject: [PATCH 2/2] Add to mandatory lints --- linting/mandatory/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/linting/mandatory/Cargo.toml b/linting/mandatory/Cargo.toml index 0d11900de9a..f38549ef986 100644 --- a/linting/mandatory/Cargo.toml +++ b/linting/mandatory/Cargo.toml @@ -22,6 +22,7 @@ if_chain = "1.0.2" log = "0.4.14" regex = "1.5.4" ink_linting_utils = { workspace = true } +curve25519-dalek = { workspace = true } [dev-dependencies] dylint_testing = "2.6.0"