[#1210] Release 0.2.0 (541)
This commit is contained in:
parent
f61f7d09c7
commit
dcd2cbd177
|
@ -9,6 +9,9 @@ directly impact users rather than highlighting other key architectural updates.*
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.2.0 (541)] - 2024-01-30
|
||||
- Update the Zcash SDK dependency to version 2.0.5, which improves the performance of block synchronization
|
||||
|
||||
## [0.2.0 (540)] - 2024-01-27
|
||||
|
||||
### Added
|
||||
|
|
|
@ -188,7 +188,7 @@ ZCASH_BIP39_VERSION=1.0.7
|
|||
ZXING_VERSION=3.5.2
|
||||
|
||||
# WARNING: Ensure a non-snapshot version is used before releasing to production.
|
||||
ZCASH_SDK_VERSION=2.0.4
|
||||
ZCASH_SDK_VERSION=2.0.5-SNAPSHOT
|
||||
|
||||
# Toolchain is the Java version used to build the application, which is separate from the
|
||||
# Java version used to run the application.
|
||||
|
|
|
@ -3,7 +3,6 @@ package co.electriccoin.zcash.ui.screen.send.ext
|
|||
import androidx.test.filters.SmallTest
|
||||
import cash.z.ecc.android.sdk.fixture.WalletAddressFixture
|
||||
import co.electriccoin.zcash.ui.test.getAppContext
|
||||
import kotlinx.coroutines.ExperimentalCoroutinesApi
|
||||
import kotlinx.coroutines.test.runTest
|
||||
import org.junit.Test
|
||||
import kotlin.test.assertEquals
|
||||
|
@ -11,28 +10,26 @@ import kotlin.test.assertEquals
|
|||
class WalletAddressExtTest {
|
||||
@Test
|
||||
@SmallTest
|
||||
@OptIn(ExperimentalCoroutinesApi::class)
|
||||
fun testAbbreviatedSaplingAddress() =
|
||||
runTest {
|
||||
val actual = WalletAddressFixture.sapling().abbreviated(getAppContext())
|
||||
|
||||
// TODO [#248]: The expected value should probably be reversed if the locale is RTL
|
||||
// TODO [#248]: https://github.com/Electric-Coin-Company/zashi-android/issues/248
|
||||
val expected = "zs1hf…skt4u"
|
||||
val expected = "zs1vp…ee5k0"
|
||||
|
||||
assertEquals(expected, actual)
|
||||
}
|
||||
|
||||
@Test
|
||||
@SmallTest
|
||||
@OptIn(ExperimentalCoroutinesApi::class)
|
||||
fun testAbbreviatedTransparentAddress() =
|
||||
runTest {
|
||||
val actual = WalletAddressFixture.transparent().abbreviated(getAppContext())
|
||||
|
||||
// TODO [#248]: The expected value should probably be reversed if the locale is RTL
|
||||
// TODO [#248]: https://github.com/Electric-Coin-Company/zashi-android/issues/248
|
||||
val expected = "t1QZM…3CSPK"
|
||||
val expected = "t1dRJ…1QmGz"
|
||||
|
||||
assertEquals(expected, actual)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue