-
Notifications
You must be signed in to change notification settings - Fork 798
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
Improve UX/docs of OnGenesis
#2790
Comments
In FRAME, polkadot-sdk/substrate/frame/support/procedural/src/pallet/expand/pallet_struct.rs Lines 217 to 226 in 9a27b53
You may want to use GenesisBuild: https://docs.rs/frame-support/latest/frame_support/attr.pallet.html#genesis-build-palletgenesis_build-optional That said, I agree with your complains on docs. |
No we don't want |
* Bump sysinfo from 0.29.11 to 0.30.5 Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.29.11 to 0.30.5. - [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md) - [Commits](https://github.com/GuillaumeGomez/sysinfo/commits) --- updated-dependencies: - dependency-name: sysinfo dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Fix build --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Attempting to implement
OnGenesis
gives this error:The docs are sparse and there aren't any examples of usage in the repo.
If it's not intended to be implemented directly, this should be documented, with an alternative provided.
Also, the
Hooks
trait could exposeon_genesis
(it's kind of weird that it does not).The text was updated successfully, but these errors were encountered: