-
Notifications
You must be signed in to change notification settings - Fork 13
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
soroban-rpc: remove dependency on Horizon #48
Conversation
What Dockerfile was it created from? |
OK, it seems we should be using https://github.com/stellar/soroban-tools/blob/main/cmd/soroban-rpc/docker/Dockerfile However, the build does not seem to be automated in CI ( or is it somehow automated in our internal Jenkins @satyamz ? ) which is something we should probably do at some point (CC @tsachiherman ) For now, I did the honors and built->pushed
@satyamz PTAL |
I think that this should be the standalone soroban-rpc docker container that we should be working on this sprint. It should be invoked by the Quickstart repository and build there. Then, the helm chart repo can reference the latest built docker container. does that makes sense ? |
Correct, there is some overlap in scope here, we have a ticket to update the soroban-rpc dockerfile to enable the helm chart usage: we are starting on that, it will build an image ready for pulling into deployments(such as k8s) , the dockerfile will also be updated to configure captive core runtime in the container as rpc needs that now and it also will add a new gh workflow to soroban-tools repo, on tag/pr/release events to push new registry image for rpc so, can proceed with this update as-is, but it will be for brief amount of time, as a new pr will be submitted here once stellar/stellar-cli#418 is done, to change the helm to pull and config for |
Can I get an approval? We can update the image later |
@2opremio You need to remove 3 deprecated parameters from values.yaml too |
Yes. I just figured it out, that's correct Dockerfile.
No. We do not have build job for this. |
I did not understand relation between quickstart repository and soroban-rpc image build. Can you please elaborate this? Do you mean we should build soroban-rpc whenever there's a change in quickstart repo? |
Done! |
soroban-rpc no longer depends on Horizon and thus we shouldn't be passing a horizon URL to soroban-rpc (thus
--horizon-url=
is no longer supported. This fixes part of stellar/stellar-cli#409)Also, soroban-rpc no longer uses a submission queue for sending transactions (thus,
--tx-queue=
and--tx-concurrency=
are no longer supported)I am not sure when would it be safe to merge this though, since these changes were just recentely merged in the
main
branch of https://github.com/stellar/soroban-tools and this chart seems to depend onsatyamz/soroban-rpc
which I guess @satyamz should build and push.