From 952fab2c4455196f1dacdaf30c70c98a77f7f633 Mon Sep 17 00:00:00 2001 From: Christoph Otter Date: Fri, 22 Nov 2024 17:07:39 +0700 Subject: [PATCH 1/5] Fix replacement order (cherry picked from commit 55ee235b12f390b4bf66ba0de1d7e7fe9157b715) # Conflicts: # packages/vm/Cargo.toml --- packages/vm/Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/vm/Cargo.toml b/packages/vm/Cargo.toml index 9dfbbce1e..230158719 100644 --- a/packages/vm/Cargo.toml +++ b/packages/vm/Cargo.toml @@ -10,11 +10,19 @@ license = "Apache-2.0" [package.metadata.release] pre-release-hook = ["../../devtools/release_checks.sh"] pre-release-replacements = [ +<<<<<<< HEAD { file = "../../CHANGELOG.md", search = "## \\[Unreleased\\]", replace = "## [{{version}}] - {{date}}", exactly = 1 }, { file = "../../CHANGELOG.md", search = "(U|u)nreleased", replace = "{{version}}" }, { file = "../../CHANGELOG.md", search = "", replace = "\n\n## [Unreleased]", exactly = 1 }, { file = "../../CHANGELOG.md", search = "\\.\\.\\.HEAD", replace = "...{{tag_name}}", exactly = 1 }, { file = "../../CHANGELOG.md", search = "\n", replace = "\n\n[unreleased]: https://github.com/CosmWasm/cosmwasm/compare/{{tag_name}}...HEAD", exactly = 1 }, +======= + { file = "../../CHANGELOG.md", search = "## \\[Unreleased\\]", replace = "## [{{version}}] - {{date}}", exactly = 1 }, + { file = "../../CHANGELOG.md", search = "(U|u)nreleased", replace = "{{version}}" }, + { file = "../../CHANGELOG.md", search = "", replace = "\n\n## [Unreleased]", exactly = 1 }, + { file = "../../CHANGELOG.md", search = "\\.\\.\\.HEAD", replace = "...{{tag_name}}", exactly = 1 }, + { file = "../../CHANGELOG.md", search = "\n", replace = "\n\n[unreleased]: https://github.com/CosmWasm/cosmwasm/compare/{{tag_name}}...HEAD", exactly = 1 }, +>>>>>>> 55ee235b (Fix replacement order) ] [features] From 62cdc6697e19a235659b5f2434f752aeaf38b4d7 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Fri, 22 Nov 2024 10:19:40 +0000 Subject: [PATCH 2/5] [autofix.ci] apply automated fixes (cherry picked from commit 38fea3a7a57941603e35eb4743401fd0158a3f8f) # Conflicts: # packages/vm/Cargo.toml --- packages/vm/Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/vm/Cargo.toml b/packages/vm/Cargo.toml index 230158719..0786fa2de 100644 --- a/packages/vm/Cargo.toml +++ b/packages/vm/Cargo.toml @@ -20,9 +20,12 @@ pre-release-replacements = [ { file = "../../CHANGELOG.md", search = "## \\[Unreleased\\]", replace = "## [{{version}}] - {{date}}", exactly = 1 }, { file = "../../CHANGELOG.md", search = "(U|u)nreleased", replace = "{{version}}" }, { file = "../../CHANGELOG.md", search = "", replace = "\n\n## [Unreleased]", exactly = 1 }, - { file = "../../CHANGELOG.md", search = "\\.\\.\\.HEAD", replace = "...{{tag_name}}", exactly = 1 }, { file = "../../CHANGELOG.md", search = "\n", replace = "\n\n[unreleased]: https://github.com/CosmWasm/cosmwasm/compare/{{tag_name}}...HEAD", exactly = 1 }, +<<<<<<< HEAD >>>>>>> 55ee235b (Fix replacement order) +======= + { file = "../../CHANGELOG.md", search = "\\.\\.\\.HEAD", replace = "...{{tag_name}}", exactly = 1 }, +>>>>>>> 38fea3a7 ([autofix.ci] apply automated fixes) ] [features] From 845433e1de71ad82c0e9a79dcd3db147d58b80d3 Mon Sep 17 00:00:00 2001 From: Christoph Otter Date: Fri, 22 Nov 2024 17:52:50 +0700 Subject: [PATCH 3/5] Disable toml array reordering (cherry picked from commit 09f45bc35bbfe580fefabe0dfd72c362212ef9d7) # Conflicts: # .taplo.toml --- .taplo.toml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .taplo.toml diff --git a/.taplo.toml b/.taplo.toml new file mode 100644 index 000000000..9b3a9b621 --- /dev/null +++ b/.taplo.toml @@ -0,0 +1,2 @@ +[formatting] +indent_string = " " From 48f794aa926375b9b8d729a747489ab2d5554bd4 Mon Sep 17 00:00:00 2001 From: Christoph Otter Date: Fri, 22 Nov 2024 17:53:22 +0700 Subject: [PATCH 4/5] Fix replacement order (again) (cherry picked from commit 961abe687052e5c623ba5f6a70194f87222ea232) # Conflicts: # packages/vm/Cargo.toml --- packages/vm/Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/vm/Cargo.toml b/packages/vm/Cargo.toml index 0786fa2de..456e8a7e2 100644 --- a/packages/vm/Cargo.toml +++ b/packages/vm/Cargo.toml @@ -20,12 +20,17 @@ pre-release-replacements = [ { file = "../../CHANGELOG.md", search = "## \\[Unreleased\\]", replace = "## [{{version}}] - {{date}}", exactly = 1 }, { file = "../../CHANGELOG.md", search = "(U|u)nreleased", replace = "{{version}}" }, { file = "../../CHANGELOG.md", search = "", replace = "\n\n## [Unreleased]", exactly = 1 }, +<<<<<<< HEAD { file = "../../CHANGELOG.md", search = "\n", replace = "\n\n[unreleased]: https://github.com/CosmWasm/cosmwasm/compare/{{tag_name}}...HEAD", exactly = 1 }, <<<<<<< HEAD >>>>>>> 55ee235b (Fix replacement order) ======= { file = "../../CHANGELOG.md", search = "\\.\\.\\.HEAD", replace = "...{{tag_name}}", exactly = 1 }, >>>>>>> 38fea3a7 ([autofix.ci] apply automated fixes) +======= + { file = "../../CHANGELOG.md", search = "\\.\\.\\.HEAD", replace = "...{{tag_name}}", exactly = 1 }, + { file = "../../CHANGELOG.md", search = "\n", replace = "\n\n[unreleased]: https://github.com/CosmWasm/cosmwasm/compare/{{tag_name}}...HEAD", exactly = 1 }, +>>>>>>> 961abe68 (Fix replacement order (again)) ] [features] From 003724990a67c2a4e0f27c2751425c7b12cbc7fb Mon Sep 17 00:00:00 2001 From: Christoph Otter Date: Mon, 16 Dec 2024 12:04:49 +0100 Subject: [PATCH 5/5] Fix conflicts --- packages/vm/Cargo.toml | 30 +++++++++++------------------- 1 file changed, 11 insertions(+), 19 deletions(-) diff --git a/packages/vm/Cargo.toml b/packages/vm/Cargo.toml index 456e8a7e2..976e5bc50 100644 --- a/packages/vm/Cargo.toml +++ b/packages/vm/Cargo.toml @@ -10,27 +10,11 @@ license = "Apache-2.0" [package.metadata.release] pre-release-hook = ["../../devtools/release_checks.sh"] pre-release-replacements = [ -<<<<<<< HEAD - { file = "../../CHANGELOG.md", search = "## \\[Unreleased\\]", replace = "## [{{version}}] - {{date}}", exactly = 1 }, - { file = "../../CHANGELOG.md", search = "(U|u)nreleased", replace = "{{version}}" }, - { file = "../../CHANGELOG.md", search = "", replace = "\n\n## [Unreleased]", exactly = 1 }, - { file = "../../CHANGELOG.md", search = "\\.\\.\\.HEAD", replace = "...{{tag_name}}", exactly = 1 }, - { file = "../../CHANGELOG.md", search = "\n", replace = "\n\n[unreleased]: https://github.com/CosmWasm/cosmwasm/compare/{{tag_name}}...HEAD", exactly = 1 }, -======= { file = "../../CHANGELOG.md", search = "## \\[Unreleased\\]", replace = "## [{{version}}] - {{date}}", exactly = 1 }, { file = "../../CHANGELOG.md", search = "(U|u)nreleased", replace = "{{version}}" }, { file = "../../CHANGELOG.md", search = "", replace = "\n\n## [Unreleased]", exactly = 1 }, -<<<<<<< HEAD - { file = "../../CHANGELOG.md", search = "\n", replace = "\n\n[unreleased]: https://github.com/CosmWasm/cosmwasm/compare/{{tag_name}}...HEAD", exactly = 1 }, -<<<<<<< HEAD ->>>>>>> 55ee235b (Fix replacement order) -======= - { file = "../../CHANGELOG.md", search = "\\.\\.\\.HEAD", replace = "...{{tag_name}}", exactly = 1 }, ->>>>>>> 38fea3a7 ([autofix.ci] apply automated fixes) -======= { file = "../../CHANGELOG.md", search = "\\.\\.\\.HEAD", replace = "...{{tag_name}}", exactly = 1 }, { file = "../../CHANGELOG.md", search = "\n", replace = "\n\n[unreleased]: https://github.com/CosmWasm/cosmwasm/compare/{{tag_name}}...HEAD", exactly = 1 }, ->>>>>>> 961abe68 (Fix replacement order (again)) ] [features] @@ -59,16 +43,24 @@ clru = "0.6.1" crc32fast = "1.3.2" bech32 = "0.9.1" # Uses the path when built locally; uses the given version from crates.io when published -cosmwasm-std = { path = "../std", version = "2.0.8", default-features = false, features = ["std"] } +cosmwasm-std = { path = "../std", version = "2.0.8", default-features = false, features = [ + "std", +] } cosmwasm-crypto = { path = "../crypto", version = "2.0.8" } derivative = "2" hex = "0.4" schemars = "0.8.3" -serde = { version = "1.0.103", default-features = false, features = ["derive", "alloc"] } +serde = { version = "1.0.103", default-features = false, features = [ + "derive", + "alloc", +] } serde_json = "1.0.40" sha2 = "0.10.3" thiserror = "1.0.26" -wasmer = { version = "=4.2.6", default-features = false, features = ["cranelift", "singlepass"] } +wasmer = { version = "=4.2.6", default-features = false, features = [ + "cranelift", + "singlepass", +] } wasmer-middlewares = "=4.2.6" wasmer-types = "=4.2.6" strum = { version = "0.25.0", default-features = false, features = ["derive"] }