Skip to content
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

Release v10.0.0-soroban.0 #634

Merged
merged 3 commits into from
Jun 28, 2023
Merged

Release v10.0.0-soroban.0 #634

merged 3 commits into from
Jun 28, 2023

Conversation

Shaptic
Copy link
Contributor

@Shaptic Shaptic commented Jun 28, 2023

Preview 10 Release: v10.0.0-soroban.0 (diff)

Breaking Changes

  • Many XDR structures have changed, please refer to the types/next.d.ts diff for details (#633).
  • We have returned to the world in which one transaction contains one operation which contains one host function invocation. This means Operation.invokeHostFunctions is gone and Operation.invokeHostFunction has changed to accept { func, auth }, where func is the correct xdr.HostFunction and auth is a list of xdr.SorobanAuthorizationEntry items that outline the authorization tree for the call stack (#633). Better abstractions for creating an xdr.HostFunction are forthcoming, though you can still refer to Contract.call() for help.

Added

  • A new abstraction for dealing with large integers and ScVals: see ScInt, XdrLargeInt, and scValToBigInt (#620).
  • A new abstraction for converting between native JavaScript types and complex ScVals: see nativeToScVal and scValToNative (#630).
  • We have added two new operations related to state expiration in Soroban: BumpFootprintExpiration and RestoreFootprint. Please refer to their docstrings for details (#633).

cc @piyalbasu @aristidesstaffieri for downstream context

@Shaptic Shaptic requested a review from paulbellamy June 28, 2023 16:50
src/transaction_base.js Outdated Show resolved Hide resolved
@sreuland
Copy link
Contributor

should CHANGELOG be updated to include v10 notes(this pr's description)?

src/transaction_base.js Outdated Show resolved Hide resolved
test/unit/transaction_test.js Outdated Show resolved Hide resolved
@Shaptic Shaptic merged commit 15c4002 into soroban Jun 28, 2023
@Shaptic Shaptic deleted the v10.0.0-soroban.0 branch June 28, 2023 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants