@@ -80,11 +80,6 @@ pub trait EpochService: Sync + Send {
8080 & self ,
8181 ) -> StdResult < & CardanoTransactionsSigningConfig > ;
8282
83- /// Get next cardano transactions signing configuration used in next epoch
84- fn next_cardano_transactions_signing_config (
85- & self ,
86- ) -> StdResult < & CardanoTransactionsSigningConfig > ;
87-
8883 /// Get aggregate verification key for current epoch
8984 fn current_aggregate_verification_key ( & self ) -> StdResult < & ProtocolAggregateVerificationKey > ;
9085
@@ -470,15 +465,6 @@ impl EpochService for MithrilEpochService {
470465 . cardano_transactions_signing_config )
471466 }
472467
473- fn next_cardano_transactions_signing_config (
474- & self ,
475- ) -> StdResult < & CardanoTransactionsSigningConfig > {
476- Ok ( & self
477- . unwrap_data ( ) ?
478- . next_epoch_settings
479- . cardano_transactions_signing_config )
480- }
481-
482468 fn current_aggregate_verification_key ( & self ) -> StdResult < & ProtocolAggregateVerificationKey > {
483469 Ok ( & self . unwrap_computed_data ( ) ?. aggregate_verification_key )
484470 }
@@ -772,15 +758,6 @@ impl EpochService for FakeEpochService {
772758 . cardano_transactions_signing_config )
773759 }
774760
775- fn next_cardano_transactions_signing_config (
776- & self ,
777- ) -> StdResult < & CardanoTransactionsSigningConfig > {
778- Ok ( & self
779- . unwrap_data ( ) ?
780- . next_epoch_settings
781- . cardano_transactions_signing_config )
782- }
783-
784761 fn current_aggregate_verification_key ( & self ) -> StdResult < & ProtocolAggregateVerificationKey > {
785762 Ok ( & self . unwrap_computed_data ( ) ?. aggregate_verification_key )
786763 }
@@ -873,7 +850,6 @@ mod tests {
873850 protocol_parameters : ProtocolParameters ,
874851 next_protocol_parameters : ProtocolParameters ,
875852 cardano_signing_config : CardanoTransactionsSigningConfig ,
876- next_cardano_signing_config : CardanoTransactionsSigningConfig ,
877853 signer_registration_protocol_parameters : ProtocolParameters ,
878854 current_signers_with_stake : BTreeSet < SignerWithStake > ,
879855 next_signers_with_stake : BTreeSet < SignerWithStake > ,
@@ -904,9 +880,6 @@ mod tests {
904880 cardano_signing_config : service
905881 . current_cardano_transactions_signing_config ( ) ?
906882 . clone ( ) ,
907- next_cardano_signing_config : service
908- . next_cardano_transactions_signing_config ( ) ?
909- . clone ( ) ,
910883 current_signers_with_stake : service
911884 . current_signers_with_stake ( ) ?
912885 . clone ( )
@@ -1103,7 +1076,6 @@ mod tests {
11031076 next_protocol_parameters: next_epoch_fixture. protocol_parameters( ) ,
11041077 signer_registration_protocol_parameters,
11051078 cardano_signing_config: CardanoTransactionsSigningConfig :: dummy( ) ,
1106- next_cardano_signing_config: CardanoTransactionsSigningConfig :: dummy( ) ,
11071079 current_signers_with_stake: current_epoch_fixture
11081080 . signers_with_stake( )
11091081 . into_iter( )
@@ -1336,10 +1308,6 @@ mod tests {
13361308 "current_cardano_transactions_signing_config" ,
13371309 service. current_cardano_transactions_signing_config ( ) . err ( ) ,
13381310 ) ,
1339- (
1340- "next_cardano_transactions_signing_config" ,
1341- service. next_cardano_transactions_signing_config ( ) . err ( ) ,
1342- ) ,
13431311 (
13441312 "current_signers_with_stake" ,
13451313 service. current_signers_with_stake ( ) . err ( ) ,
@@ -1394,7 +1362,6 @@ mod tests {
13941362 assert ! ( service. next_protocol_parameters( ) . is_ok( ) ) ;
13951363 assert ! ( service. signer_registration_protocol_parameters( ) . is_ok( ) ) ;
13961364 assert ! ( service. current_cardano_transactions_signing_config( ) . is_ok( ) ) ;
1397- assert ! ( service. next_cardano_transactions_signing_config( ) . is_ok( ) ) ;
13981365 assert ! ( service. current_signers_with_stake( ) . is_ok( ) ) ;
13991366 assert ! ( service. next_signers_with_stake( ) . is_ok( ) ) ;
14001367 assert ! ( service. current_signers( ) . is_ok( ) ) ;
0 commit comments