@@ -43,7 +43,6 @@ type ArgsNewNetworkProvider struct {
4343 FirstHistoricalEpoch uint32
4444 NumHistoricalEpochs uint32
4545 ShouldHandleContracts bool
46- ActivationEpochSpica uint32
4746
4847 ObserverFacade observerFacade
4948
@@ -66,7 +65,6 @@ type networkProvider struct {
6665 firstHistoricalEpoch uint32
6766 numHistoricalEpochs uint32
6867 shouldHandleContracts bool
69- activationEpochSpica uint32
7068
7169 observerFacade observerFacade
7270
@@ -107,7 +105,6 @@ func NewNetworkProvider(args ArgsNewNetworkProvider) (*networkProvider, error) {
107105 firstHistoricalEpoch : args .FirstHistoricalEpoch ,
108106 numHistoricalEpochs : args .NumHistoricalEpochs ,
109107 shouldHandleContracts : args .ShouldHandleContracts ,
110- activationEpochSpica : args .ActivationEpochSpica ,
111108
112109 observerFacade : args .ObserverFacade ,
113110
@@ -473,11 +470,6 @@ func (provider *networkProvider) ComputeTransactionFeeForMoveBalance(tx *transac
473470 return fee
474471}
475472
476- // IsReleaseSpicaActive returns whether the Spica release is active in the provided epoch
477- func (provider * networkProvider ) IsReleaseSpicaActive (epoch uint32 ) bool {
478- return epoch >= provider .activationEpochSpica
479- }
480-
481473// LogDescription writes a description of the network provider in the log output
482474func (provider * networkProvider ) LogDescription () {
483475 log .Info ("Description of network provider" ,
@@ -491,7 +483,6 @@ func (provider *networkProvider) LogDescription() {
491483 "firstHistoricalEpoch" , provider .firstHistoricalEpoch ,
492484 "numHistoricalEpochs" , provider .numHistoricalEpochs ,
493485 "shouldHandleContracts" , provider .shouldHandleContracts ,
494- "activationEpochSpica" , provider .activationEpochSpica ,
495486 "nativeCurrency" , provider .GetNativeCurrency ().Symbol ,
496487 "customCurrencies" , provider .GetCustomCurrenciesSymbols (),
497488 )
0 commit comments