Skip to content

Commit

Permalink
fix(x/group): rename group's legacy ORM error codespace to prevent co…
Browse files Browse the repository at this point in the history
…… (backport #17146) (#17148)
  • Loading branch information
mergify[bot] authored Jul 26, 2023
1 parent efc0b6c commit 9492cf3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ Ref: https://keepachangelog.com/en/1.0.0/
* (x/group, x/gov) [#17109](https://github.com/cosmos/cosmos-sdk/pull/17109) Let proposal summary be 40x longer than metadata limit.
* (version) [#17096](https://github.com/cosmos/cosmos-sdk/pull/17096) Improve `getSDKVersion()` to handle module replacements.

### Bug Fixes

* (x/group) [#17146](https://github.com/cosmos/cosmos-sdk/pull/17146) Rename x/group legacy ORM package's error codespace from "orm" to "legacy_orm", preventing collisions with ORM's error codespace "orm".

### CLI Breaking Changes

* (rosetta) [#16276](https://github.com/cosmos/cosmos-sdk/issues/16276) Rosetta migration to standalone repo.
Expand Down
2 changes: 1 addition & 1 deletion x/group/errors/orm.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package errors
import "cosmossdk.io/errors"

// mathCodespace is the codespace for all errors defined in orm package
const ormCodespace = "orm"
const ormCodespace = "legacy_orm"

var (
// ErrORMIteratorDone defines an error when an iterator is done
Expand Down

0 comments on commit 9492cf3

Please sign in to comment.