-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat: FRAME umbrella crate. #1337
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
Merged
Merged
Changes from 54 commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
22dde37
patch applied
juangirini 95526ae
fix issues
juangirini 99e1371
update cargo files
juangirini 254267c
Merge branch 'master' into kiz-frame-api
juangirini f7c0ef3
wip
juangirini 1b69810
add licenses
juangirini 579a034
make zepter happy
juangirini 62266a7
format toml files
juangirini 1a38cc7
format toml files
juangirini 560cb34
Merge branch 'master' into kiz-frame-api
juangirini 67dfcc8
update Cargo lock
juangirini 3c3f6d9
fix reexports
juangirini 224922f
fix clippy
juangirini 6612fc3
Merge branch 'master' into kiz-frame-api
juangirini 8c960a3
fix clippy balances
juangirini 12af8f8
fix clippy
juangirini 92036b6
improve Cargo files
juangirini f35af85
fix example frame crate
juangirini 65c25a6
make minor test adjustments
juangirini e5079bf
fix minor typos
juangirini 65b1f23
fix a todo
juangirini f12a819
bring back frame_support::self
juangirini 46c8119
update with master
kianenigma e1e9816
make minimal node and runtime compile.
kianenigma 6ba0908
minimal node and runtime work
kianenigma 1120430
sudo and transfer and all work with fee payment
kianenigma 5091f02
fmt
kianenigma 42e4c04
Merge branch 'master' into kiz-frame-api
kianenigma 63f6ac0
clean deps
kianenigma 8a32ed2
Merge branch 'kiz-frame-api' of github.com:paritytech/polkadot-sdk in…
kianenigma 35eca96
tweaks
kianenigma fc6b6ae
Master.into()
kianenigma f5895c0
clean up diagrams, align frame and substrate crate
kianenigma 4833ac7
make it build
kianenigma edbf913
fix macro-magic 4.3 broken update
kianenigma 49dc97f
Merge branch 'kiz-frame-api' of github.com:paritytech/polkadot-sdk in…
kianenigma 8647105
checkpoint to ask for help
kianenigma ffdbfaf
temp fix the build for now
kianenigma 33294dd
Master.into()
kianenigma 6fd5e7d
a bit of cleanup
kianenigma 11ef33a
fix
kianenigma 53e7c5e
Merge branch 'master' of github.com:paritytech/polkadot-sdk into kiz-…
kianenigma b08b09f
Master.into()
kianenigma ecc7aa3
make it all feature gated.
kianenigma 7e29bc3
Merge branch 'master' into kiz-frame-api
kianenigma 2855f73
Update substrate/frame/examples/frame-crate/Cargo.toml
kianenigma af3b659
Update substrate/bin/minimal/node/src/chain_spec.rs
kianenigma 74acb76
Update substrate/frame/examples/frame-crate/src/lib.rs
kianenigma b2c5380
Update substrate/frame/src/lib.rs
kianenigma 876f892
Update substrate/frame/src/lib.rs
kianenigma 42dce6d
Update substrate/frame/src/lib.rs
kianenigma d086128
merged
kianenigma 714bec9
master.into()
kianenigma bfad9bb
build works again
kianenigma 086337b
make zepter happy again
juangirini 2f30a03
make stg frame crate compile
juangirini 9b5b2fd
frame crate preludes into testing preludes
juangirini a4f34a4
feature flag generate_crate_access condition
juangirini b3b790b
move frame conditional inside match
juangirini 8ff45a9
add ui test
juangirini 9c85dc2
revert unnecessary changes
juangirini ab942bd
remove temporary todo
juangirini 2ba0b08
enable `experimental` feature for docs
juangirini f1eb6b9
use specific commit for the `simple-mermaid` crate
juangirini 7838d03
improve comments
juangirini 923176d
Merge branch 'master' into kiz-frame-api
juangirini File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| graph TB | ||
| subgraph Substrate | ||
| direction LR | ||
| subgraph Client | ||
| end | ||
| subgraph Runtime | ||
| end | ||
| Client --runtime-api--> Runtime | ||
| Runtime --host-functions--> Client | ||
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| graph TB | ||
| subgraph Substrate | ||
| direction LR | ||
| subgraph Client | ||
| end | ||
| subgraph Runtime | ||
| end | ||
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| graph TB | ||
| subgraph Substrate | ||
| direction LR | ||
| subgraph Client | ||
| Database | ||
| Networking | ||
| Consensus | ||
| end | ||
| subgraph Runtime | ||
| subgraph FRAME | ||
| direction LR | ||
| Governance | ||
| Currency | ||
| Staking | ||
| Identity | ||
| end | ||
| end | ||
| Client --runtime-api--> Runtime | ||
| Runtime --host-functions--> Client | ||
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| [package] | ||
| name = "minimal-node" | ||
| version = "4.0.0-dev" | ||
| description = "A fresh FRAME-based Substrate node, ready for hacking." | ||
| authors = ["Substrate DevHub <https://github.com/substrate-developer-hub>"] | ||
| homepage = "https://substrate.io/" | ||
| edition = "2021" | ||
| license = "MIT-0" | ||
| publish = false | ||
| repository = "https://github.com/substrate-developer-hub/substrate-node-template/" | ||
| build = "build.rs" | ||
|
|
||
| [package.metadata.docs.rs] | ||
| targets = ["x86_64-unknown-linux-gnu"] | ||
|
|
||
| [[bin]] | ||
| name = "minimal-node" | ||
|
|
||
| [dependencies] | ||
| clap = { version = "4.0.9", features = ["derive"] } | ||
| futures = { version = "0.3.21", features = ["thread-pool"] } | ||
| futures-timer = "3.0.1" | ||
| jsonrpsee = { version = "0.16.2", features = ["server"] } | ||
|
|
||
| sc-cli = { path = "../../../client/cli" } | ||
| sc-executor = { path = "../../../client/executor" } | ||
| sc-network = { path = "../../../client/network" } | ||
| sc-service = { path = "../../../client/service" } | ||
| sc-telemetry = { path = "../../../client/telemetry" } | ||
| sc-transaction-pool = { path = "../../../client/transaction-pool" } | ||
| sc-transaction-pool-api = { path = "../../../client/transaction-pool/api" } | ||
| sc-consensus = { path = "../../../client/consensus/common" } | ||
| sc-consensus-manual-seal = { path = "../../../client/consensus/manual-seal" } | ||
| sc-rpc-api = { path = "../../../client/rpc-api" } | ||
| sc-basic-authorship = { path = "../../../client/basic-authorship" } | ||
| sc-offchain = { path = "../../../client/offchain" } | ||
| sc-client-api = { path = "../../../client/api" } | ||
|
|
||
| sp-timestamp = { path = "../../../primitives/timestamp" } | ||
| sp-keyring = { path = "../../../primitives/keyring" } | ||
| sp-api = { path = "../../../primitives/api" } | ||
| sp-blockchain = { path = "../../../primitives/blockchain" } | ||
| sp-block-builder = { path = "../../../primitives/block-builder" } | ||
| sp-io = { path = "../../../primitives/io" } | ||
| sp-runtime = { path = "../../../primitives/runtime" } | ||
|
|
||
| substrate-frame-rpc-system = { path = "../../../utils/frame/rpc/system" } | ||
|
|
||
| frame = { path = "../../../frame", features = ["runtime", "experimental"] } | ||
| runtime = { package = "minimal-runtime", path = "../runtime" } | ||
|
|
||
| [build-dependencies] | ||
| substrate-build-script-utils = { version = "3.0.0", path = "../../../utils/build-script-utils" } | ||
|
|
||
| [features] | ||
| default = [] | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.