@@ -80,11 +80,6 @@ pub trait EpochService: Sync + Send {
80
80
& self ,
81
81
) -> StdResult < & CardanoTransactionsSigningConfig > ;
82
82
83
- /// Get next cardano transactions signing configuration used in next epoch
84
- fn next_cardano_transactions_signing_config (
85
- & self ,
86
- ) -> StdResult < & CardanoTransactionsSigningConfig > ;
87
-
88
83
/// Get aggregate verification key for current epoch
89
84
fn current_aggregate_verification_key ( & self ) -> StdResult < & ProtocolAggregateVerificationKey > ;
90
85
@@ -470,15 +465,6 @@ impl EpochService for MithrilEpochService {
470
465
. cardano_transactions_signing_config )
471
466
}
472
467
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
-
482
468
fn current_aggregate_verification_key ( & self ) -> StdResult < & ProtocolAggregateVerificationKey > {
483
469
Ok ( & self . unwrap_computed_data ( ) ?. aggregate_verification_key )
484
470
}
@@ -772,15 +758,6 @@ impl EpochService for FakeEpochService {
772
758
. cardano_transactions_signing_config )
773
759
}
774
760
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
-
784
761
fn current_aggregate_verification_key ( & self ) -> StdResult < & ProtocolAggregateVerificationKey > {
785
762
Ok ( & self . unwrap_computed_data ( ) ?. aggregate_verification_key )
786
763
}
@@ -873,7 +850,6 @@ mod tests {
873
850
protocol_parameters : ProtocolParameters ,
874
851
next_protocol_parameters : ProtocolParameters ,
875
852
cardano_signing_config : CardanoTransactionsSigningConfig ,
876
- next_cardano_signing_config : CardanoTransactionsSigningConfig ,
877
853
signer_registration_protocol_parameters : ProtocolParameters ,
878
854
current_signers_with_stake : BTreeSet < SignerWithStake > ,
879
855
next_signers_with_stake : BTreeSet < SignerWithStake > ,
@@ -904,9 +880,6 @@ mod tests {
904
880
cardano_signing_config : service
905
881
. current_cardano_transactions_signing_config ( ) ?
906
882
. clone ( ) ,
907
- next_cardano_signing_config : service
908
- . next_cardano_transactions_signing_config ( ) ?
909
- . clone ( ) ,
910
883
current_signers_with_stake : service
911
884
. current_signers_with_stake ( ) ?
912
885
. clone ( )
@@ -1103,7 +1076,6 @@ mod tests {
1103
1076
next_protocol_parameters: next_epoch_fixture. protocol_parameters( ) ,
1104
1077
signer_registration_protocol_parameters,
1105
1078
cardano_signing_config: CardanoTransactionsSigningConfig :: dummy( ) ,
1106
- next_cardano_signing_config: CardanoTransactionsSigningConfig :: dummy( ) ,
1107
1079
current_signers_with_stake: current_epoch_fixture
1108
1080
. signers_with_stake( )
1109
1081
. into_iter( )
@@ -1336,10 +1308,6 @@ mod tests {
1336
1308
"current_cardano_transactions_signing_config" ,
1337
1309
service. current_cardano_transactions_signing_config ( ) . err ( ) ,
1338
1310
) ,
1339
- (
1340
- "next_cardano_transactions_signing_config" ,
1341
- service. next_cardano_transactions_signing_config ( ) . err ( ) ,
1342
- ) ,
1343
1311
(
1344
1312
"current_signers_with_stake" ,
1345
1313
service. current_signers_with_stake ( ) . err ( ) ,
@@ -1394,7 +1362,6 @@ mod tests {
1394
1362
assert ! ( service. next_protocol_parameters( ) . is_ok( ) ) ;
1395
1363
assert ! ( service. signer_registration_protocol_parameters( ) . is_ok( ) ) ;
1396
1364
assert ! ( service. current_cardano_transactions_signing_config( ) . is_ok( ) ) ;
1397
- assert ! ( service. next_cardano_transactions_signing_config( ) . is_ok( ) ) ;
1398
1365
assert ! ( service. current_signers_with_stake( ) . is_ok( ) ) ;
1399
1366
assert ! ( service. next_signers_with_stake( ) . is_ok( ) ) ;
1400
1367
assert ! ( service. current_signers( ) . is_ok( ) ) ;
0 commit comments