Skip to content

[PWN-9375] Remove rounding for balance on Wallet and Crypto screens #1237

[PWN-9375] Remove rounding for balance on Wallet and Crypto screens

[PWN-9375] Remove rounding for balance on Wallet and Crypto screens #1237

GitHub Actions / Xcode test results failed Jul 25, 2023 in 0s

Xcode test results

Build Summary

Compile CheckTransitTokenAccountTests.swift (x86_64)
Compile DirectSwapTransactionBuilderTests.swift (x86_64)
Compile TransitiveSwapTransactionBuilderWithCreatedTransitTokenTests.swift (x86_64)
Compile TransitiveSwapTransactionBuilderWithNonCreatedTransitTokenTests.swift (x86_64)
Compile RelayTests.swift (x86_64)
Compile TopUpTransactionBuilderWithDirectSwapTests.swift (x86_64)
Compile TopUpTransactionBuilderWithTransitiveSwapWithFreeTransactionsTests.swift (x86_64)
Compile TopUpTransactionBuilderWithTransitiveSwapWithOutFreeTransactionsTests.swift (x86_64)
Compile UsageStatusTests.swift (x86_64)
Emitting module for KeyAppBusinessTests
warning: Deprecation: 'AccountInfo' is deprecated: renamed to 'SPLTokenAccountState'
warning: Deprecation: 'AccountInfo' is deprecated: renamed to 'SPLTokenAccountState'
error: Swift Compiler Error: Type 'MockTokensRepository' does not conform to protocol 'TokenRepository'
warning: Deprecation: 'AccountInfo' is deprecated: renamed to 'SPLTokenAccountState'

KeyAppKit/Tests/UnitTests/KeyAppBusinessTests/Helper/MockSolanaAPIClientBase.swift:85:61: warning: 'AccountInfo' is deprecated: renamed to 'SPLTokenAccountState'
    ) async throws -> [SolanaSwift.TokenAccount<SolanaSwift.AccountInfo>] {
                                                            ^
KeyAppKit/Tests/UnitTests/KeyAppBusinessTests/Helper/MockSolanaAPIClientBase.swift:85:61: note: use 'SPLTokenAccountState' instead
    ) async throws -> [SolanaSwift.TokenAccount<SolanaSwift.AccountInfo>] {
                                                            ^~~~~~~~~~~
                                                            SPLTokenAccountState
KeyAppKit/Tests/UnitTests/KeyAppBusinessTests/Helper/MockSolanaAPIClientBase.swift:93:61: warning: 'AccountInfo' is deprecated: renamed to 'SPLTokenAccountState'
    ) async throws -> [SolanaSwift.TokenAccount<SolanaSwift.AccountInfo>] {
                                                            ^
KeyAppKit/Tests/UnitTests/KeyAppBusinessTests/Helper/MockSolanaAPIClientBase.swift:93:61: note: use 'SPLTokenAccountState' instead
    ) async throws -> [SolanaSwift.TokenAccount<SolanaSwift.AccountInfo>] {
                                                            ^~~~~~~~~~~
                                                            SPLTokenAccountState
KeyAppKit/Tests/UnitTests/KeyAppBusinessTests/Helper/MockTokensRepository.swift:4:8: error: type 'MockTokensRepository' does not conform to protocol 'TokenRepository'
struct MockTokensRepository: TokenRepository {
       ^
KeyAppKit/Tests/UnitTests/KeyAppBusinessTests/Helper/MockTokensRepository.swift:4:8: note: do you want to add protocol stubs?
struct MockTokensRepository: TokenRepository {
       ^
KeyAppKit/Tests/UnitTests/KeyAppBusinessTests/Solana/SolanaAccountsServiceTests.swift:104:37: warning: 'AccountInfo' is deprecated: renamed to 'SPLTokenAccountState'
    ) async throws -> [TokenAccount<AccountInfo>] {
                                    ^
KeyAppKit/Tests/UnitTests/KeyAppBusinessTests/Solana/SolanaAccountsServiceTests.swift:104:37: note: use 'SPLTokenAccountState' instead
    ) async throws -> [TokenAccount<AccountInfo>] {
                                    ^~~~~~~~~~~
                                    SPLTokenAccountState

Compile APIGatewayClientImplTests.swift (x86_64)
Compile CryptoTests.swift (x86_64)
Compile DeviceShareMigrationServiceTests.swift (x86_64)
Compile WalletMetaDataTests.swift (x86_64)
Compile WalletMetadataServiceImplTests.swift (x86_64)
Compiling E164NumbersTests.swift, OnboardingStateMachineTests.swift
error: Command SwiftCompile failed with a nonzero exit code

Command SwiftCompile failed with a nonzero exit code

Annotations

Check failure on line 85 in KeyAppKit/Tests/UnitTests/KeyAppBusinessTests/Helper/MockSolanaAPIClientBase.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

warning

'AccountInfo' is deprecated: renamed to 'SPLTokenAccountState'

Check failure on line 93 in KeyAppKit/Tests/UnitTests/KeyAppBusinessTests/Helper/MockSolanaAPIClientBase.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

warning

'AccountInfo' is deprecated: renamed to 'SPLTokenAccountState'

Check failure on line 4 in KeyAppKit/Tests/UnitTests/KeyAppBusinessTests/Helper/MockTokensRepository.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

Type 'MockTokensRepository' does not conform to protocol 'TokenRepository'

Check failure on line 104 in KeyAppKit/Tests/UnitTests/KeyAppBusinessTests/Solana/SolanaAccountsServiceTests.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

warning

'AccountInfo' is deprecated: renamed to 'SPLTokenAccountState'