Skip to content
Commit ea434668 authored by Sergej Sakac's avatar Sergej Sakac Committed by GitHub
Browse files

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: default avatarKian Paimani <[email protected]>

* Update frame/root-offences/src/lib.rs

Co-authored-by: default avatarKian 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: default avatarKian Paimani <[email protected]>

* Update frame/root-offences/src/lib.rs

Co-authored-by: default avatarKian Paimani <[email protected]>

* docs

* Update frame/root-offences/README.md

Co-authored-by: default avatarAndronik <[email protected]>

* Update frame/root-offences/Cargo.toml

Co-authored-by: default avatarAndronik <[email protected]>

* license header

Co-authored-by: default avatarKian Paimani <[email protected]>
Co-authored-by: default avatarAndronik <[email protected]>
parent bcf38c89
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment