Skip to content

Commit

Permalink
Merge branch 'master' of github.com:AstarNetwork/Astar into feat/asyn…
Browse files Browse the repository at this point in the history
…c-backing-migrations
  • Loading branch information
ermalkaleci committed Sep 2, 2024
2 parents 0e1d5db + 2d0aa10 commit 5ae3f07
Show file tree
Hide file tree
Showing 11 changed files with 158 additions and 155 deletions.
11 changes: 0 additions & 11 deletions pallets/dapp-staking/src/test/tests_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,6 @@ fn period_info_basic_checks() {
assert!(info.is_next_period(next_subperiod_start_era + 1));
}

#[test]
fn protocol_state_default() {
let protocol_state = ProtocolState::default();

assert_eq!(protocol_state.era, 0);
assert_eq!(
protocol_state.next_era_start, 1,
"Era should start immediately on the first block"
);
}

#[test]
fn protocol_state_basic_checks() {
let mut protocol_state = ProtocolState::default();
Expand Down
Loading

0 comments on commit 5ae3f07

Please sign in to comment.