The upstream stellar/stellar-xdr curr branch has changes that are not yet reflected in this SDK.
Pinned commit: 0a56f5b
Latest upstream: 0e4b099
Commits behind: 1
Compare: 0a56f5b...0e4b099
Changed .x files
Stellar-ledger-entries.x: +2 / -1 lines
Stellar-transaction.x: +28 / -1 lines
Diffs
Stellar-ledger-entries.x
diff --git a/Stellar-ledger-entries.x b/Stellar-ledger-entries.x
index b9a9a16..348311c 100644
--- a/Stellar-ledger-entries.x
+++ b/Stellar-ledger-entries.x
@@ -664,7 +664,8 @@ enum EnvelopeType
ENVELOPE_TYPE_OP_ID = 6,
ENVELOPE_TYPE_POOL_REVOKE_OP_ID = 7,
ENVELOPE_TYPE_CONTRACT_ID = 8,
- ENVELOPE_TYPE_SOROBAN_AUTHORIZATION = 9
+ ENVELOPE_TYPE_SOROBAN_AUTHORIZATION = 9,
+ ENVELOPE_TYPE_SOROBAN_AUTHORIZATION_WITH_ADDRESS = 10
};
enum BucketListType
Stellar-transaction.x
diff --git a/Stellar-transaction.x b/Stellar-transaction.x
index adce33d..11cacd7 100644
--- a/Stellar-transaction.x
+++ b/Stellar-transaction.x
@@ -569,11 +569,25 @@ struct SorobanAddressCredentials
SCVal signature;
};
+struct SorobanDelegateSignature
+{
+ SCAddress address;
+ SCVal signature;
+ SorobanDelegateSignature nestedDelegates<>;
+};
+
+struct SorobanAddressCredentialsWithDelegates
+{
+ SorobanAddressCredentials addressCredentials;
+ SorobanDelegateSignature delegates<>;
+};
enum SorobanCredentialsType
{
SOROBAN_CREDENTIALS_SOURCE_ACCOUNT = 0,
- SOROBAN_CREDENTIALS_ADDRESS = 1
+ SOROBAN_CREDENTIALS_ADDRESS = 1,
+ SOROBAN_CREDENTIALS_ADDRESS_V2 = 2,
+ SOROBAN_CREDENTIALS_ADDRESS_WITH_DELEGATES = 3
};
union SorobanCredentials switch (SorobanCredentialsType type)
@@ -582,6 +596,10 @@ case SOROBAN_CREDENTIALS_SOURCE_ACCOUNT:
void;
case SOROBAN_CREDENTIALS_ADDRESS:
SorobanAddressCredentials address;
+case SOROBAN_CREDENTIALS_ADDRESS_V2:
+ SorobanAddressCredentials addressV2;
+case SOROBAN_CREDENTIALS_ADDRESS_WITH_DELEGATES:
+ SorobanAddressCredentialsWithDelegates addressWithDelegates;
};
/* Unit of authorization data for Soroban.
@@ -732,6 +750,15 @@ case ENVELOPE_TYPE_SOROBAN_AUTHORIZATION:
uint32 signatureExpirationLedger;
SorobanAuthorizedInvocation invocation;
} sorobanAuthorization;
+case ENVELOPE_TYPE_SOROBAN_AUTHORIZATION_WITH_ADDRESS:
+ struct
+ {
+ Hash networkID;
+ int64 nonce;
+ uint32 signatureExpirationLedger;
+ SCAddress address;
+ SorobanAuthorizedInvocation invocation;
+ } sorobanAuthorizationWithAddress;
};
enum MemoType
Required actions
- Update
XDR_COMMIT in tools/xdrgen-kt/xdr-source.cfg to 0e4b09985791e4b0e3f4cb04783e0873f4b3e101
- If new
.x files were added upstream, add them to XDR_FILES in xdr-source.cfg
- Run
make -C tools/xdrgen-kt clean-all generate to re-download and regenerate Kotlin XDR types
- Run
make -C tools/xdrgen-kt test to verify snapshot tests pass (update snapshots if needed)
- Build and run unit tests:
./gradlew :stellar-sdk:jvmTest -PexcludeIntegrationTests
- If the XDR changes introduce new types or modify existing ones, evaluate whether the SDK needs updated high-level APIs (operation builders, SEP implementations, etc.)
- Update the changelog with any breaking changes or new features
This issue was created automatically by the XDR update check workflow.
The upstream
stellar/stellar-xdrcurrbranch has changes that are not yet reflected in this SDK.Pinned commit:
0a56f5bLatest upstream:
0e4b099Commits behind: 1
Compare: 0a56f5b...0e4b099
Changed .x files
Stellar-ledger-entries.x: +2 / -1 linesStellar-transaction.x: +28 / -1 linesDiffs
Stellar-ledger-entries.x
Stellar-transaction.x
Required actions
XDR_COMMITintools/xdrgen-kt/xdr-source.cfgto0e4b09985791e4b0e3f4cb04783e0873f4b3e101.xfiles were added upstream, add them toXDR_FILESinxdr-source.cfgmake -C tools/xdrgen-kt clean-all generateto re-download and regenerate Kotlin XDR typesmake -C tools/xdrgen-kt testto verify snapshot tests pass (update snapshots if needed)./gradlew :stellar-sdk:jvmTest -PexcludeIntegrationTestsThis issue was created automatically by the XDR update check workflow.