Skip to content
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

RPC implementation for the storage provider #52

Closed
serg-temchenko opened this issue May 28, 2024 · 1 comment
Closed

RPC implementation for the storage provider #52

serg-temchenko opened this issue May 28, 2024 · 1 comment
Assignees

Comments

@serg-temchenko
Copy link
Contributor

serg-temchenko commented May 28, 2024

A proxy mechanism should be implemented for calls to the full-node RPC endpoint through the polka-storage-provider CLI component. Additionally, it should be possible to add unrelated logic to the parachain that is exposed via RPC. Initially, users should have the ability to run an RPC server via the polka-storage-provider command and gracefully stop it. The foundation for this task should be PR #55.

Please add support of versioning for the RPC endpoints (e.g. v1).

Check this and this TODO's.

After reconsideration, it seems more reasonable to include this server run logic in the default section, like here.

@cernicc
Copy link
Member

cernicc commented Jun 4, 2024

I think it's better if we run the provider on the run command to be more explicit. Because there will also be other commands available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants