File tree Expand file tree Collapse file tree 2 files changed +1
-16
lines changed Expand file tree Collapse file tree 2 files changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ jobs:
133
133
- tests::signer::v0::continue_after_fast_block_no_sortition
134
134
- tests::signer::v0::block_validation_response_timeout
135
135
- tests::signer::v0::block_validation_pending_table
136
+ - tests::signer::v0::new_tenure_while_validating_previous_scenario
136
137
- tests::signer::v0::tenure_extend_after_bad_commit
137
138
- tests::signer::v0::block_proposal_max_age_rejections
138
139
- tests::signer::v0::global_acceptance_depends_on_block_announcement
Original file line number Diff line number Diff line change @@ -995,22 +995,6 @@ impl SignerDb {
995
995
Ok ( Some ( broadcasted) )
996
996
}
997
997
998
- /// Get the current state of a given block in the database
999
- pub fn get_block_state (
1000
- & self ,
1001
- block_sighash : & Sha512Trunc256Sum ,
1002
- ) -> Result < Option < BlockState > , DBError > {
1003
- let qry = "SELECT state FROM blocks WHERE signer_signature_hash = ?1 LIMIT 1" ;
1004
- let args = params ! [ block_sighash] ;
1005
- let state_opt: Option < String > = query_row ( & self . db , qry, args) ?;
1006
- let Some ( state) = state_opt else {
1007
- return Ok ( None ) ;
1008
- } ;
1009
- Ok ( Some (
1010
- BlockState :: try_from ( state. as_str ( ) ) . map_err ( |_| DBError :: Corruption ) ?,
1011
- ) )
1012
- }
1013
-
1014
998
/// Get a pending block validation, sorted by the time at which it was added to the pending table.
1015
999
/// If found, remove it from the pending table.
1016
1000
pub fn get_and_remove_pending_block_validation (
You can’t perform that action at this time.
0 commit comments