Fix wasm zcoin tests failures due to light client unavailability
The following tests are failing most probably due to the lightwallet client used https://pirate.battlefield.earth:8581:
Test 1
https://github.com/KomodoPlatform/komodo-defi-framework/blob/927f84b4e5db6d0a0c8c4cc4b2e5aefdb7a39599/mm2src/coins/z_coin/storage/blockdb/mod.rs#L126
Error:
panicked at 'assertion failed: latest_height.is_ok()', mm2src/coins/z_coin/storage/blockdb/mod.rs:133:9
Test 2
https://github.com/KomodoPlatform/komodo-defi-framework/blob/927f84b4e5db6d0a0c8c4cc4b2e5aefdb7a39599/mm2src/coins/z_coin/tx_streaming_tests/wasm.rs#L15
Error:
RpcClientInitErr(UpdateBlocksCacheErr(GetLiveLightClientError("All the current light clients are unavailable.")))', mm2src/coins/z_coin/tx_streaming_tests/wasm.rs:30:10
Test 3
https://github.com/KomodoPlatform/komodo-defi-framework/blob/ab23c11955a15e1bcc1347a660d514e8e856dfe9/mm2src/mm2_main/src/wasm_tests.rs#L243
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.
cc. @smk762, our proxied lightwalletd servers seems not be working anymore for long now.
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
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.
Confirmed wasm activation of z-coins still failing on latest dev. Will retry resolution this week.
Any update on this @smk762 ? Is ARRR still not working on wasm?