File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1110,7 +1110,6 @@ mod tests {
11101110 assert_eq ! ( blocks. len( ) , 1 ) ;
11111111 assert_eq ! ( blocks[ 0 ] , block. number) ;
11121112
1113- let blocks = state. get_blocks_by_pool_and_epoch ( & vec ! [ 1 ] , 3 ) . unwrap ( ) ;
1114- assert_eq ! ( blocks. len( ) , 0 ) ;
1113+ assert ! ( state. get_blocks_by_pool_and_epoch( & vec![ 1 ] , 3 ) . is_none( ) ) ;
11151114 }
11161115}
Original file line number Diff line number Diff line change @@ -48,7 +48,11 @@ impl StoreConfig {
4848 }
4949
5050 pub fn store_historical_state ( & self ) -> bool {
51- self . store_registration || self . store_updates || self . store_delegators || self . store_votes
51+ self . store_registration
52+ || self . store_updates
53+ || self . store_delegators
54+ || self . store_votes
55+ || self . store_blocks
5256 }
5357}
5458
You can’t perform that action at this time.
0 commit comments