Skip to content

Commit 4f74868

Browse files
authored
dApp staking - crate visibility (#1345)
* dApp staking - crate visibility * Remaining changes * Integration test fix
1 parent cc87612 commit 4f74868

File tree

10 files changed

+140
-151
lines changed

10 files changed

+140
-151
lines changed

pallets/dapp-staking/src/test/tests_types.rs

-11
Original file line numberDiff line numberDiff line change
@@ -86,17 +86,6 @@ fn period_info_basic_checks() {
8686
assert!(info.is_next_period(next_subperiod_start_era + 1));
8787
}
8888

89-
#[test]
90-
fn protocol_state_default() {
91-
let protocol_state = ProtocolState::default();
92-
93-
assert_eq!(protocol_state.era, 0);
94-
assert_eq!(
95-
protocol_state.next_era_start, 1,
96-
"Era should start immediately on the first block"
97-
);
98-
}
99-
10089
#[test]
10190
fn protocol_state_basic_checks() {
10291
let mut protocol_state = ProtocolState::default();

0 commit comments

Comments
 (0)