Convert AURA to new pallet macro (#8020)

This commit is contained in:
Bastian Köcher
2021-02-02 15:19:40 +01:00
committed by GitHub
parent eeff8f3204
commit 7d65b5aa59
5 changed files with 79 additions and 59 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ use crate::mock::{Aura, new_test_ext};
#[test]
fn initial_values() {
new_test_ext(vec![0, 1, 2, 3]).execute_with(|| {
assert_eq!(Aura::last(), 0u64);
assert_eq!(Aura::last_timestamp(), 0u64);
assert_eq!(Aura::authorities().len(), 4);
});
}