Offences management (!161)
* fix cargo files * fix slashing strategy * refactore remove_member_from_blacklist * add missing test * add license * refac tests adds comments remove some repetitions reorder tests (offence test are below) rename tests * feat(pallet_grandpa) add offences handler * feat(pallet_authority_members) add offences execution * feat(pallet_offences) add pallet offences
Showing
- Cargo.lock 4 additions, 2 deletionsCargo.lock
- pallets/README.md 1 addition, 0 deletionspallets/README.md
- pallets/authority-members/Cargo.toml 2 additions, 0 deletionspallets/authority-members/Cargo.toml
- pallets/authority-members/src/benchmarking.rs 9 additions, 0 deletionspallets/authority-members/src/benchmarking.rs
- pallets/authority-members/src/impls.rs 81 additions, 0 deletionspallets/authority-members/src/impls.rs
- pallets/authority-members/src/lib.rs 40 additions, 1 deletionpallets/authority-members/src/lib.rs
- pallets/authority-members/src/mock.rs 13 additions, 0 deletionspallets/authority-members/src/mock.rs
- pallets/authority-members/src/tests.rs 222 additions, 2 deletionspallets/authority-members/src/tests.rs
- pallets/authority-members/src/weights.rs 8 additions, 0 deletionspallets/authority-members/src/weights.rs
- pallets/offences/Cargo.toml 46 additions, 0 deletionspallets/offences/Cargo.toml
- pallets/offences/README.md 9 additions, 0 deletionspallets/offences/README.md
- pallets/offences/src/lib.rs 259 additions, 0 deletionspallets/offences/src/lib.rs
- pallets/offences/src/mock.rs 156 additions, 0 deletionspallets/offences/src/mock.rs
- pallets/offences/src/tests.rs 303 additions, 0 deletionspallets/offences/src/tests.rs
- pallets/offences/src/traits.rs 28 additions, 0 deletionspallets/offences/src/traits.rs
- runtime/common/src/pallets_config.rs 7 additions, 3 deletionsruntime/common/src/pallets_config.rs
- runtime/common/src/weights/pallet_authority_members.rs 33 additions, 20 deletionsruntime/common/src/weights/pallet_authority_members.rs
- runtime/g1/Cargo.toml 1 addition, 1 deletionruntime/g1/Cargo.toml
- runtime/g1/src/lib.rs 1 addition, 1 deletionruntime/g1/src/lib.rs
- runtime/gdev/Cargo.toml 1 addition, 1 deletionruntime/gdev/Cargo.toml
Loading
Please register or sign in to comment