File tree Expand file tree Collapse file tree
src/main/java/org/stellar/javastellarsdkdemoapp Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 2.0.0-beta0
4+ * Bump ` java-stellar-sdk ` from 1.5.0 to 2.0.0-beta0
5+
36## 1.5.0
47* Bump ` java-stellar-sdk ` from 1.4.0 to 1.5.0
58
Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ dependencies {
6666 implementation(" androidx.compose.ui:ui-graphics" )
6767 implementation(" androidx.compose.ui:ui-tooling-preview" )
6868 implementation(" androidx.compose.material3:material3" )
69- implementation(files(" libs/stellar-sdk-android-spi-1.5.0 .jar" ))
70- implementation(" network.lightsail:stellar-sdk:1.5.0 " )
69+ implementation(files(" libs/stellar-sdk-android-spi-2.0.0-beta0 .jar" ))
70+ implementation(" network.lightsail:stellar-sdk:2.0.0-beta0 " )
7171 testImplementation(" junit:junit:4.13.2" )
7272 androidTestImplementation(" androidx.test.uiautomator:uiautomator:2.3.0-alpha03" )
7373 androidTestImplementation(" androidx.test.ext:junit:1.1.5" )
Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ import org.stellar.sdk.xdr.ContractIDPreimage
4848import org.stellar.sdk.xdr.ContractIDPreimage.ContractIDPreimageFromAddress
4949import org.stellar.sdk.xdr.ContractIDPreimageType
5050import org.stellar.sdk.xdr.CreateContractArgs
51- import org.stellar.sdk.xdr.ExtensionPoint
5251import org.stellar.sdk.xdr.HostFunction
5352import org.stellar.sdk.xdr.HostFunctionType
5453import org.stellar.sdk.xdr.Int64
@@ -187,13 +186,13 @@ private fun testSDK(): String {
187186 .readWrite(arrayOf())
188187 .build()
189188 )
190- .readBytes (Uint32 (XdrUnsignedInteger (699 )))
189+ .diskReadBytes (Uint32 (XdrUnsignedInteger (699 )))
191190 .writeBytes(Uint32 (XdrUnsignedInteger (0 )))
192191 .instructions(Uint32 (XdrUnsignedInteger (34567 )))
193192 .build()
194193 )
195194 .resourceFee(Int64 (100L ))
196- .ext(ExtensionPoint .builder().discriminant(0 ).build())
195+ .ext(SorobanTransactionData . SorobanTransactionDataExt .builder().discriminant(0 ).build())
197196 .build()
198197 val sorobanDataString = sorobanData.toXdrBase64()
199198
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ plugins {
99}
1010
1111group = " network.lightsail"
12- version = " 1.5.0 "
12+ version = " 2.0.0-beta0 "
1313
1414java {
1515 sourceCompatibility = JavaVersion .VERSION_1_8
@@ -31,7 +31,7 @@ repositories {
3131}
3232
3333dependencies {
34- implementation(" network.lightsail:stellar-sdk:1.5.0 " )
34+ implementation(" network.lightsail:stellar-sdk:2.0.0-beta0 " )
3535}
3636
3737tasks {
You can’t perform that action at this time.
0 commit comments