Glutton pallet (#12833)
* Pov-Limit pallet * use Perbill & fixes * fixes * reads & writes * update docs * tests * calculate weight * fmt * benchmark * logic fix * naming fix * caclulate computation weight limit * make the Hasher generic * make the code compile * generate weight * fix on_idle * fix * fix * make reading generic * fix? * fixes * remove warning * fix * hasher fix :D * change value * test * actual weight and expected weight are the same * update * fix * add events * remove useless line * using actual hashing algorithm * better readability * fix nits * Update Signed-off-by:Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * add migration * hardcode proof_size in weights.rs * format * fixes * Fix weight * docs * fix * Update frame/pov-limit/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * Update frame/pov-limit/src/lib.rs Co-authored-by:
Bastian Köcher <git@kchr.de> * empty on_ilde & update weight.rs * remove migration & fix benchmark * ...
Showing
- substrate/Cargo.lock 20 additions, 0 deletionssubstrate/Cargo.lock
- substrate/Cargo.toml 1 addition, 0 deletionssubstrate/Cargo.toml
- substrate/bin/node/executor/Cargo.toml 1 addition, 0 deletionssubstrate/bin/node/executor/Cargo.toml
- substrate/bin/node/runtime/Cargo.toml 4 additions, 0 deletionssubstrate/bin/node/runtime/Cargo.toml
- substrate/bin/node/runtime/src/lib.rs 7 additions, 0 deletionssubstrate/bin/node/runtime/src/lib.rs
- substrate/frame/glutton/Cargo.toml 51 additions, 0 deletionssubstrate/frame/glutton/Cargo.toml
- substrate/frame/glutton/README.md 9 additions, 0 deletionssubstrate/frame/glutton/README.md
- substrate/frame/glutton/src/benchmarking.rs 98 additions, 0 deletionssubstrate/frame/glutton/src/benchmarking.rs
- substrate/frame/glutton/src/lib.rs 292 additions, 0 deletionssubstrate/frame/glutton/src/lib.rs
- substrate/frame/glutton/src/mock.rs 80 additions, 0 deletionssubstrate/frame/glutton/src/mock.rs
- substrate/frame/glutton/src/tests.rs 226 additions, 0 deletionssubstrate/frame/glutton/src/tests.rs
- substrate/frame/glutton/src/weights.rs 324 additions, 0 deletionssubstrate/frame/glutton/src/weights.rs
Please register or sign in to comment