Skip to content

Break down frame_support into smaller pieces #127

Closed
@juangirini

Description

@juangirini

We need to split it up into smaller crates.

This update goes hand by hand with the other changes laid out on its parent issue #133.
As part of this whole refactoring, the pallets within ./substrate/frame will be moved to ./substrate/pallets and some pieces that are now within ./substrate/frame/support will be moved up to ./substrate/frame, and probably some other bits will be moved around.
So, we need to make a decision on what's the structure that we want, for this particular issue, within ./substrate/frame.

This is a (simplified) view of how ./substrate/frame would look like if we just move out the pallets to their own folder.

frame/
├── benchmarking/
│   └── pov/
├── election-provider-support/
│   ├── benchmarking/
│   └── solution-type/
│       └── fuzzer/
├── examples/
├── executive/
├── support/
│   ├── procedural/
│   │   └── tools/
│   │       └── derive/
│   ├── src/
│   │   ├── crypto/
│   │   ├── storage/
│   │   │   ├── generator/
│   │   │   └── types/
│   │   ├── traits/
│   │   │   ├── currency/
│   │   │   ├── fungible/
│   │   │   ├── fungibles/
│   │   │   ├── imbalance/
│   │   │   ├── misc.rs
│   │   │   ├── nonfungibles.rs
│   │   │   ├── pay.rs
│   │   │   └── ...
│   │   ├── weights/
│   │   ├── dispatch_context.rs
│   │   ├── dispatch.rs
│   │   ├── genesis_builder_helper.rs
│   │   ├── hash.rs
│   │   ├── inherent.rs
│   │   ├── instances.rs
│   │   ├── migrations.rs
│   │   └── ...
│   └── test/
│       ├── compile_pass
│       └── pallet
├── system/
│   ├── benches
│   ├── benchmarking
│   └── rpc/
│       └── runtime-api
└── try-runtime
pallets/
└── ...

What I'd like to discuss in this issue is how the final structure should look like.

Metadata

Metadata

Assignees

Labels

T1-FRAMEThis PR/Issue is related to core FRAME, the framework.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions