Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when writing balance and TON wallet address #7721

Open
be4zad opened this issue Oct 29, 2024 · 0 comments
Open

Crash when writing balance and TON wallet address #7721

be4zad opened this issue Oct 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@be4zad
Copy link

be4zad commented Oct 29, 2024

When I write both balance and TON network wallet address(DOGS, NOT, etc.), the app crashes. It doesn't crash if only balance or wallet address is written.

Crash logs generated by crDroid rom:

time: 1730197967214
msg: io.tonapi.infrastructure.ClientException: Client error : 406 
stacktrace: io.tonapi.infrastructure.ClientException: Client error : 406 
	at io.tonapi.apis.EmulationApi.emulateMessageToWallet(EmulationApi.kt:401)
	at io.tonapi.apis.EmulationApi.emulateMessageToWallet$default(EmulationApi.kt:390)
	at io.horizontalsystems.tonkit.api.TonApi.estimateFee(TonApi.kt:102)
	at io.horizontalsystems.tonkit.core.TransactionSender.estimateFee(TransactionSender.kt:103)
	at io.horizontalsystems.tonkit.core.TonKit.estimateFee(TonKit.kt:108)
	at io.horizontalsystems.bankwallet.core.adapters.JettonAdapter.estimateFee(JettonAdapter.kt:85)
	at io.horizontalsystems.bankwallet.modules.send.ton.SendTonFeeService.refreshFee(SendTonFeeService.kt:29)
	at io.horizontalsystems.bankwallet.modules.send.ton.SendTonFeeService.setTonAddress(SendTonFeeService.kt:45)
	at io.horizontalsystems.bankwallet.modules.send.ton.SendTonViewModel.handleUpdatedAddressState(SendTonViewModel.kt:168)
	at io.horizontalsystems.bankwallet.modules.send.ton.SendTonViewModel.access$handleUpdatedAddressState(SendTonViewModel.kt:28)
	at io.horizontalsystems.bankwallet.modules.send.ton.SendTonViewModel$2$1.emit(SendTonViewModel.kt:67)
	at io.horizontalsystems.bankwallet.modules.send.ton.SendTonViewModel$2$1.emit(SendTonViewModel.kt:66)
	at kotlinx.coroutines.flow.StateFlowImpl.collect(StateFlow.kt:392)
	at kotlinx.coroutines.flow.StateFlowImpl$collect$1.invokeSuspend(Unknown Source:15)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:585)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:802)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:706)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:693)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@e2c71c7, Dispatchers.Default]

App status:

App Info:
   - Current Time: Oct 29, 2024, 14:11
   - App Version: 0.40.1
   - Device Model: samsung SM-A032F
   - OS Version: Android 13 (33)

Version History:
   - 0.40.1: Oct 22, 2024, 17:27

Wallets Status:
   - Wallet 1:
     - Origin: Created
     - Type: 12 words


Blockchain Status:
   - Bitcoin-BIP84:
     - Sync Mode: Blockchair
     - Synced Until: Oct 29, 2024, 14:10
     - Syncing Peer: N/A
     - Derivation: bip84
     - Sync State: Syncing-0.0
     - Last Block Height: 867913

   - BNB Smart Chain:
     - Last Block Height: 43539511
     - Sync State: Synced
     - Blockchain source: RPC API bsc-dataseed.binance.org
     - Transactions source: Infura, Etherscan

   - Ethereum:
     - Last Block Height: 21070762
     - Sync State: Synced
     - Blockchain source: RPC API api.blocksdecoded.com
     - Transactions source: Infura, Etherscan

   - Tron:
     - Started: true
     - Last Block Height: 66516420
     - Sync State: Synced
     - Chain Parameters Sync State: Synced

   - Ton:
     - Sync State: io.horizontalsystems.tonkit.models.SyncState$Synced@eb66779
     - Event Sync State: io.horizontalsystems.tonkit.models.SyncState$Synced@eb66779
     - Jetton Sync State: io.horizontalsystems.tonkit.models.SyncState$Synced@eb66779

   - Solana:
     - Last Block Height: 276973451
     - Sync State: Synced


App Log:
   - tor status:
     - 1: 2024-10-22 13:58:08.888 Tor enabled
     - 2: 2024-10-22 13:58:57.036 Tor disabled

   - send-tron:
     - 3: 2024-10-26 04:44:45.328 click send button
     - 4: 2024-10-26 04:44:45.338 sending tx
     - 5: 2024-10-26 04:44:46.204 success
     - 6: 2024-10-26 04:57:06.670 click send button
     - 7: 2024-10-26 04:57:06.673 sending tx
     - 8: 2024-10-26 04:57:07.295 success
     - 9: 2024-10-26 06:30:37.696 click send button
     - 10: 2024-10-26 06:30:37.705 sending tx
     - 11: 2024-10-26 06:30:38.423 success
     - 12: 2024-10-29 09:38:51.941 click send button
     - 13: 2024-10-29 09:38:51.998 sending tx
     - 14: 2024-10-29 09:38:52.588 success


Market Last Sync Timestamps:
   - Coins: 1728031883
   - Blockchains: 1727431959
   - Tokens: 1728293624

@be4zad be4zad changed the title Crash when writing DOGS wallet address Crash when writing balance and TON wallet address Oct 30, 2024
@Dianaaiym Dianaaiym added the bug Something isn't working label Nov 1, 2024
@Dianaaiym Dianaaiym removed this from Version 0.41 Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants