-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3feeca2
commit e9c0ab2
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
.changelog/unreleased/api-breaking/2137-bank-scope-value-owners.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
* The `Ownership` query in the `x/metadata` module now only returns scopes that have the provided address in the `owners` list [#2137](https://github.com/provenance-io/provenance/issues/2137). | ||
Previously, if an address was the value owner of a scope, but not in the `owners` list, the scope would be returned | ||
by the `Ownership` query when given that address. That is no longer the case. | ||
The `ValueOwnership` query can be to identify scopes with a specific value owner (like before). | ||
If a scope has a value owner that is also in its `owners` list, it will still be returned by both queries. | ||
* The `WriteScope` endpoint now uses the `scope.value_owner_address` differently [#2137](https://github.com/provenance-io/provenance/issues/2137). | ||
If it is empty, it indicates that there is no change to the value owner of the scope and the releated lookups and validation | ||
are skipped. If it isn't empty, the current value owner will be looked up and the coin for the scope will be transferred to | ||
the provided address (assuming signer validation passed). | ||
* An authz grant on `MsgWriteScope` no longer also applies to the `UpdateValueOwners` or `MigrateValueOwner` endpoints [#2137](https://github.com/provenance-io/provenance/issues/2137). |
1 change: 1 addition & 0 deletions
1
.changelog/unreleased/improvements/2137-bank-scope-value-owners.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* Use the bank module to keep track of the value owner of scopes. [#2137](https://github.com/provenance-io/provenance/issues/2137). |