-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Updating the SDKs to the stable Protocol 20 release #341
Comments
@EdwinGuayacan FYI, in case you missed this ^ |
There is an additional schema change: the getLedgerEntries RPC response will use liveUntilLedgerSeq rather than expirationLedgerSeq in the final build (ref: stellar/stellar-cli#1029) |
The changes have been implemented and will be released once the next Soroban release comes out! Here are the PRs where the changes have been applied:
|
Hi @miguelnietoa just a heads-up, new quickstart image has been released couple days ago |
Hi @Ifropc, We are about to start testing again and do release once we confirm everything is working well. 😉 |
SDKs need to be updated to adapt to breaking changes that have occurred since Preview 11 (i.e. the current testnet release candidate) coming to Protocol 20.
Summary of Breaking Changes
This is likely irrelevant to SDK maintainers, but do note sandbox mode has been removed from the Soroban CLI (stellar/stellar-cli#983).
XDR
The XDR needs to be updated to stellar/stellar-xdr@6a620d1. This includes a non-trivial list of breaking changes (mostly renames):
BumpFootprintExpirationOp
is nowExtendFootprintTTLOp
and itsledgersToExpire
field is now namedextendTo
, but it serves the same purpose.ContractExecutable.contractExecutableToken
is nowcontractExecutableStellarAsset
SorobanTransactionData.refundableFee
is nowresourceFee
RPC
getEvents
RPC endpoint structure has changed:value: { xdr: string }
is now justvalue: string
(Flatten thegetEvents
response structure stellar/stellar-cli#1015)contractId
will always be a contract strkey (C...
format) if present (The contract ID returned bygetEvents
should be a strkey stellar/stellar-cli#1007)getLedgerEntries
RPC endpoint now includes expiration info (soroban-rpc: Better state expiration support forgetLedgerEntry
stellar/stellar-cli#1010):expirationLedgerSeq
is a string-ifieduint32
present if the requested entries have expirationThe text was updated successfully, but these errors were encountered: