-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:neutron-org/neutron-sdk into feat/i…
…mprove-balances-query
- Loading branch information
Showing
46 changed files
with
4,401 additions
and
195 deletions.
There are no files selected for viewing
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,36 @@ | ||
# Changelog | ||
|
||
## 0.10.0 | ||
|
||
Bindings for [Neutron Dex module](https://docs.neutron.org/neutron/modules/dex/overview/) is added. | ||
|
||
### Added | ||
|
||
* feat: cw dex bindings by @swelf19 in https://github.com/neutron-org/neutron-sdk/pull/120 | ||
|
||
## 0.9.0 | ||
|
||
Now Neutron-SDK supports ICQ and ICTX helpers for different version of Cosmos-SDK and specifically 0.9.0 release | ||
introduces ICQ and ICTX helpers for Cosmos SDK 0.47. | ||
|
||
So if your contract requires interaction with remote chain that uses Cosmos SDK 0.47 you should use helpers from `v047` | ||
packages. | ||
|
||
### Added | ||
|
||
* ICQ helpers for Cosmos SDK 0.47 by @pr0n00gler in https://github.com/neutron-org/neutron-sdk/pull/133 | ||
* Feat: missing tokenfactory bindings by @pr0n00gler in https://github.com/neutron-org/neutron-sdk/pull/128 | ||
* Add grpc option `IncludePoolData` to `QueryUserDeposits` by @sotnikov-s | ||
in https://github.com/neutron-org/neutron-sdk/pull/127 | ||
* Add query for validators signing infos and unbonding delegations query by @albertandrejev | ||
in https://github.com/neutron-org/neutron-sdk/pull/122 | ||
|
||
### Fixed | ||
|
||
* NTRN-201 fix potential overflow during delegations reconstruct by @quasisamurai | ||
in https://github.com/neutron-org/neutron-sdk/pull/132 | ||
|
||
### Changed | ||
|
||
* Remove usage of deprecated `data` field in Neutron SDK ICTX helper for SDK 0.47 chains & update SDK 0.45 helper to | ||
backw compat NTRN-223 by @quasisamurai in https://github.com/neutron-org/neutron-sdk/pull/134 |
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
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,48 @@ | ||
# Migrating | ||
|
||
This guide explains what is needed to upgrade contracts when migrating over releases of`neutron-sdk`. Note that you can | ||
also view the | ||
[complete CHANGELOG](./CHANGELOG.md) to understand the differences. | ||
|
||
## 0.9.0 -> 0.10.0 | ||
|
||
* Update`neutron-sdk`dependencies in Cargo.toml: | ||
|
||
``` | ||
[dependencies] | ||
neutron-sdk = "0.10.0" | ||
# ... | ||
``` | ||
|
||
## 0.8.0 -> 0.9.0 | ||
|
||
* Update`neutron-sdk`dependencies in Cargo.toml: | ||
|
||
``` | ||
[dependencies] | ||
neutron-sdk = "0.9.0" | ||
# ... | ||
``` | ||
|
||
* If you want to use ICQ helpers compatible with Cosmos SDK 0.47, you must use helpers from v047 package now (you don't | ||
need to change the code otherwise): | ||
|
||
```diff | ||
-use neutron_sdk::interchain_queries::v045::queries::{...} | ||
+use neutron_sdk::interchain_queries::v047::queries::{...} | ||
|
||
-use neutron_sdk::interchain_queries::v045::register_queries::{...} | ||
+use neutron_sdk::interchain_queries::v047::register_queries::{...} | ||
|
||
-use neutron_sdk::interchain_queries::v045::types::{...}; | ||
+use neutron_sdk::interchain_queries::v047::types::{...}; | ||
``` | ||
|
||
* Helper for Interchain transactions module `decode_acknowledgement_response` has been moved | ||
from `neutron_sdk::interchain_txs::helpers` package to respective packages for different Cosmos SDK version (`v045` | ||
and `v047` respectively): | ||
|
||
```diff | ||
-use neutron_sdk::interchain_txs::helpers::decode_acknowledgement_response; | ||
+use neutron_sdk::interchain_txs::v047::helpers::decode_acknowledgement_response; | ||
``` |
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
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
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
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
Oops, something went wrong.