diff --git a/CHANGELOG.md b/CHANGELOG.md index 7babf45d..056f2474 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,35 @@ ## [Unreleased](https://github.com/babylonlabs-io/babylon-contract/tree/HEAD) -[Full Changelog](https://github.com/babylonchain/babylon-contract/compare/v0.8.0...HEAD) +[Full Changelog](https://github.com/babylonlabs-io/babylon-contract/compare/v0.9.0...HEAD) + +## [v0.9.0](https://github.com/babylonlabs-io/babylon-contract/tree/v0.9.0) (2024-08-29) + +[Full Changelog](https://github.com/babylonlabs-io/babylon-contract/compare/v0.8.0-rc.1...v0.9.0) + +**Fixed bugs:** + +- crypto: implement adaptor signature using k256 [\#13](https://github.com/babylonlabs-io/babylon-contract/issues/13) + +**Merged pull requests:** + +- Try and enable CI release jobs [\#48](https://github.com/babylonlabs-io/babylon-contract/pull/48) ([maurolacy](https://github.com/maurolacy)) +- Fix: Wasm size limit [\#47](https://github.com/babylonlabs-io/babylon-contract/pull/47) ([maurolacy](https://github.com/maurolacy)) +- F/slashing propagation 2 [\#45](https://github.com/babylonlabs-io/babylon-contract/pull/45) ([maurolacy](https://github.com/maurolacy)) +- btcstaking: fix error types for BTC staking package [\#44](https://github.com/babylonlabs-io/babylon-contract/pull/44) ([SebastianElvis](https://github.com/SebastianElvis)) +- crypto: use k256 to implement adaptor sig [\#43](https://github.com/babylonlabs-io/babylon-contract/pull/43) ([SebastianElvis](https://github.com/SebastianElvis)) +- Fix/cross contract query [\#40](https://github.com/babylonlabs-io/babylon-contract/pull/40) ([SebastianElvis](https://github.com/SebastianElvis)) +- F/btc delegations [\#39](https://github.com/babylonlabs-io/babylon-contract/pull/39) ([maurolacy](https://github.com/maurolacy)) +- Try and enable wasm tests [\#38](https://github.com/babylonlabs-io/babylon-contract/pull/38) ([maurolacy](https://github.com/maurolacy)) +- 0.8.x integ [\#37](https://github.com/babylonlabs-io/babylon-contract/pull/37) ([maurolacy](https://github.com/maurolacy)) +- F/slashing undelegations [\#35](https://github.com/babylonlabs-io/babylon-contract/pull/35) ([maurolacy](https://github.com/maurolacy)) +- feat: Automatic consumer registration [\#34](https://github.com/babylonlabs-io/babylon-contract/pull/34) ([gusin13](https://github.com/gusin13)) +- Eots refactor 2 [\#33](https://github.com/babylonlabs-io/babylon-contract/pull/33) ([maurolacy](https://github.com/maurolacy)) +- eots: fix tests for verifying EOTS signatures from Go [\#32](https://github.com/babylonlabs-io/babylon-contract/pull/32) ([SebastianElvis](https://github.com/SebastianElvis)) +- Add GH actions workflow [\#30](https://github.com/babylonlabs-io/babylon-contract/pull/30) ([maurolacy](https://github.com/maurolacy)) +- f/FP SK extract [\#29](https://github.com/babylonlabs-io/babylon-contract/pull/29) ([maurolacy](https://github.com/maurolacy)) +- Eots refactor [\#27](https://github.com/babylonlabs-io/babylon-contract/pull/27) ([maurolacy](https://github.com/maurolacy)) +- Migrate repo [\#26](https://github.com/babylonlabs-io/babylon-contract/pull/26) ([maurolacy](https://github.com/maurolacy)) ## [v0.8.0](https://github.com/babylonchain/babylon-contract/tree/v0.8.0) (2024-07-09) diff --git a/Cargo.lock b/Cargo.lock index d18be5b2..959452c9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -81,7 +81,7 @@ checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" [[package]] name = "babylon-apis" -version = "0.8.0" +version = "0.9.0" dependencies = [ "babylon-bitcoin", "babylon-merkle", @@ -116,7 +116,7 @@ dependencies = [ [[package]] name = "babylon-bitcoin" -version = "0.8.0" +version = "0.9.0" dependencies = [ "bitcoin", "cosmwasm-std", @@ -127,7 +127,7 @@ dependencies = [ [[package]] name = "babylon-btcstaking" -version = "0.8.0" +version = "0.9.0" dependencies = [ "babylon-proto", "bitcoin", @@ -143,7 +143,7 @@ dependencies = [ [[package]] name = "babylon-contract" -version = "0.8.0" +version = "0.9.0" dependencies = [ "anyhow", "assert_matches", @@ -175,7 +175,7 @@ dependencies = [ [[package]] name = "babylon-merkle" -version = "0.8.0" +version = "0.9.0" dependencies = [ "cosmwasm-schema", "cosmwasm-std", @@ -189,7 +189,7 @@ dependencies = [ [[package]] name = "babylon-proto" -version = "0.8.0" +version = "0.9.0" dependencies = [ "bitvec", "cosmos-sdk-proto", @@ -372,7 +372,7 @@ dependencies = [ [[package]] name = "btc-staking" -version = "0.8.0" +version = "0.9.0" dependencies = [ "babylon-apis", "babylon-bindings", @@ -1199,7 +1199,7 @@ dependencies = [ [[package]] name = "eots" -version = "0.8.0" +version = "0.9.0" dependencies = [ "hex", "k256", @@ -1697,7 +1697,7 @@ checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575" [[package]] name = "op-finality-gadget" -version = "0.8.0" +version = "0.9.0" dependencies = [ "anybuf", "babylon-apis", @@ -2603,7 +2603,7 @@ dependencies = [ [[package]] name = "test-utils" -version = "0.8.0" +version = "0.9.0" dependencies = [ "babylon-bitcoin", "babylon-proto", diff --git a/Cargo.toml b/Cargo.toml index 71e05a5b..38bd628d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ resolver = "2" [workspace.package] edition = "2021" -version = "0.8.0" +version = "0.9.0" license = "Apache-2.0" repository = "https://github.com/babylonlabs-io/babylon-contract" authors = ["Babylon Labs Ltd. "] diff --git a/contracts/babylon/schema/babylon-contract.json b/contracts/babylon/schema/babylon-contract.json index 944fb4e0..56b3ad6c 100644 --- a/contracts/babylon/schema/babylon-contract.json +++ b/contracts/babylon/schema/babylon-contract.json @@ -1,6 +1,6 @@ { "contract_name": "babylon-contract", - "contract_version": "0.8.0", + "contract_version": "0.9.0", "idl_version": "1.0.0", "instantiate": { "$schema": "http://json-schema.org/draft-07/schema#", diff --git a/contracts/btc-staking/schema/btc-staking.json b/contracts/btc-staking/schema/btc-staking.json index e59535a9..724e2ccf 100644 --- a/contracts/btc-staking/schema/btc-staking.json +++ b/contracts/btc-staking/schema/btc-staking.json @@ -1,6 +1,6 @@ { "contract_name": "btc-staking", - "contract_version": "0.8.0", + "contract_version": "0.9.0", "idl_version": "1.0.0", "instantiate": { "$schema": "http://json-schema.org/draft-07/schema#", diff --git a/contracts/op-finality-gadget/schema/op-finality-gadget.json b/contracts/op-finality-gadget/schema/op-finality-gadget.json index 0a4a0210..e03ab3cb 100644 --- a/contracts/op-finality-gadget/schema/op-finality-gadget.json +++ b/contracts/op-finality-gadget/schema/op-finality-gadget.json @@ -1,6 +1,6 @@ { "contract_name": "op-finality-gadget", - "contract_version": "0.8.0", + "contract_version": "0.9.0", "idl_version": "1.0.0", "instantiate": { "$schema": "http://json-schema.org/draft-07/schema#", diff --git a/scripts/update_changelog.sh b/scripts/update_changelog.sh index afd98d79..dc64dddd 100755 --- a/scripts/update_changelog.sh +++ b/scripts/update_changelog.sh @@ -70,10 +70,11 @@ echo "Git version tag: $TAG" cp CHANGELOG.md /tmp/CHANGELOG.md.$$ # Consolidate tag for matching changelog entries -TAG=$(echo "$TAG" | sed -e 's/-\([A-Za-z]*\)[^A-Za-z]*/-\1/' -e 's/-$//') +TAG=$(echo "$TAG" | sed -e 's/-[^-]*$//') echo "Consolidated tag: $TAG" sed -i -n "/^## \\[${TAG}[^]]*\\]/,\$p" CHANGELOG.md +echo github_changelog_generator -u $GITHUB_USER -p $GITHUB_REPO --base CHANGELOG.md $ORIGINAL_OPTS github_changelog_generator -u $GITHUB_USER -p $GITHUB_REPO --base CHANGELOG.md $ORIGINAL_OPTS || cp /tmp/CHANGELOG.md.$$ CHANGELOG.md if [ -n "$UPCOMING_TAG" ]