Skip to content
New issue

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

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

Already on GitHub? # to your account

Put UTXOs Rust error: Network type mismatch #1656

Open
4 tasks done
HonzaR opened this issue Oct 25, 2024 · 2 comments
Open
4 tasks done

Put UTXOs Rust error: Network type mismatch #1656

HonzaR opened this issue Oct 25, 2024 · 2 comments

Comments

@HonzaR
Copy link
Collaborator

HonzaR commented Oct 25, 2024

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

  • Add a new check on the network type into the related Rust method
  • Turn SDK proguard off for the next release to test its behavior
  • Add a new line with Network Type to the email template so we’re 100% sure that the Zashi built-in network type is correct
  • Test sending from Kraken account for us to test sending from them to Zashi

Alternatives you've considered

Additional context

java.lang.RuntimeException: Error while inserting UTXO: Data DB is corrupted: Network type mismatch
at cash.z.ecc.android.sdk.internal.jni.RustBackend.putUtxo(Native Method)
at cash.z.ecc.android.sdk.internal.jni.RustBackend.access$putUtxo(Unknown Source:0)
at cash.z.ecc.android.sdk.internal.jni.RustBackend$putUtxo$2.invokeSuspend(Unknown Source:30)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:112)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:920)

Internal resources:

@HonzaR HonzaR changed the title Put UTXOs Rust error: Network type mismatch Put UTXOs Rust error: Network type mismatch Oct 25, 2024
HonzaR added a commit that referenced this issue Oct 25, 2024
* [#1640] Enable app entry authentication

* Reworked app launch UX/UI

* 15 min background reauthenticate trigger

* Changelogs update

* Disable app entry authentication on test services

* [#1656] Add Network Type to email template

* Address review comments
@HonzaR
Copy link
Collaborator Author

HonzaR commented Oct 29, 2024

Sending transparent funds from a Kraken account to a Zashi wallet did not cause problems and worked as expected.

@HonzaR
Copy link
Collaborator Author

HonzaR commented Nov 4, 2024

Closing this waits for the latest Rust crates bump in SDK.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant