atomicDEX-API icon indicating copy to clipboard operation
atomicDEX-API copied to clipboard

Fix wasm zcoin tests failures due to light client unavailability

Open shamardy opened this issue 10 months ago • 5 comments

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.

shamardy avatar Feb 19 '25 13:02 shamardy

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

borngraced avatar Feb 19 '25 13:02 borngraced

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

cipig avatar Feb 19 '25 13:02 cipig

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.

shamardy avatar Feb 19 '25 13:02 shamardy

Confirmed wasm activation of z-coins still failing on latest dev. Will retry resolution this week.

smk762 avatar May 07 '25 01:05 smk762

Any update on this @smk762 ? Is ARRR still not working on wasm?

shamardy avatar Jul 04 '25 06:07 shamardy