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

Declutter types root (a bit), move *.rpc.json to json/ #325

Merged
merged 2 commits into from Oct 19, 2018

Conversation

jacogr
Copy link
Member

@jacogr jacogr commented Oct 19, 2018

No description provided.

@@ -0,0 +1 @@
{"jsonrpc":"2.0","result":{"digest":{"logs":[]},"extrinsicsRoot":"0x45b0cfc220ceec5b7c1c62c4d4193d38e4eba48e8815729ce75f9c0ab0e4c1c0","number":0,"parentHash":"0x0000000000000000000000000000000000000000000000000000000000000000","stateRoot":"0x294c3470ae3be7555240b9d034ec19c3715ba2c3f20b92441f8cea0cab66ab56"},"id":1}
Copy link
Member Author

@jacogr jacogr Oct 19, 2018

Choose a reason for hiding this comment

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

This one was edited a bit for structure, i.e. it was turned it into a valid rpc json response (header wrapped in "result", "jsonrpc" & "id" added), hence not being a straight rename like the others. The actual data we are interested though is exactly the same.

@@ -6,6 +6,7 @@ import { hexToU8a } from '@polkadot/util';

import Metadata from './Metadata';
import rpcdata from './Metadata.rpc';
import bbqBirch from './json/Metadata.001.json';
Copy link
Member Author

Choose a reason for hiding this comment

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

New one from actual non-dev chain

@amaury1093 amaury1093 merged commit 3e79ac5 into master Oct 19, 2018
@amaury1093 amaury1093 deleted the jg-move-rpc-json branch October 19, 2018 11:44
@polkadot-js-bot
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators Jun 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants