Convert Node to Parachain (#73)
* Update runtime to match that of the `substrate-parachain-template` * Update runtime TOML file to match that from `substrate-parachain-template` * Add some fixes for `master` branch code * Use patched dependencies for Substrate, Polkadot, and Cumulus * Update runtime after downgrading Substrate deps * Copy service file over from `substrate-parachain-template` * Copy CLI file over from `substrate-parachain-template` * Copy Command file over from `substrate-parachain-template` Also updated some fields to point to the relevant `canvas-node` resources. * Copy ChainSpec file over from `substrate-parachain-template` * Update ChainSpec file to be slightly more Canvas node specific * Add lib file to node * Get RPC extension file compiling * Try adding RPC to Cumulus service * Use opaque types in RPC The reason that my code wouldn't compile was that there was a mismatch in the `Block` type being used by the service and the RPC. * Hook up contracts RPC * Copy `rustfmt` config from `substrate-parachain-template` * Format repo * Remove old monetary units * Address most remaining TODO items * Add missing license header * Change binary name back to `canvas` * Use less sketchy Substrate branch name * Remove default node feature * Add path to binary section * Use experimental Cargo resolver * Revert Substrate branch change I think this pulls in some updated dependencies which breaks the build. * Clean up contracts related imports in TOML file * Set `pallet-contracts` state rent related params to zero * Don't use unstable contract features by default * Update Substrate dependencies in README * Update Substrate branch name * Update GitHub dependency references This is for BEEFY, Polkadot, and Cumulus * Update `ChainType` and chain names * Update `contract-pallet` constants Co-authored-by: Alexander Theißen <[email protected]> * Remove `testnet-1.json` file We'll be creating an updated config later on. * Attach issue number to TODO comment * Minor readme fix * Remove outdated usage info Co-authored-by: Alexander Theißen <[email protected]> Co-authored-by: Michael Mueller <[email protected]>