diff --git a/data/common/src/test/kotlin/com/tangem/data/common/currency/UserTokensResponseAddressesEnricherTest.kt b/data/common/src/test/kotlin/com/tangem/data/common/currency/UserTokensResponseAddressesEnricherTest.kt index aed68d658d..77b27593e6 100644 --- a/data/common/src/test/kotlin/com/tangem/data/common/currency/UserTokensResponseAddressesEnricherTest.kt +++ b/data/common/src/test/kotlin/com/tangem/data/common/currency/UserTokensResponseAddressesEnricherTest.kt @@ -81,6 +81,7 @@ class UserTokensResponseAddressesEnricherTest { }, amounts = emptyMap(), pendingTransactions = emptyMap(), + yieldSupplyStatuses = emptyMap(), source = StatusSource.ACTUAL, ), ), @@ -124,6 +125,7 @@ class UserTokensResponseAddressesEnricherTest { }, amounts = emptyMap(), pendingTransactions = emptyMap(), + yieldSupplyStatuses = emptyMap(), source = StatusSource.ACTUAL, ), ), @@ -161,6 +163,7 @@ class UserTokensResponseAddressesEnricherTest { }, amounts = emptyMap(), pendingTransactions = emptyMap(), + yieldSupplyStatuses = emptyMap(), source = StatusSource.ACTUAL, ), ), diff --git a/data/wallet-manager/src/test/java/com/tangem/data/walletmanager/UpdateWalletManagerResultFactoryTest.kt b/data/wallet-manager/src/test/java/com/tangem/data/walletmanager/UpdateWalletManagerResultFactoryTest.kt index 9df3c38d66..4c5c929262 100644 --- a/data/wallet-manager/src/test/java/com/tangem/data/walletmanager/UpdateWalletManagerResultFactoryTest.kt +++ b/data/wallet-manager/src/test/java/com/tangem/data/walletmanager/UpdateWalletManagerResultFactoryTest.kt @@ -188,7 +188,7 @@ internal class UpdateWalletManagerResultFactoryTest { ), currenciesAmounts = setOf( UpdateWalletManagerResult.CryptoCurrencyAmount.Coin(value = BigDecimal.ONE), - UpdateWalletManagerResult.CryptoCurrencyAmount.Token( + UpdateWalletManagerResult.CryptoCurrencyAmount.Token.BasicToken( value = BigDecimal.ZERO, currencyRawId = usdtToken.id?.let(CryptoCurrency::RawID), contractAddress = usdtToken.contractAddress, @@ -416,7 +416,7 @@ internal class UpdateWalletManagerResultFactoryTest { ), currenciesAmounts = setOf( UpdateWalletManagerResult.CryptoCurrencyAmount.Coin(value = BigDecimal.ZERO), - UpdateWalletManagerResult.CryptoCurrencyAmount.Token( + UpdateWalletManagerResult.CryptoCurrencyAmount.Token.BasicToken( value = BigDecimal.ZERO, currencyRawId = usdtToken.id?.let(CryptoCurrency::RawID), contractAddress = usdtToken.contractAddress, @@ -477,7 +477,7 @@ internal class UpdateWalletManagerResultFactoryTest { ), currenciesAmounts = setOf( UpdateWalletManagerResult.CryptoCurrencyAmount.Coin(value = BigDecimal.TEN), - UpdateWalletManagerResult.CryptoCurrencyAmount.Token( + UpdateWalletManagerResult.CryptoCurrencyAmount.Token.BasicToken( value = BigDecimal.TEN, currencyRawId = usdtToken.id?.let(CryptoCurrency::RawID), contractAddress = usdtToken.contractAddress, diff --git a/domain/tokens/src/test/kotlin/com/tangem/domain/tokens/mock/MockNetworks.kt b/domain/tokens/src/test/kotlin/com/tangem/domain/tokens/mock/MockNetworks.kt index 8f3529b210..d856cd5af9 100644 --- a/domain/tokens/src/test/kotlin/com/tangem/domain/tokens/mock/MockNetworks.kt +++ b/domain/tokens/src/test/kotlin/com/tangem/domain/tokens/mock/MockNetworks.kt @@ -97,6 +97,7 @@ internal object MockNetworks { defaultAddress = NetworkAddress.Address(value = "mock", NetworkAddress.Address.Type.Primary), ), source = StatusSource.ACTUAL, + yieldSupplyStatuses = mapOf(), ), ) @@ -113,6 +114,7 @@ internal object MockNetworks { defaultAddress = NetworkAddress.Address(value = "mock", NetworkAddress.Address.Type.Primary), ), source = StatusSource.ACTUAL, + yieldSupplyStatuses = mapOf(), ), ) @@ -130,6 +132,7 @@ internal object MockNetworks { defaultAddress = NetworkAddress.Address(value = "mock", NetworkAddress.Address.Type.Primary), ), source = StatusSource.ACTUAL, + yieldSupplyStatuses = mapOf(), ), ) } \ No newline at end of file diff --git a/domain/tokens/src/test/kotlin/com/tangem/domain/tokens/mock/MockTokensStates.kt b/domain/tokens/src/test/kotlin/com/tangem/domain/tokens/mock/MockTokensStates.kt index 555289ed3d..a9b9b31d66 100644 --- a/domain/tokens/src/test/kotlin/com/tangem/domain/tokens/mock/MockTokensStates.kt +++ b/domain/tokens/src/test/kotlin/com/tangem/domain/tokens/mock/MockTokensStates.kt @@ -156,6 +156,7 @@ internal object MockTokensStates { ).address, yieldBalance = null, sources = CryptoCurrencyStatus.Sources(), + yieldSupplyStatus = null, ) is QuoteStatus.Data -> CryptoCurrencyStatus.Loaded( amount = amount, @@ -167,6 +168,7 @@ internal object MockTokensStates { networkAddress = requireNotNull(networkStatus.value as? NetworkStatus.Verified).address, yieldBalance = null, sources = CryptoCurrencyStatus.Sources(), + yieldSupplyStatus = null, ) } status.copy(value = value) @@ -185,6 +187,7 @@ internal object MockTokensStates { ).address, yieldBalance = null, sources = CryptoCurrencyStatus.Sources(), + yieldSupplyStatus = null, ), ) } diff --git a/features/send-v2/api/src/test/java/com/tangem/features/send/v2/api/subcomponents/feeSelector/utils/FeeCalculationUtilsTest.kt b/features/send-v2/api/src/test/java/com/tangem/features/send/v2/api/subcomponents/feeSelector/utils/FeeCalculationUtilsTest.kt index 76958ee240..7cfd18cb02 100644 --- a/features/send-v2/api/src/test/java/com/tangem/features/send/v2/api/subcomponents/feeSelector/utils/FeeCalculationUtilsTest.kt +++ b/features/send-v2/api/src/test/java/com/tangem/features/send/v2/api/subcomponents/feeSelector/utils/FeeCalculationUtilsTest.kt @@ -172,6 +172,7 @@ class FeeCalculationUtilsTest { hasCurrentNetworkTransactions = false, pendingTransactions = emptySet(), networkAddress = mockk(relaxed = true), + yieldSupplyStatus = null, sources = CryptoCurrencyStatus.Sources(), ) } else { diff --git a/features/wallet/impl/src/test/kotlin/com/tangem/feature/wallet/presentation/wallet/deeplink/DefaultPromoDeeplinkHandlerTest.kt b/features/wallet/impl/src/test/kotlin/com/tangem/feature/wallet/presentation/wallet/deeplink/DefaultPromoDeeplinkHandlerTest.kt index 29a42feb84..e4fde45099 100644 --- a/features/wallet/impl/src/test/kotlin/com/tangem/feature/wallet/presentation/wallet/deeplink/DefaultPromoDeeplinkHandlerTest.kt +++ b/features/wallet/impl/src/test/kotlin/com/tangem/feature/wallet/presentation/wallet/deeplink/DefaultPromoDeeplinkHandlerTest.kt @@ -795,6 +795,7 @@ class DefaultPromoDeeplinkHandlerTest { amounts = emptyMap(), pendingTransactions = emptyMap(), source = StatusSource.ACTUAL, + yieldSupplyStatuses = emptyMap(), ) return NetworkStatus(network = network, value = value) diff --git a/gradle/tangem_dependencies.toml b/gradle/tangem_dependencies.toml index 8b6c15d617..afd79d14ae 100644 --- a/gradle/tangem_dependencies.toml +++ b/gradle/tangem_dependencies.toml @@ -5,8 +5,8 @@ # https://github.com/tangem/tangem-sdk-android/ # https://github.com/tangem/vico -#tangemBlockchainSdk = "develop-1222" -tangemBlockchainSdk = "0.0.1" # Keep it! - used for local builds +tangemBlockchainSdk = "develop-1225" +#tangemBlockchainSdk = "0.0.1" # Keep it! - used for local builds tangemCardSdk = "develop-561" #tangemCardSdk = "0.0.1" # Keep it! - used for local builds ^ tangemVico = "2.0.0-alpha.25-tangem12"