-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
Spark fixes #984
Spark fixes #984
Conversation
I was having issues with the App Store version so I took 0.6.5-rc1 on TestFlight for a spin. TL;DR: there is progress, but it still seems broken. Test setup [Zeus]:
Test setup [LN node]:
Steps Followed:
Results [LN node]: Spark log shows that there was a successful connection, albeit with an error response. Log entry below
note: previously with the app store version of Zeus there wasn't even a connection being made to Spark at all, so this is definitely progress :) |
Update: I'm able to reproduce this from source on the android emulator, so I was able to get some more useful information All I can say for certain is that the Note: since this is breaking in getFees, I wonder whether this could be breaking because the CLN node I'm connecting to is a clean installation from scratch with no channels, transactions or anything like that set up yet.... |
I was able to narrow down the issue and fix it, now Zeus is working in Android simulator against my CLN node over tor with the Spark backend. However my fix is in files that haven't changed in months both on the Zeus side and the Spark side. Which makes me think I've hit some kind of edge case. I'll therefore stop commenting on the PR and open an issue. |
Description
Missing config settings in the Spark backend file cause Zeus to crash or freeze on start-up. This PR also includes handling of LNURL auth calls when node implementations do not support it.
Checklist
npm run tsc
and made sure my code compiles correctlynpm run lint
and made sure my code didn’t contain any problematic patternsnpm run prettier
and made sure my code is formatted correctlynpm run test
and made sure all of the tests passTesting
If you modified or added a utility file, did you add new unit tests?
I have tested this PR on the following platforms (please specify OS version and phone model/VM):
I have tested this PR with the following types of nodes (please specify node version and API version where appropriate):
Locales
Third Party Dependencies and Packages
npm install
after this PR is merged inpackage.json
andpackage-lock.json
have been properly updatedOther: