Skip to content

Error in Step 3 of setting up your own RPC server #1051

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

Closed
briwylde08 opened this issue Oct 22, 2024 · 2 comments
Closed

Error in Step 3 of setting up your own RPC server #1051

briwylde08 opened this issue Oct 22, 2024 · 2 comments
Assignees
Labels

Comments

@briwylde08
Copy link
Contributor

There is an error when following the guide to launch an RPC server. In this section: https://developers.stellar.org/docs/data/rpc/admin-guide#docker-image - in Step 3, the --captive-core-use-db flag gives an Error: unknown flag.

@ElliotFriend
Copy link
Contributor

I'm pretty sure all we need to do here is remove the --captive-core-use-db flag from the example command. It was removed from the possible flags when captive core switched from postgres to bucketlistdb.

It would be worth running through the docker instance setup tests to confirm, though.

@anataliocs
Copy link
Contributor

@ElliotFriend Yup yea I double-checked the available flags here: https://github.com/stellar/stellar-rpc/blob/main/cmd/stellar-rpc/internal/config/options.go

And confirmed all the other flags are present but --captive-core-use-db has been removed.

Can confirm via test config file as well: https://github.com/stellar/stellar-rpc/blob/main/cmd/stellar-rpc/internal/config/test.soroban.rpc.config

I think this old config is still in https://github.com/stellar/quickstart as well.

Will put up a PR to update the docs but @ElliotFriend do you think I should update quickstart as well since that is commonly used?

@anataliocs anataliocs moved this from To Do to In Progress in Dev Docs Jan 30, 2025
anataliocs added a commit that referenced this issue Feb 3, 2025
@briwylde08 briwylde08 moved this from In Progress to In Review in Dev Docs Feb 4, 2025
anataliocs added a commit that referenced this issue Feb 5, 2025
* Update RPC admin guide

* Fix formatting

* Fix formatting

* Update docs/data/rpc/admin-guide.mdx

Co-authored-by: Elliot Voris <[email protected]>

* Feedback from elliot

---------

Co-authored-by: Elliot Voris <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In Review
Development

No branches or pull requests

3 participants