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

Fix wasm zcoin tests failures due to light client unavailability #2366

Open
shamardy opened this issue Feb 19, 2025 · 3 comments
Open

Fix wasm zcoin tests failures due to light client unavailability #2366

shamardy opened this issue Feb 19, 2025 · 3 comments
Assignees
Labels
bug: tests priority: urgent Critical tasks requiring immediate action.

Comments

@shamardy
Copy link
Collaborator

The following tests are failing most probably due to the lightwallet client used https://pirate.battlefield.earth:8581:


Test 1

Error:

panicked at 'assertion failed: latest_height.is_ok()', mm2src/coins/z_coin/storage/blockdb/mod.rs:133:9


Test 2

async fn test_zcoin_tx_streaming() {

Error:

RpcClientInitErr(UpdateBlocksCacheErr(GetLiveLightClientError("All the current light clients are unavailable.")))', mm2src/coins/z_coin/tx_streaming_tests/wasm.rs:30:10


Test 3

async fn activate_z_coin_light() {

Error:

panicked at 'ARRR initialization error Object({"error": String("Error on platform coin ARRR creation: All the current light clients are unavailable."), "error_path": String("lib.z_coin_activation.z_coin.z_rpc"), "error_trace": String("lib:104] z_coin_activation:248] z_coin:927] z_rpc:523] z_rpc:191]"), "error_type": String("CoinCreationError"), "error_data": Object({"ticker": String("ARRR"), "error": String("All the current light clients are unavailable.")})})', /home/runner/work/komodo-defi-framework/komodo-defi-framework/mm2src/mm2_test_helpers/src/for_tests.rs:3818:42


These tests were commented out in PR #2365 to have a green CI until they are fixed.

@shamardy shamardy added priority: urgent Critical tasks requiring immediate action. bug: tests labels Feb 19, 2025
@borngraced borngraced self-assigned this Feb 19, 2025
@borngraced
Copy link
Member

borngraced commented Feb 19, 2025

cc. @smk762, our proxied lightwalletd servers seems not be working anymore for long now.

@cipig
Copy link
Member

cipig commented Feb 19, 2025

cc. @smk762, our proxied lightwalletd servers seems not be working anymore for long now.

there are more in https://github.com/KomodoPlatform/coins/blob/master/light_wallet_d/ARRR

@shamardy
Copy link
Collaborator Author

there are more in https://github.com/KomodoPlatform/coins/blob/master/light_wallet_d/ARRR

These are for native clients most probably, lightwalletds that support wasm clients are proxied ones.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug: tests priority: urgent Critical tasks requiring immediate action.
Projects
None yet
Development

No branches or pull requests

3 participants