From 3f503860ebab76947d5100eb5560859af2d22838 Mon Sep 17 00:00:00 2001 From: John Letey Date: Fri, 5 Jul 2024 17:34:22 +0200 Subject: [PATCH] feat: prepare `v5.0.0` (#386) --- .../dependencies/385-cosmos-sdk.md | 0 .../features/380-fast-blocks.md | 0 .../improvements/271-module-path.md | 0 .changelog/v5.0.0/summary.md | 10 ++++++++ CHANGELOG.md | 25 +++++++++++++++++++ app/app.go | 6 ++--- app/upgrades/krypton/store.go | 2 +- app/upgrades/krypton/upgrade.go | 6 ++--- go.mod | 2 +- go.sum | 4 +-- 10 files changed, 45 insertions(+), 10 deletions(-) rename .changelog/{unreleased => v5.0.0}/dependencies/385-cosmos-sdk.md (100%) rename .changelog/{unreleased => v5.0.0}/features/380-fast-blocks.md (100%) rename .changelog/{unreleased => v5.0.0}/improvements/271-module-path.md (100%) create mode 100644 .changelog/v5.0.0/summary.md diff --git a/.changelog/unreleased/dependencies/385-cosmos-sdk.md b/.changelog/v5.0.0/dependencies/385-cosmos-sdk.md similarity index 100% rename from .changelog/unreleased/dependencies/385-cosmos-sdk.md rename to .changelog/v5.0.0/dependencies/385-cosmos-sdk.md diff --git a/.changelog/unreleased/features/380-fast-blocks.md b/.changelog/v5.0.0/features/380-fast-blocks.md similarity index 100% rename from .changelog/unreleased/features/380-fast-blocks.md rename to .changelog/v5.0.0/features/380-fast-blocks.md diff --git a/.changelog/unreleased/improvements/271-module-path.md b/.changelog/v5.0.0/improvements/271-module-path.md similarity index 100% rename from .changelog/unreleased/improvements/271-module-path.md rename to .changelog/v5.0.0/improvements/271-module-path.md diff --git a/.changelog/v5.0.0/summary.md b/.changelog/v5.0.0/summary.md new file mode 100644 index 00000000..f7dbd7a0 --- /dev/null +++ b/.changelog/v5.0.0/summary.md @@ -0,0 +1,10 @@ +*Jul 5, 2024* + +This is the Krypton major release of Noble. It introduces a new `x/aura` module +that enables the native issuance of [Ondo's US Dollar Yield (**USDY**)][usdy] +asset. USDY is a tokenized note secured by short-term US Treasuries and bank +demand deposits. + +Other notable changes are documented below. + +[usdy]: https://ondo.finance/usdy diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d3ff44f..f09c1f5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,30 @@ # CHANGELOG +## v5.0.0 + +*Jul 5, 2024* + +This is the Krypton major release of Noble. It introduces a new `x/aura` module +that enables the native issuance of [Ondo's US Dollar Yield (**USDY**)][usdy] +asset. USDY is a tokenized note secured by short-term US Treasuries and bank +demand deposits. + +Other notable changes are documented below. + +[usdy]: https://ondo.finance/usdy + +### DEPENDENCIES + +- Switch to Noble's Cosmos SDK fork ([`v0.45.16-send-restrictions`](https://github.com/noble-assets/cosmos-sdk/releases/tag/v0.45.16-send-restrictions)) that supports send restrictions. ([#385](https://github.com/noble-assets/noble/pull/385)) + +### FEATURES + +- Update the default `commit_timeout` to `500ms` to improve block time. ([#380](https://github.com/noble-assets/noble/pull/380)) + +### IMPROVEMENTS + +- Update module path for v5 release line. ([#271](https://github.com/noble-assets/noble/pull/271)) + ## v4.1.3 *May 10, 2024* diff --git a/app/app.go b/app/app.go index b674357c..62592351 100644 --- a/app/app.go +++ b/app/app.go @@ -113,9 +113,9 @@ import ( forwardingkeeper "github.com/noble-assets/forwarding/x/forwarding/keeper" forwardingtypes "github.com/noble-assets/forwarding/x/forwarding/types" - "github.com/noble-assets/aura/x/aura" - aurakeeper "github.com/noble-assets/aura/x/aura/keeper" - auratypes "github.com/noble-assets/aura/x/aura/types" + "github.com/ondoprotocol/usdy-noble/x/aura" + aurakeeper "github.com/ondoprotocol/usdy-noble/x/aura/keeper" + auratypes "github.com/ondoprotocol/usdy-noble/x/aura/types" ) const ( diff --git a/app/upgrades/krypton/store.go b/app/upgrades/krypton/store.go index 0b1c44a8..c240a481 100644 --- a/app/upgrades/krypton/store.go +++ b/app/upgrades/krypton/store.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" storetypes "github.com/cosmos/cosmos-sdk/store/types" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - auratypes "github.com/noble-assets/aura/x/aura/types" + auratypes "github.com/ondoprotocol/usdy-noble/x/aura/types" ) func CreateStoreLoader(upgradeHeight int64) baseapp.StoreLoader { diff --git a/app/upgrades/krypton/upgrade.go b/app/upgrades/krypton/upgrade.go index 54ac3bb1..88840547 100644 --- a/app/upgrades/krypton/upgrade.go +++ b/app/upgrades/krypton/upgrade.go @@ -8,7 +8,7 @@ import ( bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - aurakeeper "github.com/noble-assets/aura/x/aura/keeper" + aurakeeper "github.com/ondoprotocol/usdy-noble/x/aura/keeper" ) func CreateUpgradeHandler( @@ -28,8 +28,8 @@ func CreateUpgradeHandler( auraKeeper.SetOwner(ctx, "noble1mxe0zwwdvjvn8dg2hnep55q4fc7sqmpud9qsqn") auraKeeper.SetBlocklistOwner(ctx, "noble1mxe0zwwdvjvn8dg2hnep55q4fc7sqmpud9qsqn") case MainnetChainID: - auraKeeper.SetOwner(ctx, "") // TODO - auraKeeper.SetBlocklistOwner(ctx, "") // TODO + auraKeeper.SetOwner(ctx, "noble1t6ypyedl6ggvvlgx3cn6jvy9xpr3p2395m2dg5") + auraKeeper.SetBlocklistOwner(ctx, "noble1t6ypyedl6ggvvlgx3cn6jvy9xpr3p2395m2dg5") default: return vm, fmt.Errorf("%s upgrade not allowed to execute on %s chain", UpgradeName, ctx.ChainID()) } diff --git a/go.mod b/go.mod index 90daf232..8d555006 100644 --- a/go.mod +++ b/go.mod @@ -13,8 +13,8 @@ require ( github.com/golang/protobuf v1.5.3 github.com/gorilla/mux v1.8.0 github.com/grpc-ecosystem/grpc-gateway v1.16.0 - github.com/noble-assets/aura v1.0.0-rc.0 github.com/noble-assets/forwarding v1.1.0 + github.com/ondoprotocol/usdy-noble v1.0.0 github.com/rs/zerolog v1.27.0 github.com/spf13/cast v1.5.1 github.com/spf13/cobra v1.7.0 diff --git a/go.sum b/go.sum index cc185aa5..258a3087 100644 --- a/go.sum +++ b/go.sum @@ -961,8 +961,6 @@ github.com/nishanths/exhaustive v0.11.0 h1:T3I8nUGhl/Cwu5Z2hfc92l0e04D2GEW6e0l8p github.com/nishanths/exhaustive v0.11.0/go.mod h1:RqwDsZ1xY0dNdqHho2z6X+bgzizwbLYOWnZbbl2wLB4= github.com/nishanths/predeclared v0.2.2 h1:V2EPdZPliZymNAn79T8RkNApBjMmVKh5XRpLm/w98Vk= github.com/nishanths/predeclared v0.2.2/go.mod h1:RROzoN6TnGQupbC+lqggsOlcgysk3LMK/HI84Mp280c= -github.com/noble-assets/aura v1.0.0-rc.0 h1:ngEFxynKz5hMmIt5HY59179d9KKzdIjZAkTKbrRlsZs= -github.com/noble-assets/aura v1.0.0-rc.0/go.mod h1:IpxcXBQLqnodYnHPCPx2C2OhpfShfvvSL726u6WvBbk= github.com/noble-assets/cosmos-sdk v0.45.16-send-restrictions h1:oQwbCoejkXp2/ozQSwc//A6UW9wJl71YgP7o04MsYq0= github.com/noble-assets/cosmos-sdk v0.45.16-send-restrictions/go.mod h1:bScuNwWAP0TZJpUf+SHXRU3xGoUPp+X9nAzfeIXts40= github.com/noble-assets/forwarding v1.1.0 h1:2TXBs2Y9vWqgHyDKtdcHht6i7OT+pLaVHE3bPvfpmJY= @@ -977,6 +975,8 @@ github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec= github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= +github.com/ondoprotocol/usdy-noble v1.0.0 h1:uwWFimg10MVF4d6hmh8w5in8Vb9zEqWQpo8Q1FUhCak= +github.com/ondoprotocol/usdy-noble v1.0.0/go.mod h1:2xRUx2R1Utz65tGFieVwlmw0cg87RwzCDlHrteEOFws= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.10.3/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=