-
Notifications
You must be signed in to change notification settings - Fork 71
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
ba-Feat/badge bot test #502
Conversation
maybe adding functionality to use |
@tobi-bams to test add |
@kevkevinpal yeah, we could use that branch, but for now, the test would still fail because the liquid server is not allowing us to create badges. |
@tobi-bams do you know if the boltwall container is calling the actual sphinx-liquid server? |
Yes it is calling the actual sphinx-liquid server |
Hmm if that's the case then it doesn't make sense to do that in the testing env because then we'll run out of sats very quickly since we're running these test for every PR it seems like either we need to get a mock response somehow coming from the sphinx-liquid server or get the liquid server working on regtest on sphinx-stack which might be difficult considering it needs the liquid sidechain |
Yea I agree, I would suggest we go with a mock response |
I'm thinking if it might take a while to include mock responses to sphinx-stack we might want to do extensive unit testing to get this feature going quicker you can find the unit tests here https://github.com/stakwork/sphinx-relay/tree/master/src/tests/unit_tests |
Nice job creating tests for it @tobi-bams!. What is you plan to add mocks? I think you need some more validation in places. Like after Also a good idea to include a |
Thanks @Evanfeenstra, I would add those extra validations thanks. In regards to the |
…se for get balances from liquid server
…inx-relay into feat/badge-bot-test
No description provided.