Open JoshOrndorff opened 4 years ago
Examples from frame include timestamp
and authorship
. There is also the pow rewards module that is part of kulupu https://github.com/kulupu/kulupu/blob/master/rewards/src/lib.rs
@JoshOrndorff I see that nobody is taking care of it. Can I? Please give me more info. Thank you.
@JoshOrndorff Do not you receive notifications?
yes, please run with this @herou we can support you if you have any questions and happy to check any PRs
@herou Yes, I received the notification. I didn't answer yet because I was working out my priorities. It turns out that I will not be able to mentor this issue, but I have updated the issue description. You may try to tackle it and I will help where I can, but I can't provide active mentoring for this one anymore. I'm sorry.
@herou If you are available, please feel free to make a PR for a inherent pallet (and even the text, to complete the recipe). I will help wherever I can and give review/feedback on the code and text.
Inherent extrinsics, are extrinsics that are injected into a block by the block author. Inherents are checked by other nodes in the network for general sanity constraints, but ultimately accepted as true because the author included them.
Here are some classic examples of inherents:
For this recipe, write a pallet that provides an inherent. A silly minimal example ould be for the block author to insert which day of the week the block was authored on. A more realistic, but more complex, example would be that second bullet point. Maybe the block author could enter the current water level in Lake Erie into the chain. Other nodes could do a sanity check by making sure the supplied value is similar to their own understanding.