-
Notifications
You must be signed in to change notification settings - Fork 2.6k
add doc-only substrate
entry point crate
#14581
Conversation
bot rebase |
Branch is already up-to-date |
…rove-primitives-docs
Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com>
…rove-primitives-docs
//! look into the [`frame_support`] crate, which is the entry point crate into runtime development. | ||
//! | ||
//! > Side note, it is entirely possible to craft a substrate-based runtime without FRAME, an | ||
//! > example of which can be found [here](https://github.com/JoshOrndorff/frameless-node-template). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although possible, FRAME provides most primitives that a runtime developer will have to re-build manually. This comes at the cost of development time, maintenance cost and, possibly, correctness.
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is this coming from?
DQ but this default-crate wont work anymore in the monorepo, or? Since we only have one top-level |
This will be the crate at the root of |
…ubstrate into kiz-improve-primitives-docs
bot merfe |
@kianenigma Unknown command "merfe"; Available ones are bench-all, bench-bm, bench, fmt, merge, rebase, sample, try-runtime, update-ui. Refer to help docs and/or source code. |
bot merge |
Waiting for commit status. |
Merge cancelled due to error. Error: Statuses failed for 1d3e508 |
This reverts commit 66960f8.
…ubstrate into kiz-improve-primitives-docs
bot merge |
* add doc-only substrate entry point crate * document a few more things * add more * fix width * Update primitives/io/src/lib.rs Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com> * add link * update cargo toml file * fix sp-io docs * improve * small update * add license * satisfy license job * add a line about FRAME * CI happy now * make CI more happy * Let the check run for the whole workspace * Forward the substrate node again as default run * update binary names * upate verison test * Fix fix fix * Fix * rename to substrate-node in more places * Revert "rename to substrate-node in more places" This reverts commit 66960f8. * fix * Fix build pipeline * Fix properly plus add some docs --------- Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com> Co-authored-by: Bastian Köcher <info@kchr.de>
Part of a series of PRs that I am getting ready in place for PBA.
the new
substrate
crate is only meant to be used for very very high level documentation. This should be the crate that is shown when you also navigate to https://paritytech.github.io/substrate/master/I will try and get a minimal version of #14137 ready soon as well, and instead of
frame_support
, we will useframe
in here. This again makes me wish for paritytech/polkadot-sdk#5 to be the counter part of that as well.A similar crate in cumulus would also be a nice next step.