Protocol 23 release candidate 1
Pre-release
Pre-release
·
198 commits
to master
since this release
This is the first release candidate for the Stellar Protocol 23 support. See #112
Horizon updates:
- remove deprecated fields
numArchivedContractsandarchivedContractsAmountfromAssetResponse - add new field
destinationMuxedIdtoAssetBalanceChange - remove deprecated field
errorResultXdrBase64fromSubmitTransactionAsyncResponse
Soroban rpc:
- add new
authModefield toSimulateTransactionRequest - extend
GetTransactionResponseandGetTransactionsResponseto support the new fieldevents(TransactionEvents) holding the diagnostic, transaction and contract events. - extend
GetEventsResponseaddlatestLedgerCloseTime,oldestLedgerandoldestLedgerCloseTimefields. - remove
pagingTokenfromGetEventsResponse - extend
EventInfoadd new fieldsopIndexandtxIndex - add the new
extfield toLedgerEntryfromGetLedgerEntriesResponse - extend testing for parsing the different kinds of events returned in
GetTransactionResponseandGetTransactionsResponse
StrKey:
- add support for
StrKeyclaimable balance ids ("B...") - add support for
StrKeyliquidity pool ids ("L...") - accept
StrKeyclaimable balance ids ("B...") in:ClaimClaimableBalanceOperation,ClawbackClaimableBalanceOperation,ClaimableBalancesRequestBuilder,OperationsRequestBuilder,TransactionsRequestBuilderRevokeSponsorshipOperation,XdrSCAddress,XdrLedgerKey,XdrClaimableBalanceID, andTxRep - accept
StrKeyliquidity pool ids ("L...") inLiquidityPoolDepositOperation,LiquidityPoolWithdrawOperation,LiquidityPoolsRequestBuilder,OperationsRequestBuilder,TradesRequestBuilder,AccountsRequestBuilder,EffectsRequestBuilder,LiquidityPoolTradesRequestBuilder,TransactionsRequestBuilder,XdrSCAddress,XdrLedgerKeyandTxRep - add a new
StrKeytest case (StrKeyTest). - extend
amm,claimable_balanceandquerytest cases for the newStrKeyclaimable balance ids and liquidity pool ids
XDR changes:
- extend
XdrSCAddressandXdrSCAddressTypeto support muxed accounts, claimable balance ids and liquidity pool ids - extend
XdrSCSpecTypeto support muxed account addresses XdrTransactionMeta: add transaction meta v4 support toXdrTransactionMeta, addXdrTransactionMetaV4,XdrOperationMetaV2andXdrTransactionEvent- extend
XdrContractCostTypeto support the new cost types XdrSCSpecEntry: add support for spec events (XdrSCSpecEventV0). AddXdrSCSpecEventV0,XdrSCSpecEventParamV0,XdrSCSpecEventDataFormatandXdrSCSpecEventParamLocationV0XdrSorobanTransactionData: add support for indices representing what Soroban entries in the footprint are archived (addXdrSorobanTransactionDataExt,XdrSorobanResourcesExtV0)- add
restoredcase toXdrLedgerEntryChange XdrConfigSettingContractLedgerCostV0: renametxMaxReadLedgerEntriestotxMaxDiskReadEntries,ledgerMaxDiskReadBytestotxMaxDiskReadBytes,feeReadLedgerEntrytofeeDiskReadLedgerEntry,feeRead1KBtofeeDiskRead1KB,bucketListTargetSizeBytestosorobanStateTargetSizeBytes,writeFee1KBBucketListLowtorentFee1KBSorobanStateSizeLow,writeFee1KBBucketListHightorentFee1KBSorobanStateSizeHigh,bucketListWriteFeeGrowthFactortosorobanStateRentFeeGrowthFactor- extend
XdrConfigSettingEntrywith new cases forcontractParallelCompute,contractLedgerCostExtandcontractSCPTiming - rename
bucketListSizeWindowcase inXdrConfigSettingEntrytoliveSorobanStateSizeWindow - add
XdrConfigSettingContractParallelComputeV0,XdrConfigSettingContractLedgerCostExtV0andXdrConfigSettingSCPTiming XdrStateArchivalSettings: renamebucketListSizeWindowSampleSizetoliveSorobanStateSizeWindowSampleSizeandbucketListWindowSamplePeriodtoliveSorobanStateSizeWindowSamplePeriodXdrConfigSettingID: add new cases forcontractParallelComputeV0,contractLedgerCostExtV0andscpTiming, renamebucketListSizeWindowcase toliveSorobanStateSizeWindow
SEP-11 (TxRep):
- update
TxRepto support new address types for muxed accounts, claimable balances and liquidity pools. - accept new
StrKeyclaimable balance ids ("B...") - accept new
StrKeyliquidity pool ids ("L...") - rename
readBytestodiskReadBytesforXdrSorobanResources.TxRepcan still read the old version (readBytes) but writesdiskReadBytesnow. - rename
CONFIG_SETTING_BUCKETLIST_SIZE_WINDOWtoCONFIG_SETTING_LIVE_SOROBAN_STATE_SIZE_WINDOW
forConfigSettingID. TxRep can still read the old value (CONFIG_SETTING_BUCKETLIST_SIZE_WINDOW) but writesCONFIG_SETTING_LIVE_SOROBAN_STATE_SIZE_WINDOWnow. - add support for
CONFIG_SETTING_CONTRACT_PARALLEL_COMPUTE_V0,CONFIG_SETTING_CONTRACT_LEDGER_COST_EXT_V0,CONFIG_SETTING_SCP_TIMING - add support for
XdrSorobanResourcesextension holding indices representing what Soroban entries in the footprint are archived.
Other improvements:
- extend
Addressclass to support new address types for muxed accounts, claimable balances and liquidity pools. - SEP-02: Improve federation test
- improve soroban test cases