{"action":"created","issue":{"url":"https://api.github.com/repos/paritytech/polkadot/issues/51","repository_url":"https://api.github.com/repos/paritytech/polkadot","labels_url":"https://api.github.com/repos/paritytech/polkadot/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/paritytech/polkadot/issues/51/comments","events_url":"https://api.github.com/repos/paritytech/polkadot/issues/51/events","html_url":"https://github.com/paritytech/polkadot/issues/51","id":292824540,"number":51,"title":"Refactor into substrate and polkadot-relay","user":{"login":"gavofyork","id":138296,"avatar_url":"https://avatars0.githubusercontent.com/u/138296?v=4","gravatar_id":"","url":"https://api.github.com/users/gavofyork","html_url":"https://github.com/gavofyork","followers_url":"https://api.github.com/users/gavofyork/followers","following_url":"https://api.github.com/users/gavofyork/following{/other_user}","gists_url":"https://api.github.com/users/gavofyork/gists{/gist_id}","starred_url":"https://api.github.com/users/gavofyork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavofyork/subscriptions","organizations_url":"https://api.github.com/users/gavofyork/orgs","repos_url":"https://api.github.com/users/gavofyork/repos","events_url":"https://api.github.com/users/gavofyork/events{/privacy}","received_events_url":"https://api.github.com/users/gavofyork/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"gavofyork","id":138296,"avatar_url":"https://avatars0.githubusercontent.com/u/138296?v=4","gravatar_id":"","url":"https://api.github.com/users/gavofyork","html_url":"https://github.com/gavofyork","followers_url":"https://api.github.com/users/gavofyork/followers","following_url":"https://api.github.com/users/gavofyork/following{/other_user}","gists_url":"https://api.github.com/users/gavofyork/gists{/gist_id}","starred_url":"https://api.github.com/users/gavofyork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavofyork/subscriptions","organizations_url":"https://api.github.com/users/gavofyork/orgs","repos_url":"https://api.github.com/users/gavofyork/repos","events_url":"https://api.github.com/users/gavofyork/events{/privacy}","received_events_url":"https://api.github.com/users/gavofyork/received_events","type":"User","site_admin":false},"assignees":[{"login":"gavofyork","id":138296,"avatar_url":"https://avatars0.githubusercontent.com/u/138296?v=4","gravatar_id":"","url":"https://api.github.com/users/gavofyork","html_url":"https://github.com/gavofyork","followers_url":"https://api.github.com/users/gavofyork/followers","following_url":"https://api.github.com/users/gavofyork/following{/other_user}","gists_url":"https://api.github.com/users/gavofyork/gists{/gist_id}","starred_url":"https://api.github.com/users/gavofyork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavofyork/subscriptions","organizations_url":"https://api.github.com/users/gavofyork/orgs","repos_url":"https://api.github.com/users/gavofyork/repos","events_url":"https://api.github.com/users/gavofyork/events{/privacy}","received_events_url":"https://api.github.com/users/gavofyork/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-01-30T15:27:38Z","updated_at":"2018-02-07T22:39:39Z","closed_at":null,"author_association":"OWNER","body":"Rough gameplan:\r\n\r\n- [x] Unpick `native-runtime` from `substrate-executor` (use native `impl_stubs!` macro - current a no-op, to generate the code `|| match method { \"execute_block\" => safe_call(|| runtime::execute_block(&data.0)),`... and this function, along with the wasm is equates to in as a static-dispatch).\r\n- [x] Refactor/pick-apart `polkadot-client` into a generic `substrate-client` and a Polkadot-specific `polkadot-client`.\r\n- [x] Rework `polkadot-rpc` to depend only on the generic (perhaps trait?) `substrate-client` and rename to `substrate-rpc` (and rename `polkadot-rpc-servers` -> `substrate-rpc-servers`).\r\n- [ ] Rework `polkadot-network` to create a generic substrate module `substrate-network` (the relay-chain sync code plus a peer-network overlay, basically) that can be used by `substrate-client` and extended into a polkadot-specific module `polkadot-network` capable of handling polkadot network messages (parachain candidate selection &c.) and functionality (parachain peer-pre-connections).\r\n- [ ] Consider renaming `substrate::transactions` to `substrate::extrinsics` to reflect the fact that the data is completely generic and may not have features typical of transactions."},"comment":{"url":"https://api.github.com/repos/paritytech/polkadot/issues/comments/363935702","html_url":"https://github.com/paritytech/polkadot/issues/51#issuecomment-363935702","issue_url":"https://api.github.com/repos/paritytech/polkadot/issues/51","id":363935702,"user":{"login":"rphmeier","id":10121380,"avatar_url":"https://avatars1.githubusercontent.com/u/10121380?v=4","gravatar_id":"","url":"https://api.github.com/users/rphmeier","html_url":"https://github.com/rphmeier","followers_url":"https://api.github.com/users/rphmeier/followers","following_url":"https://api.github.com/users/rphmeier/following{/other_user}","gists_url":"https://api.github.com/users/rphmeier/gists{/gist_id}","starred_url":"https://api.github.com/users/rphmeier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rphmeier/subscriptions","organizations_url":"https://api.github.com/users/rphmeier/orgs","repos_url":"https://api.github.com/users/rphmeier/repos","events_url":"https://api.github.com/users/rphmeier/events{/privacy}","received_events_url":"https://api.github.com/users/rphmeier/received_events","type":"User","site_admin":false},"created_at":"2018-02-07T22:39:39Z","updated_at":"2018-02-07T22:39:39Z","author_association":"MEMBER","body":"We will also want to reorganize the file hierarchy to put substrate stuff together and apart from polkadot stuff build upon it."}}
{"actor":{"display_login":"rphmeier"}}