-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
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):
- The
BumpFootprintExpirationOpis nowExtendFootprintTTLOpand itsledgersToExpirefield is now namedextendTo, but it serves the same purpose. ContractExecutable.contractExecutableTokenis nowcontractExecutableStellarAssetSorobanTransactionData.refundableFeeis nowresourceFee- This new fee encompasses the entirety of the Soroban-related resource fees. Note that this is distinct from the "network-inclusion" fee that you would set on your transaction
- see Upgrade XDR to the final, stable testnet version. stellar/js-stellar-base#704 for an example migration
RPC
- The
getEventsRPC endpoint structure has changed:value: { xdr: string }is now justvalue: string(Flatten thegetEventsresponse structure stellar/stellar-cli#1015)contractIdwill always be a contract strkey (C...format) if present (The contract ID returned bygetEventsshould be a strkey stellar/stellar-cli#1007)
- The
getLedgerEntriesRPC endpoint now includes expiration info (soroban-rpc: Better state expiration support forgetLedgerEntrystellar/stellar-cli#1010):expirationLedgerSeqis a string-ifieduint32present if the requested entries have expiration
Metadata
Metadata
Assignees
Labels
No labels