-
Notifications
You must be signed in to change notification settings - Fork 11
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
Pallets: move business logic to seperate files #735
Comments
Do you think about something like this?
|
@renauter that is too generic, I would group functionality in files and give the file a meaningful name. For example, anything related to distribution of rewards in pallet-smart-contract -> Another example, twins create/update in pallet-tfgrid -> |
Verified.
The structure of the pallets was done as mentioned. Each pallet has its own readme. and within each pallet in the |
In
lib.rs
only keep:the pallet module declaration containing:
Move logic that is executed within extrinsics to seperate files. This will improve readability.
The text was updated successfully, but these errors were encountered: