From 7036013c24aa8d77a4e5f13a0c9e51e71d71fa5d Mon Sep 17 00:00:00 2001 From: davidsemakula Date: Wed, 8 Jan 2025 19:25:43 +0300 Subject: [PATCH 1/2] Use ink! release version in new contract template --- crates/build/templates/new/_Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/build/templates/new/_Cargo.toml b/crates/build/templates/new/_Cargo.toml index 1298b5e46..e1cb95fb6 100644 --- a/crates/build/templates/new/_Cargo.toml +++ b/crates/build/templates/new/_Cargo.toml @@ -5,10 +5,10 @@ authors = ["[your_name] <[your_email]>"] edition = "2021" [dependencies] -ink = { git = "https://github.com/use-ink/ink", default-features = false } +ink = { version = "5.1.1", default-features = false } [dev-dependencies] -ink_e2e = { git = "https://github.com/use-ink/ink", default-features = false } +ink_e2e = { version = "5.1.1", default-features = false } [lib] path = "lib.rs" From 68e9cb1118d3317272d2e8340dc9a78cec0026f9 Mon Sep 17 00:00:00 2001 From: davidsemakula Date: Thu, 9 Jan 2025 09:19:40 +0300 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8cc7326b2..e0b2d2ef6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Target `pallet-revive` instead of `pallet-contracts` - [#1851](https://github.com/use-ink/cargo-contract/pull/1851) +- Use ink! release version in new contract template - [1896](https://github.com/use-ink/cargo-contract/pull/1896) ## [5.0.1]