-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration support: "v12" to "v13" (April 2024) #392
Comments
1 / Non-breaking change: new
|
2 / Non-breaking change: new way of performing contract queriesThe existing (legacy) approaches are still working. Before:
Or using the interaction API:
Now:
References |
3 / Non-breaking change: new way of parsing outcome of transactionsThe existing (legacy) approaches are still available. Smart Contract transactions
Token management transactions
ReferencesFor the rest of outcome parsers & more details, check out: |
4 / Non-breaking change: constructor and properties of
|
5 / Small breaking change on
|
6 / Non-breaking (in practice) change: default transaction version is now 2, instead of 1That is, when you create a Generally speaking, this should not be a breaking change within client code. Overriding the transaction version is possible. References |
7 / Non-breaking change: pass a transaction hash to
|
8 / Non-breaking change:
|
9 / Non-breaking change: serializing objects for signingThe legacy method
Furthermore, the class References |
10 / Formatting and parsing amountsFor formatting or parsing token amounts as numbers (with fixed number of decimals), do not rely on sdk-core. Instead, use References |
11 / Breaking change (trivial):
|
12 / Small (trivial) breaking change:
|
13 / Breaking (fixing) change:
|
14 / Breaking change when passing
|
Here, we describe the main steps for migrating from sdk-core v12 to sdk-core v13.
💡 For any questions about the migration, feel free to leave a comment 🙏 💡
When transitioning from v12 to v13, you should encounter little to no breaking changes.
However, we've introduced new approaches of creating transactions (transfers, smart contract transactions, token management operations, delegation operations), performing contract queries, and parsing transaction outcome. These new approaches are (mostly) in line with our newest SDK specs, and we recommend you to use them whenever possible.
Legacy methods are still available - though, at some point into the future, they will be marked as deprecated.
References:
The text was updated successfully, but these errors were encountered: