Skip to content

PSP for JSON-RPC#6

Merged
lamafab merged 155 commits intomasterfrom
psp-rpc-api
Dec 2, 2020
Merged

PSP for JSON-RPC#6
lamafab merged 155 commits intomasterfrom
psp-rpc-api

Conversation

@lamafab
Copy link
Copy Markdown
Contributor

@lamafab lamafab commented Mar 12, 2020

(UPDATED 2020-11-25) Preview: https://github.com/w3f/PSPs/blob/psp-rpc-api/PSPs/drafts/psp-6.md

As discussed, this is a draft/WIP and will change a lot over the next days/weeks. Generally, it needs to adjust to the decisions made by Parity.

A TODO list available here: w3f/polkadot-spec#67 (comment)

@FlorianFranzen
Copy link
Copy Markdown
Contributor

Quick update: Soramitsu indicated that there are a few essential calls missing, namely rpc_methods, state_getMetadata and system_chainType.

Copy link
Copy Markdown
Contributor

@Noc2 Noc2 left a comment

Choose a reason for hiding this comment

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

Btw. the psp number should be 6 (same as PR) and feel free to change the status to draft. After this, I think we can merge it into the draft folder: https://github.com/w3f/PSPs/tree/master/PSPs/drafts This way it's easier to discuss it and others can contribute to it.

Copy link
Copy Markdown
Contributor

@FlorianFranzen FlorianFranzen left a comment

Choose a reason for hiding this comment

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

If you fix the last few typos and add a proper section on websockets and pubsub, I think this should be ready to be merged.

Copy link
Copy Markdown
Contributor

@danforbes danforbes left a comment

Choose a reason for hiding this comment

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

Amazing job, @lamafab 🙇 Very well-written 🎉 I did not perform an exhaustive review; just left a few nitpicky comments. I would also suggest using a formatting tool like Prettier on this in order to limit the line length...this should be enforced on this repo in general, I think, because otherwise documents can be hard to review.

@lamafab
Copy link
Copy Markdown
Contributor Author

lamafab commented Dec 1, 2020

@FlorianFranzen @danforbes Thank you for your feedback, I adjusted pretty much everything. Do note that I added a simple prettier config (maybe we can just "stage" this via Github Actions and have it run prettier on PRs rather than making this part of the repo?).

You can run it with: yarn prettier --write .

Also, my editor currently generated the table of contents, including section numbering. Maybe that's something we can do globally for all documents by using prettier. I'll look into this some more.

@FlorianFranzen I will update payment_queryInfo tomorrow morning. There are currently no docs on this.

@lamafab lamafab merged commit f0d74ff into master Dec 2, 2020
Noc2 pushed a commit that referenced this pull request Jul 21, 2021
Updated proposal to meet ABI level specifications
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.

4 participants