Migrate pallet-babe to pallet attribute macro. (#8310)

* Migrate pallet-babe to pallet attribute macro.

* Remove unnecessary bound in pallet storage.

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
Shaun Wang
2021-03-18 09:47:39 +13:00
committed by GitHub
parent da6bf01ad9
commit c7d32ba9a6
6 changed files with 313 additions and 257 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ mod tests {
let equivocation_proof = generate_equivocation_proof(
offending_authority_index,
offending_authority_pair,
CurrentSlot::get() + 1,
CurrentSlot::<Test>::get() + 1,
);
println!("equivocation_proof: {:?}", equivocation_proof);