-
Notifications
You must be signed in to change notification settings - Fork 120
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
Research a possible integration of zecwallet-light-cli
into Zebra
#4181
Comments
So i went the other way around and left the dependencies as they are for now and added a dirty test in the cli to connect to a lightwalletd server running locally backed with a zebra node. The code for this is at oxarbitrage/zecwallet-light-cli#1 Now, i think those tests found some bugs, or they might be bugs in the tests themselves but i will like to make sure. The test for
And the test for
This is against the current zebra Didn't tested utxos call as it is not merged into main so is not available. When called, the error will be the following which is ok:
there are also other calls that i didn't tested. |
I tested a branch with This not fail but it returns an empty response for a taddress that should have utxos available: Code used: // build an utxo request
let utxos = GetAddressUtxosArg {
addresses: vec!["t3Vz22vK5z2LcKEdg16Yv4FFneEL1zg9ojd".to_string()],
start_height: 1,
max_entries: 0,
};
// success but empty
let response = client.get_address_utxos(utxos).await.unwrap().into_inner();
println!("{:?}", response); Output:
|
#4130 could be a good way to find and fix these RPC response format bugs? |
This is now bug #4216
This is fixed by PR #4217
This is now bug #4220. If you can find a RPC query that reproduces the missing UTXOs above, please add it to #4220. |
This ticket helped to find the above bugs but there is a way that we can do the same (#4253) without using |
zecwallet-light-cli is a zcash command line wallet written in rust.
It was briefly tested against a lightwalletd server backed up by a zebra node in the context of #3655 (comment)
However,
zecwallet-light-cli
is also a library which could be potentially used by zebra to run integration tests.This ticket will be used to investigate if an integration will worth and how much will be needed.
The text was updated successfully, but these errors were encountered: