substrate
substrate copied to clipboard
FRAME: Add new `poll` hook + various other improvements to pallet hooks
complementing https://github.com/paritytech/substrate/pull/14275 related paritytech/polkadot-sdk#198
- [x] Improve docs for all hooks
- [ ] Tests
- [ ] closes https://github.com/paritytech/polkadot-sdk/issues/258
- [ ] TODOs
Diagram of hooks after this:
https://mermaid.live/edit#pako:eNqFk8tuwjAQRX8l8hpQXkCSRaXSl5BaUUFRpSobN56A1WQcOY7EQ_x7jVMgRQS8ss_cGc_cxFuSCAYkIgtJi6X1Oo3R0qusvmswSdNkSTlaNd-vA_oU8gfkiX_I9UxRBTUBZDGeFXsBhJKXp5Q_MKp4xtrT7lMF8kNSLGmiuMBGAcYlGHbs3HSIY5aB1e3e6e0zR5rxzZW2JvhwNmJL2WKPaGYKjyAVEp5WSnIsedLo6Txi5GNcggRUDd0RGcG7yLJTbH8y-PLYTWpkLRZdnPZvCo1jVbs1rVDxHOaFVrArRrXPrB1HrvgNo28O45hh5rr4AoE1Au65GZ5ltd9zxWzn39dwjzVIh-Qgc8qZfgvbPY6JWkIOMYn0lkFKq0zFJMadltJKidkaExIpWUGHVAXTP_4jp_r-nEQpzUpNC4pfQuQHkT6SaEtWJHL8njvsB-Fg4Hi2Zwde0CFrjftBzw4HXt_1Q993fDfYdcjGVLB7oe-Fru17Ouq4Q1tnAONKyLf6-ZpXvPsFM80w5g