Skip to content

Commit de2f918

Browse files
committed
fix: build issue
1 parent cd09ed4 commit de2f918

File tree

2 files changed

+3
-16
lines changed

2 files changed

+3
-16
lines changed

modules/epochs_state/src/epochs_history.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,19 +73,19 @@ mod tests {
7373

7474
#[test]
7575
fn epochs_history_is_none_when_store_history_is_false() {
76-
let epochs_history = EpochsHistoryState::new(&StoreConfig::new(false, false));
76+
let epochs_history = EpochsHistoryState::new(&StoreConfig::new(false));
7777
assert!(epochs_history.epochs_history.is_none());
7878
}
7979

8080
#[test]
8181
fn epochs_history_is_some_when_store_history_is_true() {
82-
let epochs_history = EpochsHistoryState::new(&StoreConfig::new(true, false));
82+
let epochs_history = EpochsHistoryState::new(&StoreConfig::new(true));
8383
assert!(epochs_history.epochs_history.is_some());
8484
}
8585

8686
#[test]
8787
fn handle_epoch_activity_saves_history() {
88-
let epochs_history = EpochsHistoryState::new(&StoreConfig::new(true, false));
88+
let epochs_history = EpochsHistoryState::new(&StoreConfig::new(true));
8989
let block = make_block(200);
9090
epochs_history.handle_epoch_activity(
9191
&block,

modules/spo_state/src/test_utils.rs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,6 @@ pub fn save_retired_pools_store_config() -> StoreConfig {
4646
}
4747
}
4848

49-
pub fn save_stake_addresses_store_config() -> StoreConfig {
50-
StoreConfig {
51-
store_epochs_history: false,
52-
store_retired_pools: false,
53-
store_registration: false,
54-
store_updates: false,
55-
store_delegators: true,
56-
store_votes: false,
57-
store_block_hashes: false,
58-
store_stake_addresses: true,
59-
}
60-
}
61-
6249
pub fn save_block_hashes_store_config() -> StoreConfig {
6350
StoreConfig {
6451
store_epochs_history: false,

0 commit comments

Comments
 (0)