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 WangandShawn Tabrizi authored and GitHub committed 2021-03-17 20:47:39 +00:00
1 parent da6bf01ad9
commit c7d32ba9a6
6 files changed
+313 -257

No files matched your search

+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);