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

feat(rpc): add standardize RPC endpoints #1508

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

Mirko-von-Leipzig
Copy link
Contributor

@Mirko-von-Leipzig Mirko-von-Leipzig commented Nov 8, 2023

Add RPC endpoints using /rpc/vX_Y in addition to /rpc/vX.Y.

This is part of an effort to standardize these endpoints across all nodes. In time we will deprecate and remove /rpc/vX.Y.

An open question is: should we instead move to hosting them on root instead of in /rpc. i.e. /vX_Y which is more inline with other nodes. We originally chose a more directory like structure, in case we ever wanted to host more (non-json-rpc) things on the same port. This still makes sense to me, but we also have nothing else hosted here..

Update: waiting on starkware feedback regarding /rpc/xxx or /xxx.

vX_Y instead of vX.Y although the current version is still supported.
Copy link
Contributor

@kkovaacs kkovaacs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@Mirko-von-Leipzig Mirko-von-Leipzig merged commit f88ae5a into main Nov 9, 2023
7 checks passed
@Mirko-von-Leipzig Mirko-von-Leipzig deleted the mirko/standardize_rpc_url branch November 9, 2023 07:55
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

Successfully merging this pull request may close these issues.

3 participants