New Pallet: Root offences (#11943)
* root-offences pallet * fix errors * cleaned up a bit * remove unwrap() * new pallet is getting compiled * remove unnecessary type annotations * remove more unnecessary type annotations * addidtional cleaning * commit * cleaned up * fix in logic * add event * removed Clone trait from AccountId * test module * remove unused imports * fmt * fix * separate into functions, still messy * test * first test * fmt * cleaned up a bit * separate into mock.rs and tests.rs * basic docs for now * pallet_staking GenesisiConfig * fix * added start_session * passing tests * impl GenesisConfig for pallet_session * updated event * Update frame/root-offences/src/lib.rs Co-authored-by: Kian Paimani <[email protected]> * Update frame/root-offences/src/lib.rs Co-authored-by: Kian Paimani <[email protected]> * remove <T: Config * specifying trait bounds inside Config * commit * active era increases correctly :) * ExtBuilder * slashing works * new test * additional test * commit * order * fix? * fix in logic * remove unnecessary * wrap comment at 100 * fmt * merge fixes * Update frame/root-offences/src/lib.rs Co-authored-by: Kian Paimani <[email protected]> * Update frame/root-offences/src/lib.rs Co-authored-by: Kian Paimani <[email protected]> * docs * Update frame/root-offences/README.md Co-authored-by: Andronik <[email protected]> * Update frame/root-offences/Cargo.toml Co-authored-by: Andronik <[email protected]> * license header Co-authored-by: Kian Paimani <[email protected]> Co-authored-by: Andronik <[email protected]>
parent
bcf38c89
Please register or sign in to comment