From ef4585b135c5c7b6ae26f3826bf7888f0def1950 Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Mon, 1 Mar 2021 18:09:44 +0100 Subject: [PATCH 1/4] Update to `parity-scale-codec` 2.0.1 in template --- templates/new/_Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/new/_Cargo.toml b/templates/new/_Cargo.toml index 9c06a6c4..f1c19931 100644 --- a/templates/new/_Cargo.toml +++ b/templates/new/_Cargo.toml @@ -11,7 +11,7 @@ ink_env = { version = "3.0.0-rc2", default-features = false } ink_storage = { version = "3.0.0-rc2", default-features = false } ink_lang = { version = "3.0.0-rc2", default-features = false } -scale = { package = "parity-scale-codec", version = "2.0", default-features = false, features = ["derive"] } +scale = { package = "parity-scale-codec", version = "2.0.1", default-features = false, features = ["derive"] } scale-info = { version = "0.5.0", default-features = false, features = ["derive"], optional = true } [lib] -- GitLab From 84a2ed54f6bb8fe56687be9a8828962a89bf4736 Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Mon, 1 Mar 2021 18:14:29 +0100 Subject: [PATCH 2/4] Add `funty` hotfix to template --- templates/new/_Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/new/_Cargo.toml b/templates/new/_Cargo.toml index f1c19931..5e95c2ea 100644 --- a/templates/new/_Cargo.toml +++ b/templates/new/_Cargo.toml @@ -14,6 +14,9 @@ ink_lang = { version = "3.0.0-rc2", default-features = false } scale = { package = "parity-scale-codec", version = "2.0.1", default-features = false, features = ["derive"] } scale-info = { version = "0.5.0", default-features = false, features = ["derive"], optional = true } +# Should be removed once bitvecto-rs/bitvec#105 is resolved +funty = "=1.1.0" + [lib] name = "{{name}}" path = "lib.rs" -- GitLab From 7b5e96b9e1ad3f502b02f1d7b47829de90ebf30e Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Tue, 2 Mar 2021 16:05:51 +0100 Subject: [PATCH 3/4] Update template to ink! 3.0.0-rc3 --- templates/new/_Cargo.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/new/_Cargo.toml b/templates/new/_Cargo.toml index 5e95c2ea..9d2f9df6 100644 --- a/templates/new/_Cargo.toml +++ b/templates/new/_Cargo.toml @@ -5,11 +5,11 @@ authors = ["[your_name] <[your_email]>"] edition = "2018" [dependencies] -ink_primitives = { version = "3.0.0-rc2", default-features = false } -ink_metadata = { version = "3.0.0-rc2", default-features = false, features = ["derive"], optional = true } -ink_env = { version = "3.0.0-rc2", default-features = false } -ink_storage = { version = "3.0.0-rc2", default-features = false } -ink_lang = { version = "3.0.0-rc2", default-features = false } +ink_primitives = { version = "3.0.0-rc3", default-features = false } +ink_metadata = { version = "3.0.0-rc3", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.0.0-rc3", default-features = false } +ink_storage = { version = "3.0.0-rc3", default-features = false } +ink_lang = { version = "3.0.0-rc3", default-features = false } scale = { package = "parity-scale-codec", version = "2.0.1", default-features = false, features = ["derive"] } scale-info = { version = "0.5.0", default-features = false, features = ["derive"], optional = true } -- GitLab From 8e9b58ff2fa7e4534fa6815b43721daf2e775aab Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Tue, 2 Mar 2021 16:52:15 +0100 Subject: [PATCH 4/4] Update `scale-info` to 0.6.0 --- templates/new/_Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/new/_Cargo.toml b/templates/new/_Cargo.toml index 9d2f9df6..998dac7d 100644 --- a/templates/new/_Cargo.toml +++ b/templates/new/_Cargo.toml @@ -12,7 +12,7 @@ ink_storage = { version = "3.0.0-rc3", default-features = false } ink_lang = { version = "3.0.0-rc3", default-features = false } scale = { package = "parity-scale-codec", version = "2.0.1", default-features = false, features = ["derive"] } -scale-info = { version = "0.5.0", default-features = false, features = ["derive"], optional = true } +scale-info = { version = "0.6.0", default-features = false, features = ["derive"], optional = true } # Should be removed once bitvecto-rs/bitvec#105 is resolved funty = "=1.1.0" -- GitLab