From bd46dac4de4bcb284d6b6a42aa01d1b0216dddd9 Mon Sep 17 00:00:00 2001 From: Omer <100387053+omerlavanet@users.noreply.github.com> Date: Thu, 29 Aug 2024 20:59:40 +0300 Subject: [PATCH 1/5] chore: refactor consumer results into a class (#1653) * feat: PRT - dappid and consumer ip added to protocol message. * fix test * feat: PRT - adding relay processor retry options * rename * improving the features * added result manager * removed user data * fix lint * fix test * merge fix * risky brola * fix conflict test. * fixed all comments * llinty * fix lint * bugberan * fix comment --------- Co-authored-by: Ran Mishael --- protocol/chainlib/protocol_message.go | 5 + protocol/integration/protocol_test.go | 20 +- .../lavasession/consumer_session_manager.go | 5 +- protocol/rpcconsumer/relay_processor.go | 193 ++++------------ protocol/rpcconsumer/results_manager.go | 210 ++++++++++++++++++ 5 files changed, 270 insertions(+), 163 deletions(-) create mode 100644 protocol/rpcconsumer/results_manager.go diff --git a/protocol/chainlib/protocol_message.go b/protocol/chainlib/protocol_message.go index 0f6777a04f..d2576c2de2 100644 --- a/protocol/chainlib/protocol_message.go +++ b/protocol/chainlib/protocol_message.go @@ -7,6 +7,11 @@ import ( pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" ) +type UserData struct { + ConsumerIp string + DappId string +} + type BaseProtocolMessage struct { ChainMessage directiveHeaders map[string]string diff --git a/protocol/integration/protocol_test.go b/protocol/integration/protocol_test.go index 8fece3cd9f..e53463335a 100644 --- a/protocol/integration/protocol_test.go +++ b/protocol/integration/protocol_test.go @@ -1090,12 +1090,12 @@ func TestSameProviderConflictReport(t *testing.T) { twoProvidersConflictSent := false sameProviderConflictSent := false - wg := sync.WaitGroup{} - wg.Add(1) + numberOfRelays := 10 + reported := make(chan bool, numberOfRelays) txConflictDetectionMock := func(ctx context.Context, finalizationConflict *conflicttypes.FinalizationConflict, responseConflict *conflicttypes.ResponseConflict, conflictHandler common.ConflictHandlerInterface) error { if finalizationConflict == nil { require.FailNow(t, "Finalization conflict should not be nil") - wg.Done() + reported <- true return nil } utils.LavaFormatDebug("@@@@@@@@@@@@@@@ Called conflict mock tx", utils.LogAttr("provider0", finalizationConflict.RelayFinalization_0.RelaySession.Provider), utils.LogAttr("provider0", finalizationConflict.RelayFinalization_1.RelaySession.Provider)) @@ -1114,7 +1114,7 @@ func TestSameProviderConflictReport(t *testing.T) { } twoProvidersConflictSent = true - wg.Done() + reported <- true return nil } mockConsumerStateTracker.SetTxConflictDetectionWrapper(txConflictDetectionMock) @@ -1137,14 +1137,16 @@ func TestSameProviderConflictReport(t *testing.T) { req, err := http.NewRequest(http.MethodPost, "http://"+consumerListenAddress+"/cosmos/tx/v1beta1/txs", nil) require.NoError(t, err) - for i := 0; i < 2; i++ { + for i := 0; i < numberOfRelays; i++ { // Two relays to trigger both same provider conflict and - resp, err := client.Do(req) - require.NoError(t, err) - require.Equal(t, http.StatusOK, resp.StatusCode) + go func() { + resp, err := client.Do(req) + require.NoError(t, err) + require.Equal(t, http.StatusOK, resp.StatusCode) + }() } // conflict calls happen concurrently, therefore we need to wait the call. - wg.Wait() + <-reported require.True(t, sameProviderConflictSent) require.True(t, twoProvidersConflictSent) }) diff --git a/protocol/lavasession/consumer_session_manager.go b/protocol/lavasession/consumer_session_manager.go index 9b806a4d69..397c1301f8 100644 --- a/protocol/lavasession/consumer_session_manager.go +++ b/protocol/lavasession/consumer_session_manager.go @@ -832,6 +832,8 @@ func (csm *ConsumerSessionManager) removeAddressFromValidAddresses(address strin // Blocks a provider making him unavailable for pick this epoch, will also report him as unavailable if reportProvider is set to true. // Validates that the sessionEpoch is equal to cs.currentEpoch otherwise doesn't take effect. func (csm *ConsumerSessionManager) blockProvider(address string, reportProvider bool, sessionEpoch uint64, disconnections uint64, errors uint64, allowSecondChance bool, reconnectCallback func() error, errorsForReport []error) error { + utils.LavaFormatDebug("CSM Blocking provider", utils.LogAttr("address", address), utils.LogAttr("errorsForReport", errorsForReport), utils.LogAttr("allowing_second_chance", allowSecondChance)) + // find Index of the address if sessionEpoch != csm.atomicReadCurrentEpoch() { // we read here atomically so cs.currentEpoch cant change in the middle, so we can save time if epochs mismatch return EpochMismatchError @@ -847,10 +849,10 @@ func (csm *ConsumerSessionManager) blockProvider(address string, reportProvider go func() { <-time.After(retrySecondChanceAfter) // check epoch is still relevant, if not just return - utils.LavaFormatDebug("Running second chance for provider", utils.LogAttr("address", address)) if sessionEpoch != csm.atomicReadCurrentEpoch() { return } + utils.LavaFormatDebug("Running second chance for provider", utils.LogAttr("address", address)) csm.validateAndReturnBlockedProviderToValidAddressesList(address) }() } @@ -967,6 +969,7 @@ func (csm *ConsumerSessionManager) OnSessionFailure(consumerSession *SingleConsu if err != nil { return err } + if !redemptionSession && blockProvider { publicProviderAddress, pairingEpoch := parentConsumerSessionsWithProvider.getPublicLavaAddressAndPairingEpoch() err = csm.blockProvider(publicProviderAddress, reportProvider, pairingEpoch, 0, consecutiveErrors, allowSecondChance, nil, errorsForConsumerSession) diff --git a/protocol/rpcconsumer/relay_processor.go b/protocol/rpcconsumer/relay_processor.go index 7d66aae584..bc671776b8 100644 --- a/protocol/rpcconsumer/relay_processor.go +++ b/protocol/rpcconsumer/relay_processor.go @@ -15,7 +15,6 @@ import ( "github.com/lavanet/lava/v2/protocol/common" "github.com/lavanet/lava/v2/protocol/lavasession" "github.com/lavanet/lava/v2/utils" - spectypes "github.com/lavanet/lava/v2/x/spec/types" ) type Selection int @@ -46,9 +45,6 @@ type RelayProcessor struct { usedProviders *lavasession.UsedProviders responses chan *relayResponse requiredSuccesses int - nodeResponseErrors RelayErrors - protocolResponseErrors RelayErrors - successResults []common.RelayResult lock sync.RWMutex protocolMessage chainlib.ProtocolMessage guid uint64 @@ -60,6 +56,7 @@ type RelayProcessor struct { metricsInf MetricsInterface chainIdAndApiInterfaceGetter chainIdAndApiInterfaceGetter relayRetriesManager *RelayRetriesManager + ResultsManager } func NewRelayProcessor( @@ -85,8 +82,7 @@ func NewRelayProcessor( usedProviders: usedProviders, requiredSuccesses: requiredSuccesses, responses: make(chan *relayResponse, MaxCallsPerRelay), // we set it as buffered so it is not blocking - nodeResponseErrors: RelayErrors{relayErrors: []RelayError{}}, - protocolResponseErrors: RelayErrors{relayErrors: []RelayError{}, onFailureMergeAll: true}, + ResultsManager: NewResultsManager(guid), protocolMessage: protocolMessage, guid: guid, selection: selection, @@ -131,17 +127,13 @@ func (rp *RelayProcessor) String() string { if rp == nil { return "" } - rp.lock.RLock() - nodeErrors := len(rp.nodeResponseErrors.relayErrors) - protocolErrors := len(rp.protocolResponseErrors.relayErrors) - results := len(rp.successResults) - usedProviders := rp.usedProviders - rp.lock.RUnlock() + + usedProviders := rp.GetUsedProviders() currentlyUsedAddresses := usedProviders.CurrentlyUsedAddresses() unwantedAddresses := usedProviders.UnwantedAddresses() - return fmt.Sprintf("relayProcessor {results:%d, nodeErrors:%d, protocolErrors:%d,unwantedAddresses: %s,currentlyUsedAddresses:%s}", - results, nodeErrors, protocolErrors, strings.Join(unwantedAddresses, ";"), strings.Join(currentlyUsedAddresses, ";")) + return fmt.Sprintf("relayProcessor {%s, unwantedAddresses: %s,currentlyUsedAddresses:%s}", + rp.ResultsManager.String(), strings.Join(unwantedAddresses, ";"), strings.Join(currentlyUsedAddresses, ";")) } func (rp *RelayProcessor) GetUsedProviders() *lavasession.UsedProviders { @@ -160,34 +152,7 @@ func (rp *RelayProcessor) NodeResults() []common.RelayResult { return nil } rp.readExistingResponses() - rp.lock.RLock() - defer rp.lock.RUnlock() - return rp.nodeResultsInner() -} - -// only when locked -func (rp *RelayProcessor) nodeResultsInner() []common.RelayResult { - // start with results and add to them node results - nodeResults := rp.successResults - nodeResults = append(nodeResults, rp.nodeErrors()...) - return nodeResults -} - -// only when locked -func (rp *RelayProcessor) nodeErrors() (ret []common.RelayResult) { - for _, relayError := range rp.nodeResponseErrors.relayErrors { - ret = append(ret, relayError.response.relayResult) - } - return ret -} - -func (rp *RelayProcessor) ProtocolErrors() uint64 { - if rp == nil { - return 0 - } - rp.lock.RLock() - defer rp.lock.RUnlock() - return uint64(len(rp.protocolResponseErrors.relayErrors)) + return rp.ResultsManager.NodeResults() } func (rp *RelayProcessor) SetResponse(response *relayResponse) { @@ -200,83 +165,12 @@ func (rp *RelayProcessor) SetResponse(response *relayResponse) { rp.responses <- response } -func (rp *RelayProcessor) setValidResponse(response *relayResponse) { - rp.lock.Lock() - defer rp.lock.Unlock() - - // future relay requests and data reliability requests need to ask for the same specific block height to get consensus on the reply - // we do not modify the chain message data on the consumer, only it's requested block, so we let the provider know it can't put any block height it wants by setting a specific block height - reqBlock, _ := rp.protocolMessage.RequestedBlock() - if reqBlock == spectypes.LATEST_BLOCK { - // TODO: when we turn on dataReliability on latest call UpdateLatest, until then we turn it off always - // modifiedOnLatestReq := rp.chainMessage.UpdateLatestBlockInMessage(response.relayResult.Reply.LatestBlock, false) - // if !modifiedOnLatestReq { - response.relayResult.Finalized = false // shut down data reliability - // } - } - - if response.relayResult.Reply == nil { - utils.LavaFormatError("got to setValidResponse with nil Reply", - response.err, - utils.LogAttr("ProviderInfo", response.relayResult.ProviderInfo), - utils.LogAttr("StatusCode", response.relayResult.StatusCode), - utils.LogAttr("Finalized", response.relayResult.Finalized), - utils.LogAttr("Quorum", response.relayResult.Quorum), - ) - return - } - // no error, update the seen block - blockSeen := response.relayResult.Reply.LatestBlock - // nil safe - userData := rp.protocolMessage.GetUserData() - rp.consumerConsistency.SetSeenBlock(blockSeen, userData) - // on subscribe results, we just append to successful results instead of parsing results because we already have a validation. - if chainlib.IsFunctionTagOfType(rp.protocolMessage, spectypes.FUNCTION_TAG_SUBSCRIBE) { - rp.successResults = append(rp.successResults, response.relayResult) - return - } - - // check response error - foundError, errorMessage := rp.protocolMessage.CheckResponseError(response.relayResult.Reply.Data, response.relayResult.StatusCode) - if foundError { - // this is a node error, meaning we still didn't get a good response. - // we may choose to wait until there will be a response or timeout happens - // if we decide to wait and timeout happens we will take the majority of response messages - err := fmt.Errorf("%s", errorMessage) - rp.nodeResponseErrors.relayErrors = append(rp.nodeResponseErrors.relayErrors, RelayError{err: err, ProviderInfo: response.relayResult.ProviderInfo, response: response}) - // send relay error metrics only on non stateful queries, as stateful queries always return X-1/X errors. - if rp.selection != BestResult { - go rp.metricsInf.SetRelayNodeErrorMetric(rp.chainIdAndApiInterfaceGetter.GetChainIdAndApiInterface()) - utils.LavaFormatInfo("Relay received a node error", utils.LogAttr("Error", err), utils.LogAttr("provider", response.relayResult.ProviderInfo), utils.LogAttr("Request", rp.protocolMessage.GetApi().Name), utils.LogAttr("requested_block", reqBlock)) - } - return - } - rp.successResults = append(rp.successResults, response.relayResult) -} - -func (rp *RelayProcessor) setErrorResponse(response *relayResponse) { - rp.lock.Lock() - defer rp.lock.Unlock() - utils.LavaFormatDebug("could not send relay to provider", utils.Attribute{Key: "GUID", Value: rp.guid}, utils.Attribute{Key: "provider", Value: response.relayResult.ProviderInfo.ProviderAddress}, utils.Attribute{Key: "error", Value: response.err.Error()}) - rp.protocolResponseErrors.relayErrors = append(rp.protocolResponseErrors.relayErrors, RelayError{err: response.err, ProviderInfo: response.relayResult.ProviderInfo, response: response}) -} - func (rp *RelayProcessor) checkEndProcessing(responsesCount int) bool { rp.lock.RLock() defer rp.lock.RUnlock() - resultsCount := len(rp.successResults) - if resultsCount >= rp.requiredSuccesses { - // we have enough successes, we can return + if rp.ResultsManager.RequiredResults(rp.requiredSuccesses, rp.selection) { return true } - if rp.selection == Quorum { - // we need a quorum of all node results - nodeErrors := len(rp.nodeResponseErrors.relayErrors) - if nodeErrors+resultsCount >= rp.requiredSuccesses { - // we have enough node results for our quorum - return true - } - } // check if we got all of the responses if responsesCount >= rp.usedProviders.SessionsLatestBatch() { // no active sessions, and we read all the responses, we can return @@ -285,19 +179,6 @@ func (rp *RelayProcessor) checkEndProcessing(responsesCount int) bool { return false } -// this function defines if we should use the processor to return the result (meaning it has some insight and responses) or just return to the user -func (rp *RelayProcessor) HasResults() bool { - if rp == nil { - return false - } - rp.lock.RLock() - defer rp.lock.RUnlock() - resultsCount := len(rp.successResults) - nodeErrors := len(rp.nodeResponseErrors.relayErrors) - protocolErrors := len(rp.protocolResponseErrors.relayErrors) - return resultsCount+nodeErrors+protocolErrors > 0 -} - func (rp *RelayProcessor) getInputMsgInfoHashString() (string, error) { hash, err := rp.protocolMessage.GetRawRequestHash() hashString := "" @@ -350,7 +231,7 @@ func (rp *RelayProcessor) HasRequiredNodeResults() bool { } rp.lock.RLock() defer rp.lock.RUnlock() - resultsCount := len(rp.successResults) + resultsCount, nodeErrors, _ := rp.GetResults() hash, hashErr := rp.getInputMsgInfoHashString() if resultsCount >= rp.requiredSuccesses { @@ -361,7 +242,6 @@ func (rp *RelayProcessor) HasRequiredNodeResults() bool { // Check if we need to add node errors retry metrics if rp.selection == Quorum { // If nodeErrors length is larger than 0, our retry mechanism was activated. we add our metrics now. - nodeErrors := len(rp.nodeResponseErrors.relayErrors) if nodeErrors > 0 { chainId, apiInterface := rp.chainIdAndApiInterfaceGetter.GetChainIdAndApiInterface() go rp.metricsInf.SetNodeErrorRecoveredSuccessfullyMetric(chainId, apiInterface, strconv.Itoa(nodeErrors)) @@ -371,7 +251,6 @@ func (rp *RelayProcessor) HasRequiredNodeResults() bool { } if rp.selection == Quorum { // We need a quorum of all node results - nodeErrors := len(rp.nodeResponseErrors.relayErrors) if nodeErrors+resultsCount >= rp.requiredSuccesses { // Retry on node error flow: return rp.shouldRetryRelay(resultsCount, hashErr, nodeErrors, hash) @@ -382,13 +261,17 @@ func (rp *RelayProcessor) HasRequiredNodeResults() bool { } func (rp *RelayProcessor) handleResponse(response *relayResponse) { - if response == nil { - return + nodeError := rp.ResultsManager.SetResponse(response, rp.protocolMessage) + // send relay error metrics only on non stateful queries, as stateful queries always return X-1/X errors. + if nodeError != nil && rp.selection != BestResult { + go rp.metricsInf.SetRelayNodeErrorMetric(rp.chainIdAndApiInterfaceGetter.GetChainIdAndApiInterface()) + utils.LavaFormatInfo("Relay received a node error", utils.LogAttr("Error", nodeError), utils.LogAttr("provider", response.relayResult.ProviderInfo), utils.LogAttr("Request", rp.protocolMessage.GetApi().Name)) } - if response.err != nil { - rp.setErrorResponse(response) - } else { - rp.setValidResponse(response) + + if response != nil && response.relayResult.GetReply().GetLatestBlock() > 0 { + // set consumer consistency when possible + blockSeen := response.relayResult.GetReply().GetLatestBlock() + rp.consumerConsistency.SetSeenBlock(blockSeen, rp.protocolMessage.GetUserData()) } } @@ -501,54 +384,58 @@ func (rp *RelayProcessor) ProcessingResult() (returnedResult *common.RelayResult rp.lock.RLock() defer rp.lock.RUnlock() + + successResults, nodeErrors, protocolErrors := rp.GetResultsData() + successResultsCount, nodeErrorCount, protocolErrorCount := len(successResults), len(nodeErrors), len(protocolErrors) // there are enough successes - successResultsCount := len(rp.successResults) if successResultsCount >= rp.requiredSuccesses { - return rp.responsesQuorum(rp.successResults, rp.requiredSuccesses) + return rp.responsesQuorum(successResults, rp.requiredSuccesses) } - nodeResults := rp.nodeResultsInner() - // there are not enough successes, let's check if there are enough node errors if rp.debugRelay { // adding as much debug info as possible. all successful relays, all node errors and all protocol errors utils.LavaFormatDebug("[Processing Result] Debug Relay", utils.LogAttr("rp.requiredSuccesses", rp.requiredSuccesses)) - utils.LavaFormatDebug("[Processing Debug] number of node results", utils.LogAttr("len(rp.successResults)", len(rp.successResults)), utils.LogAttr("len(rp.nodeResponseErrors.relayErrors)", len(rp.nodeResponseErrors.relayErrors)), utils.LogAttr("len(rp.protocolResponseErrors.relayErrors)", len(rp.protocolResponseErrors.relayErrors))) - for idx, result := range rp.successResults { + utils.LavaFormatDebug("[Processing Debug] number of node results", utils.LogAttr("successResultsCount", successResultsCount), utils.LogAttr("nodeErrorCount", nodeErrorCount), utils.LogAttr("protocolErrorCount", protocolErrorCount)) + for idx, result := range successResults { utils.LavaFormatDebug("[Processing Debug] success result", utils.LogAttr("idx", idx), utils.LogAttr("result", result)) } - for idx, result := range rp.nodeResponseErrors.relayErrors { + for idx, result := range nodeErrors { utils.LavaFormatDebug("[Processing Debug] node result", utils.LogAttr("idx", idx), utils.LogAttr("result", result)) } - for idx, result := range rp.protocolResponseErrors.relayErrors { + for idx, result := range protocolErrors { utils.LavaFormatDebug("[Processing Debug] protocol error", utils.LogAttr("idx", idx), utils.LogAttr("result", result)) } } - if len(nodeResults) >= rp.requiredSuccesses { + // there are not enough successes, let's check if there are enough node errors + if successResultsCount+nodeErrorCount >= rp.requiredSuccesses { if rp.selection == Quorum { + nodeResults := make([]common.RelayResult, 0, len(successResults)+len(nodeErrors)) + nodeResults = append(nodeResults, successResults...) + nodeResults = append(nodeResults, nodeErrors...) return rp.responsesQuorum(nodeResults, rp.requiredSuccesses) - } else if rp.selection == BestResult && successResultsCount > len(rp.nodeResponseErrors.relayErrors) { + } else if rp.selection == BestResult && successResultsCount > nodeErrorCount { // we have more than half succeeded, and we are success oriented - return rp.responsesQuorum(rp.successResults, (rp.requiredSuccesses+1)/2) + return rp.responsesQuorum(successResults, (rp.requiredSuccesses+1)/2) } } // we don't have enough for a quorum, prefer a node error on protocol errors - if len(rp.nodeResponseErrors.relayErrors) >= rp.requiredSuccesses { // if we have node errors, we prefer returning them over protocol errors. - nodeErr := rp.nodeResponseErrors.GetBestErrorMessageForUser() + if nodeErrorCount >= rp.requiredSuccesses { // if we have node errors, we prefer returning them over protocol errors. + nodeErr := rp.GetBestNodeErrorMessageForUser() return &nodeErr.response.relayResult, nil } // if we got here we trigger a protocol error returnedResult = &common.RelayResult{StatusCode: http.StatusInternalServerError} - if len(rp.nodeResponseErrors.relayErrors) > 0 { // if we have node errors, we prefer returning them over protocol errors, even if it's just the one - nodeErr := rp.nodeResponseErrors.GetBestErrorMessageForUser() + if nodeErrorCount > 0 { // if we have node errors, we prefer returning them over protocol errors, even if it's just the one + nodeErr := rp.GetBestNodeErrorMessageForUser() processingError = nodeErr.err errorResponse := nodeErr.response if errorResponse != nil { returnedResult = &errorResponse.relayResult } - } else if len(rp.protocolResponseErrors.relayErrors) > 0 { - protocolErr := rp.protocolResponseErrors.GetBestErrorMessageForUser() + } else if protocolErrorCount > 0 { + protocolErr := rp.GetBestProtocolErrorMessageForUser() processingError = protocolErr.err errorResponse := protocolErr.response if errorResponse != nil { diff --git a/protocol/rpcconsumer/results_manager.go b/protocol/rpcconsumer/results_manager.go new file mode 100644 index 0000000000..69f421f070 --- /dev/null +++ b/protocol/rpcconsumer/results_manager.go @@ -0,0 +1,210 @@ +package rpcconsumer + +import ( + "fmt" + "sync" + + "github.com/lavanet/lava/v2/protocol/chainlib" + common "github.com/lavanet/lava/v2/protocol/common" + "github.com/lavanet/lava/v2/utils" + spectypes "github.com/lavanet/lava/v2/x/spec/types" +) + +type ResultsManager interface { + String() string + NodeResults() []common.RelayResult + RequiredResults(requiredSuccesses int, selection Selection) bool + ProtocolErrors() uint64 + HasResults() bool + GetResults() (success int, nodeErrors int, protocolErrors int) + GetResultsData() (successResults []common.RelayResult, nodeErrors []common.RelayResult, protocolErrors []RelayError) + SetResponse(response *relayResponse, protocolMessage chainlib.ProtocolMessage) (nodeError error) + GetBestNodeErrorMessageForUser() RelayError + GetBestProtocolErrorMessageForUser() RelayError + nodeErrors() (ret []common.RelayResult) +} + +type ResultsManagerInst struct { + nodeResponseErrors RelayErrors + protocolResponseErrors RelayErrors + successResults []common.RelayResult + lock sync.RWMutex + guid uint64 +} + +func NewResultsManager(guid uint64) ResultsManager { + return &ResultsManagerInst{ + guid: guid, + nodeResponseErrors: RelayErrors{relayErrors: []RelayError{}}, + protocolResponseErrors: RelayErrors{relayErrors: []RelayError{}, onFailureMergeAll: true}, + } +} + +func (rp *ResultsManagerInst) setErrorResponse(response *relayResponse) { + rp.lock.Lock() + defer rp.lock.Unlock() + utils.LavaFormatDebug("could not send relay to provider", utils.Attribute{Key: "GUID", Value: rp.guid}, utils.Attribute{Key: "provider", Value: response.relayResult.ProviderInfo.ProviderAddress}, utils.Attribute{Key: "error", Value: response.err.Error()}) + rp.protocolResponseErrors.relayErrors = append(rp.protocolResponseErrors.relayErrors, RelayError{err: response.err, ProviderInfo: response.relayResult.ProviderInfo, response: response}) +} + +// only when locked +func (rp *ResultsManagerInst) nodeResultsInner() []common.RelayResult { + // start with results and add to them node results + nodeResults := rp.successResults + nodeResults = append(nodeResults, rp.nodeErrors()...) + return nodeResults +} + +// only when locked +func (rp *ResultsManagerInst) nodeErrors() (ret []common.RelayResult) { + for _, relayError := range rp.nodeResponseErrors.relayErrors { + ret = append(ret, relayError.response.relayResult) + } + return ret +} + +// returns an error if and only if it was a parsed node error +func (rp *ResultsManagerInst) setValidResponse(response *relayResponse, protocolMessage chainlib.ProtocolMessage) (nodeError error) { + rp.lock.Lock() + defer rp.lock.Unlock() + + // future relay requests and data reliability requests need to ask for the same specific block height to get consensus on the reply + // we do not modify the chain message data on the consumer, only it's requested block, so we let the provider know it can't put any block height it wants by setting a specific block height + reqBlock, _ := protocolMessage.RequestedBlock() + if reqBlock == spectypes.LATEST_BLOCK { + // TODO: when we turn on dataReliability on latest call UpdateLatest, until then we turn it off always + // modifiedOnLatestReq := rp.chainMessage.UpdateLatestBlockInMessage(response.relayResult.Reply.LatestBlock, false) + // if !modifiedOnLatestReq { + response.relayResult.Finalized = false // shut down data reliability + // } + } + + if response.relayResult.Reply == nil { + utils.LavaFormatError("got to setValidResponse with nil Reply", + response.err, + utils.LogAttr("ProviderInfo", response.relayResult.ProviderInfo), + utils.LogAttr("StatusCode", response.relayResult.StatusCode), + utils.LogAttr("Finalized", response.relayResult.Finalized), + utils.LogAttr("Quorum", response.relayResult.Quorum), + ) + return nil + } + + // on subscribe results, we just append to successful results instead of parsing results because we already have a validation. + if chainlib.IsFunctionTagOfType(protocolMessage, spectypes.FUNCTION_TAG_SUBSCRIBE) { + rp.successResults = append(rp.successResults, response.relayResult) + return nil + } + + // check response error + foundError, errorMessage := protocolMessage.CheckResponseError(response.relayResult.Reply.Data, response.relayResult.StatusCode) + if foundError { + // this is a node error, meaning we still didn't get a good response. + // we may choose to wait until there will be a response or timeout happens + // if we decide to wait and timeout happens we will take the majority of response messages + err := fmt.Errorf("%s", errorMessage) + rp.nodeResponseErrors.relayErrors = append(rp.nodeResponseErrors.relayErrors, RelayError{err: err, ProviderInfo: response.relayResult.ProviderInfo, response: response}) + return err + } + rp.successResults = append(rp.successResults, response.relayResult) + return nil +} + +func (rm *ResultsManagerInst) GetResults() (success int, nodeErrors int, protocolErrors int) { + rm.lock.RLock() + defer rm.lock.RUnlock() + + nodeErrors = len(rm.nodeResponseErrors.relayErrors) + protocolErrors = len(rm.protocolResponseErrors.relayErrors) + success = len(rm.successResults) + return success, nodeErrors, protocolErrors +} + +func (rm *ResultsManagerInst) String() string { + results, nodeErrors, protocolErrors := rm.GetResults() + return fmt.Sprintf("resultsManager {success %d, nodeErrors:%d, protocolErrors:%d}", results, nodeErrors, protocolErrors) +} + +// this function returns all results that came from a node, meaning success, and node errors +func (rp *ResultsManagerInst) NodeResults() []common.RelayResult { + if rp == nil { + return nil + } + rp.lock.RLock() + defer rp.lock.RUnlock() + return rp.nodeResultsInner() +} + +func (rp *ResultsManagerInst) ProtocolErrors() uint64 { + if rp == nil { + return 0 + } + rp.lock.RLock() + defer rp.lock.RUnlock() + return uint64(len(rp.protocolResponseErrors.relayErrors)) +} + +func (rp *ResultsManagerInst) RequiredResults(requiredSuccesses int, selection Selection) bool { + if rp == nil { + return false + } + rp.lock.RLock() + defer rp.lock.RUnlock() + resultsCount := len(rp.successResults) + if resultsCount >= requiredSuccesses { + // we have enough successes, we can return + return true + } + if selection == Quorum { + // we need a quorum of all node results + nodeErrors := len(rp.nodeResponseErrors.relayErrors) + if nodeErrors+resultsCount >= requiredSuccesses { + // we have enough node results for our quorum + return true + } + } + return false +} + +// this function defines if we should use the manager to return the result (meaning it has some insight and responses) or just return to the user +func (rp *ResultsManagerInst) HasResults() bool { + if rp == nil { + return false + } + rp.lock.RLock() + defer rp.lock.RUnlock() + resultsCount := len(rp.successResults) + nodeErrors := len(rp.nodeResponseErrors.relayErrors) + protocolErrors := len(rp.protocolResponseErrors.relayErrors) + return resultsCount+nodeErrors+protocolErrors > 0 +} + +func (rp *ResultsManagerInst) SetResponse(response *relayResponse, protocolMessage chainlib.ProtocolMessage) (nodeError error) { + if response == nil { + return nil + } + if response.err != nil { + rp.setErrorResponse(response) + } else { + return rp.setValidResponse(response, protocolMessage) + } + return nil +} + +func (rp *ResultsManagerInst) GetResultsData() (successResults []common.RelayResult, nodeErrors []common.RelayResult, protocolErrors []RelayError) { + rp.lock.RLock() + defer rp.lock.RUnlock() + return rp.successResults, rp.nodeErrors(), rp.protocolResponseErrors.relayErrors +} + +func (rp *ResultsManagerInst) GetBestNodeErrorMessageForUser() RelayError { + rp.lock.RLock() + defer rp.lock.RUnlock() + return rp.nodeResponseErrors.GetBestErrorMessageForUser() +} + +func (rp *ResultsManagerInst) GetBestProtocolErrorMessageForUser() RelayError { + rp.lock.RLock() + defer rp.lock.RUnlock() + return rp.protocolResponseErrors.GetBestErrorMessageForUser() +} From 8481fde84216648f9a20e7f2dc2c6b2447032057 Mon Sep 17 00:00:00 2001 From: oren-lava <111131399+oren-lava@users.noreply.github.com> Date: Sun, 1 Sep 2024 15:02:24 +0300 Subject: [PATCH 2/5] fix: total gas query: check sequence (#1659) * check sequence * revert time change --- utils/cli/multisend.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/utils/cli/multisend.go b/utils/cli/multisend.go index 7adf692594..60261a4e59 100644 --- a/utils/cli/multisend.go +++ b/utils/cli/multisend.go @@ -418,6 +418,19 @@ func NewQueryTotalGasCmd() *cobra.Command { totalgas := int64(0) numRelays := int64(0) sequence, _ := getSequence(account) + if sequence == 0 { + block := clientCtx.Height + if block == 0 { + res, err := clientCtx.Client.Status(context.Background()) + if err != nil { + fmt.Println("failed to get latest block height and account sequence") + return nil + } + block = res.SyncInfo.LatestBlockHeight + } + fmt.Printf("could not get account sequence for block %d\n", block) + return nil + } layout := time.RFC3339 for now.Sub(txtime) < 12*time.Hour { sequence-- From 0f407c27040e8681581df171aa3b85ef9646a1d4 Mon Sep 17 00:00:00 2001 From: Yaroms <103432884+Yaroms@users.noreply.github.com> Date: Sun, 1 Sep 2024 17:23:23 +0300 Subject: [PATCH 3/5] fix: CNS-v3.1.0 (#1664) * add migrators * up the version * add upgrade handlerUpgrade_3_1_0, * add print * fix migrator * add error print on failed migration * up protocol version --------- Co-authored-by: Yarom Swisa --- app/app.go | 1 + app/upgrades/empty_upgrades.go | 6 ++++++ x/pairing/keeper/migrations.go | 35 ++++++++++++++++++++++++++++++++++ x/pairing/module.go | 6 +++++- x/protocol/module.go | 19 +++++------------- x/protocol/types/params.go | 2 +- 6 files changed, 53 insertions(+), 16 deletions(-) diff --git a/app/app.go b/app/app.go index b812405633..d0b22c2740 100644 --- a/app/app.go +++ b/app/app.go @@ -202,6 +202,7 @@ var Upgrades = []upgrades.Upgrade{ upgrades.Upgrade_2_5_0, upgrades.Upgrade_3_0_0, upgrades.Upgrade_3_0_1, + upgrades.Upgrade_3_1_0, } // this line is used by starport scaffolding # stargate/wasm/app/enabledProposals diff --git a/app/upgrades/empty_upgrades.go b/app/upgrades/empty_upgrades.go index ece0389ba8..3eddfec1d9 100644 --- a/app/upgrades/empty_upgrades.go +++ b/app/upgrades/empty_upgrades.go @@ -294,3 +294,9 @@ var Upgrade_3_0_1 = Upgrade{ CreateUpgradeHandler: defaultUpgradeHandler, StoreUpgrades: store.StoreUpgrades{}, } + +var Upgrade_3_1_0 = Upgrade{ + UpgradeName: "v3.1.0", + CreateUpgradeHandler: defaultUpgradeHandler, + StoreUpgrades: store.StoreUpgrades{}, +} diff --git a/x/pairing/keeper/migrations.go b/x/pairing/keeper/migrations.go index c7d3cee690..3c9420eda8 100644 --- a/x/pairing/keeper/migrations.go +++ b/x/pairing/keeper/migrations.go @@ -1,7 +1,10 @@ package keeper import ( + "fmt" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/lavanet/lava/v2/utils" v2 "github.com/lavanet/lava/v2/x/pairing/migrations/v2" ) @@ -20,3 +23,35 @@ func (m Migrator) MigrateVersion2To3(ctx sdk.Context) error { v2.RemoveAllEpochPayments(ctx, m.keeper.storeKey) return nil } + +// MigrateVersion3To4 fix delegation total in the stake entries +func (m Migrator) MigrateVersion3To4(ctx sdk.Context) error { + entries := m.keeper.epochStorageKeeper.GetAllStakeEntriesCurrent(ctx) + epoch := m.keeper.epochStorageKeeper.GetCurrentNextEpoch(ctx) + for _, e := range entries { + delegations, err := m.keeper.dualstakingKeeper.GetProviderDelegators(ctx, e.Address, epoch) + if err != nil { + utils.LavaFormatError("failed getting provider delegators at MigrateVersion3To4", err, utils.LogAttr("provider", e.Address)) + continue + } + + delegateTotal := sdk.ZeroInt() + for _, d := range delegations { + if e.Address == d.Delegator || e.Vault == d.Delegator || d.ChainID != e.Chain { + continue + } + delegateTotal = delegateTotal.Add(d.Amount.Amount) + } + if !e.DelegateTotal.Amount.Equal(delegateTotal) { + fmt.Println("fixing delegate total for", e.Address, e.Chain) + + e.DelegateTotal.Amount = delegateTotal + if e.EffectiveStake().LT(m.keeper.specKeeper.GetMinStake(ctx, e.Chain).Amount) { + e.Freeze() + } + m.keeper.epochStorageKeeper.SetStakeEntryCurrent(ctx, e) + } + } + + return nil +} diff --git a/x/pairing/module.go b/x/pairing/module.go index ba70ae06bc..06b62f88fb 100644 --- a/x/pairing/module.go +++ b/x/pairing/module.go @@ -133,6 +133,10 @@ func (am AppModule) RegisterServices(cfg module.Configurator) { if err := cfg.RegisterMigration(types.ModuleName, 2, migrator.MigrateVersion2To3); err != nil { panic(fmt.Errorf("%s: failed to register migration to v3: %w", types.ModuleName, err)) } + // register v3 -> v4 migration + if err := cfg.RegisterMigration(types.ModuleName, 3, migrator.MigrateVersion3To4); err != nil { + panic(fmt.Errorf("%s: failed to register migration to v4: %w", types.ModuleName, err)) + } } // RegisterInvariants registers the capability module's invariants. @@ -157,7 +161,7 @@ func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.Raw } // ConsensusVersion implements ConsensusVersion. -func (AppModule) ConsensusVersion() uint64 { return 3 } +func (AppModule) ConsensusVersion() uint64 { return 4 } // BeginBlock executes all ABCI BeginBlock logic respective to the capability module. func (am AppModule) BeginBlock(ctx sdk.Context, _ abci.RequestBeginBlock) { diff --git a/x/protocol/module.go b/x/protocol/module.go index 8776f79952..669fcc72bc 100644 --- a/x/protocol/module.go +++ b/x/protocol/module.go @@ -132,72 +132,59 @@ func (am AppModule) RegisterServices(cfg module.Configurator) { // panic:ok: at start up, migration cannot proceed anyhow panic(fmt.Errorf("%s: failed to register migration to v3: %w", types.ModuleName, err)) } - // register v3 -> v4 migration if err := cfg.RegisterMigration(types.ModuleName, 3, migrator.MigrateVersion); err != nil { // panic:ok: at start up, migration cannot proceed anyhow panic(fmt.Errorf("%s: failed to register migration to v3: %w", types.ModuleName, err)) } - // register v4 -> v5 migration if err := cfg.RegisterMigration(types.ModuleName, 4, migrator.MigrateVersion); err != nil { // panic:ok: at start up, migration cannot proceed anyhow panic(fmt.Errorf("%s: failed to register migration to v5: %w", types.ModuleName, err)) } - // register v5 -> v6 migration if err := cfg.RegisterMigration(types.ModuleName, 5, migrator.MigrateVersion); err != nil { // panic:ok: at start up, migration cannot proceed anyhow panic(fmt.Errorf("%s: failed to register migration to v6: %w", types.ModuleName, err)) } - // register v6 -> v7 migration if err := cfg.RegisterMigration(types.ModuleName, 6, migrator.MigrateVersion); err != nil { // panic:ok: at start up, migration cannot proceed anyhow panic(fmt.Errorf("%s: failed to register migration to v7: %w", types.ModuleName, err)) } - // register v7 -> v8 migration if err := cfg.RegisterMigration(types.ModuleName, 7, migrator.MigrateVersion); err != nil { // panic:ok: at start up, migration cannot proceed anyhow panic(fmt.Errorf("%s: failed to register migration to v8: %w", types.ModuleName, err)) } - if err := cfg.RegisterMigration(types.ModuleName, 8, migrator.MigrateVersion); err != nil { // panic:ok: at start up, migration cannot proceed anyhow panic(fmt.Errorf("%s: failed to register migration to v9: %w", types.ModuleName, err)) } - if err := cfg.RegisterMigration(types.ModuleName, 9, migrator.MigrateVersion); err != nil { // panic:ok: at start up, migration cannot proceed anyhow panic(fmt.Errorf("%s: failed to register migration to v10: %w", types.ModuleName, err)) } - if err := cfg.RegisterMigration(types.ModuleName, 10, migrator.MigrateVersion); err != nil { // panic:ok: at start up, migration cannot proceed anyhow panic(fmt.Errorf("%s: failed to register migration to v11: %w", types.ModuleName, err)) } - if err := cfg.RegisterMigration(types.ModuleName, 11, migrator.MigrateVersion); err != nil { // panic:ok: at start up, migration cannot proceed anyhow panic(fmt.Errorf("%s: failed to register migration to v12: %w", types.ModuleName, err)) } - if err := cfg.RegisterMigration(types.ModuleName, 12, migrator.MigrateVersion); err != nil { // panic:ok: at start up, migration cannot proceed anyhow panic(fmt.Errorf("%s: failed to register migration to v13: %w", types.ModuleName, err)) } - if err := cfg.RegisterMigration(types.ModuleName, 13, migrator.MigrateVersion); err != nil { // panic:ok: at start up, migration cannot proceed anyhow panic(fmt.Errorf("%s: failed to register migration to v14: %w", types.ModuleName, err)) } - if err := cfg.RegisterMigration(types.ModuleName, 14, migrator.MigrateVersion); err != nil { // panic:ok: at start up, migration cannot proceed anyhow panic(fmt.Errorf("%s: failed to register migration to v15: %w", types.ModuleName, err)) } - if err := cfg.RegisterMigration(types.ModuleName, 15, migrator.MigrateVersion); err != nil { // panic:ok: at start up, migration cannot proceed anyhow panic(fmt.Errorf("%s: failed to register migration to v16: %w", types.ModuleName, err)) @@ -222,10 +209,14 @@ func (am AppModule) RegisterServices(cfg module.Configurator) { // panic:ok: at start up, migration cannot proceed anyhow panic(fmt.Errorf("%s: failed to register migration to v21: %w", types.ModuleName, err)) } + if err := cfg.RegisterMigration(types.ModuleName, 21, migrator.MigrateVersion); err != nil { + // panic:ok: at start up, migration cannot proceed anyhow + panic(fmt.Errorf("%s: failed to register migration to v22: %w", types.ModuleName, err)) + } } // ConsensusVersion implements ConsensusVersion. -func (AppModule) ConsensusVersion() uint64 { return 21 } +func (AppModule) ConsensusVersion() uint64 { return 22 } // RegisterInvariants registers the capability module's invariants. func (am AppModule) RegisterInvariants(_ sdk.InvariantRegistry) {} diff --git a/x/protocol/types/params.go b/x/protocol/types/params.go index 0774da5ec2..1f36d8d378 100644 --- a/x/protocol/types/params.go +++ b/x/protocol/types/params.go @@ -12,7 +12,7 @@ import ( var _ paramtypes.ParamSet = (*Params)(nil) const ( - TARGET_VERSION = "3.0.1" + TARGET_VERSION = "3.1.0" MIN_VERSION = "2.2.2" ) From 4793c0ba008ca92864527d5037c96e8d956350f9 Mon Sep 17 00:00:00 2001 From: Ran Mishael <106548467+ranlavanet@users.noreply.github.com> Date: Sun, 1 Sep 2024 17:26:37 +0200 Subject: [PATCH 4/5] feat: PRT- adding provider retry mechanism on node error for better QOS (#1660) * feat: PRT - adding relay processor retry options * rename * improving the features * removed user data * fix lint * fix test * fixed all comments * llinty * bugberan * fix comment * feat: PRT- adding provider retry mechanism on node error for better QOS * fix race on tests. * remove spam, and add logs * fix retry 0 * implement provider relay state machine * fixed all comments * fix all comments * lint --- protocol/chaintracker/chain_tracker.go | 7 - .../relay_retries_manager.go | 14 +- .../metrics/consumer_referrer_client_test.go | 6 +- .../provideroptimizer/provider_optimizer.go | 2 +- protocol/rpcconsumer/consumer_consistency.go | 2 +- protocol/rpcconsumer/relay_processor.go | 5 +- protocol/rpcconsumer/relay_processor_test.go | 3 +- protocol/rpcconsumer/rpcconsumer_server.go | 4 +- .../rpcprovider/provider_state_machine.go | 86 ++++++++++++ .../provider_state_machine_test.go | 132 ++++++++++++++++++ protocol/rpcprovider/rpcprovider.go | 1 + protocol/rpcprovider/rpcprovider_server.go | 25 ++-- protocol/statetracker/updaters/state_query.go | 2 +- 13 files changed, 253 insertions(+), 36 deletions(-) rename protocol/{rpcconsumer => lavaprotocol}/relay_retries_manager.go (78%) create mode 100644 protocol/rpcprovider/provider_state_machine.go create mode 100644 protocol/rpcprovider/provider_state_machine_test.go diff --git a/protocol/chaintracker/chain_tracker.go b/protocol/chaintracker/chain_tracker.go index 303b88615b..7fb2ec0e5f 100644 --- a/protocol/chaintracker/chain_tracker.go +++ b/protocol/chaintracker/chain_tracker.go @@ -378,7 +378,6 @@ func (cs *ChainTracker) start(ctx context.Context, pollingTime time.Duration) er for { select { case <-cs.timer.C: - utils.LavaFormatTrace("chain tracker fetch triggered", utils.LogAttr("currTime", time.Now())) fetchCtx, cancel := context.WithTimeout(ctx, 3*time.Second) // protect this flow from hanging code err := cs.fetchAllPreviousBlocksIfNecessary(fetchCtx) cancel() @@ -425,12 +424,6 @@ func (cs *ChainTracker) updateTimer(tickerBaseTime time.Duration, fetchFails uin newTickerDuration /= time.Duration(PollingMultiplier) } - utils.LavaFormatTrace("state tracker ticker set", - utils.LogAttr("timeSinceLastUpdate", timeSinceLastUpdate), - utils.LogAttr("time", time.Now()), - utils.LogAttr("newTickerDuration", newTickerDuration), - ) - cs.timer = time.NewTimer(newTickerDuration) } diff --git a/protocol/rpcconsumer/relay_retries_manager.go b/protocol/lavaprotocol/relay_retries_manager.go similarity index 78% rename from protocol/rpcconsumer/relay_retries_manager.go rename to protocol/lavaprotocol/relay_retries_manager.go index aa14324dbe..31be090b67 100644 --- a/protocol/rpcconsumer/relay_retries_manager.go +++ b/protocol/lavaprotocol/relay_retries_manager.go @@ -1,4 +1,4 @@ -package rpcconsumer +package lavaprotocol import ( "time" @@ -8,7 +8,17 @@ import ( ) // entries ttl duration -const RetryEntryTTL = 6 * time.Hour +const ( + CacheMaxCost = 10 * 1024 // each item cost would be 1 + CacheNumCounters = 20000 // expect 2000 items + RetryEntryTTL = 6 * time.Hour +) + +type RelayRetriesManagerInf interface { + AddHashToCache(hash string) + CheckHashInCache(hash string) bool + RemoveHashFromCache(hash string) +} // On node errors we try to send a relay again. // If this relay failed all retries we ban it from retries to avoid spam and save resources diff --git a/protocol/metrics/consumer_referrer_client_test.go b/protocol/metrics/consumer_referrer_client_test.go index 6f0990a659..c8b4fe0173 100644 --- a/protocol/metrics/consumer_referrer_client_test.go +++ b/protocol/metrics/consumer_referrer_client_test.go @@ -15,6 +15,7 @@ func TestReferrerClientFlows(t *testing.T) { t.Run("one-shot", func(t *testing.T) { messages := []map[string]interface{}{} reqMap := []map[string]interface{}{} + ch := make(chan bool, 1) serverHandle := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { // Handle the incoming request and provide the desired response data := make([]byte, r.ContentLength) @@ -25,6 +26,7 @@ func TestReferrerClientFlows(t *testing.T) { reqMap = []map[string]interface{}{} w.WriteHeader(http.StatusOK) fmt.Fprint(w, `{"jsonrpc":"2.0","id":1,"result":"0x10a7a08"}`) + ch <- true }) mockServer := httptest.NewServer(serverHandle) @@ -34,7 +36,7 @@ func TestReferrerClientFlows(t *testing.T) { serverClient.AppendReferrer(NewReferrerRequest("banana", "ETH1", "Message-1", "https://referer.com", "https://origin.com", "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0", "127.0.0.1")) serverClient.AppendReferrer(NewReferrerRequest("banana", "COSMOSHUB", "Message-2", "https://referer.com", "https://origin.com", "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0", "127.0.0.1")) serverClient.AppendReferrer(NewReferrerRequest("papaya", "ETH1", "Message-3", "https://referer.com", "https://origin.com", "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0", "127.0.0.1")) - time.Sleep(110 * time.Millisecond) + <-ch require.Len(t, messages, 2) bananas := 0 papayas := 0 @@ -56,7 +58,7 @@ func TestReferrerClientNull(t *testing.T) { serverClient := NewConsumerReferrerClient("") require.Nil(t, serverClient) serverClient.AppendReferrer(NewReferrerRequest("banana", "ETH1", "Message-1", "https://referer.com", "https://origin.com", "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0", "127.0.0.1")) - time.Sleep(110 * time.Millisecond) + time.Sleep(500 * time.Millisecond) getSender := func() ReferrerSender { return serverClient } diff --git a/protocol/provideroptimizer/provider_optimizer.go b/protocol/provideroptimizer/provider_optimizer.go index 38f53b034c..b7cfd2413a 100644 --- a/protocol/provideroptimizer/provider_optimizer.go +++ b/protocol/provideroptimizer/provider_optimizer.go @@ -18,7 +18,7 @@ import ( ) const ( - CacheMaxCost = 2000 // each item cost would be 1 + CacheMaxCost = 20000 // each item cost would be 1 CacheNumCounters = 20000 // expect 2000 items INITIAL_DATA_STALENESS = 24 HALF_LIFE_TIME = time.Hour diff --git a/protocol/rpcconsumer/consumer_consistency.go b/protocol/rpcconsumer/consumer_consistency.go index 30c2decfd3..09fbcaa2c5 100644 --- a/protocol/rpcconsumer/consumer_consistency.go +++ b/protocol/rpcconsumer/consumer_consistency.go @@ -10,7 +10,7 @@ import ( // this class handles seen block values in requests const ( - CacheMaxCost = 2000 // each item cost would be 1 + CacheMaxCost = 20000 // each item cost would be 1 CacheNumCounters = 20000 // expect 2000 items EntryTTL = 5 * time.Minute ) diff --git a/protocol/rpcconsumer/relay_processor.go b/protocol/rpcconsumer/relay_processor.go index bc671776b8..65fffc4637 100644 --- a/protocol/rpcconsumer/relay_processor.go +++ b/protocol/rpcconsumer/relay_processor.go @@ -13,6 +13,7 @@ import ( sdktypes "github.com/cosmos/cosmos-sdk/types" "github.com/lavanet/lava/v2/protocol/chainlib" "github.com/lavanet/lava/v2/protocol/common" + "github.com/lavanet/lava/v2/protocol/lavaprotocol" "github.com/lavanet/lava/v2/protocol/lavasession" "github.com/lavanet/lava/v2/utils" ) @@ -55,7 +56,7 @@ type RelayProcessor struct { allowSessionDegradation uint32 // used in the scenario where extension was previously used. metricsInf MetricsInterface chainIdAndApiInterfaceGetter chainIdAndApiInterfaceGetter - relayRetriesManager *RelayRetriesManager + relayRetriesManager *lavaprotocol.RelayRetriesManager ResultsManager } @@ -68,7 +69,7 @@ func NewRelayProcessor( debugRelay bool, metricsInf MetricsInterface, chainIdAndApiInterfaceGetter chainIdAndApiInterfaceGetter, - relayRetriesManager *RelayRetriesManager, + relayRetriesManager *lavaprotocol.RelayRetriesManager, ) *RelayProcessor { guid, _ := utils.GetUniqueIdentifier(ctx) selection := Quorum // select the majority of node responses diff --git a/protocol/rpcconsumer/relay_processor_test.go b/protocol/rpcconsumer/relay_processor_test.go index a323614428..847001836f 100644 --- a/protocol/rpcconsumer/relay_processor_test.go +++ b/protocol/rpcconsumer/relay_processor_test.go @@ -10,6 +10,7 @@ import ( "github.com/lavanet/lava/v2/protocol/chainlib" "github.com/lavanet/lava/v2/protocol/chainlib/extensionslib" "github.com/lavanet/lava/v2/protocol/common" + "github.com/lavanet/lava/v2/protocol/lavaprotocol" "github.com/lavanet/lava/v2/protocol/lavasession" pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" spectypes "github.com/lavanet/lava/v2/x/spec/types" @@ -31,7 +32,7 @@ func (romm *relayProcessorMetricsMock) GetChainIdAndApiInterface() (string, stri } var ( - relayRetriesManagerInstance = NewRelayRetriesManager() + relayRetriesManagerInstance = lavaprotocol.NewRelayRetriesManager() relayProcessorMetrics = &relayProcessorMetricsMock{} ) diff --git a/protocol/rpcconsumer/rpcconsumer_server.go b/protocol/rpcconsumer/rpcconsumer_server.go index 48a6d82e2d..80a0cf0637 100644 --- a/protocol/rpcconsumer/rpcconsumer_server.go +++ b/protocol/rpcconsumer/rpcconsumer_server.go @@ -76,7 +76,7 @@ type RPCConsumerServer struct { connectedSubscriptionsContexts map[string]*CancelableContextHolder chainListener chainlib.ChainListener connectedSubscriptionsLock sync.RWMutex - relayRetriesManager *RelayRetriesManager + relayRetriesManager *lavaprotocol.RelayRetriesManager } type relayResponse struct { @@ -126,7 +126,7 @@ func (rpccs *RPCConsumerServer) ServeRPCRequests(ctx context.Context, listenEndp rpccs.debugRelays = cmdFlags.DebugRelays rpccs.connectedSubscriptionsContexts = make(map[string]*CancelableContextHolder) rpccs.consumerProcessGuid = strconv.FormatUint(utils.GenerateUniqueIdentifier(), 10) - rpccs.relayRetriesManager = NewRelayRetriesManager() + rpccs.relayRetriesManager = lavaprotocol.NewRelayRetriesManager() rpccs.chainListener, err = chainlib.NewChainListener(ctx, listenEndpoint, rpccs, rpccs, rpcConsumerLogs, chainParser, refererData, consumerWsSubscriptionManager) if err != nil { return err diff --git a/protocol/rpcprovider/provider_state_machine.go b/protocol/rpcprovider/provider_state_machine.go new file mode 100644 index 0000000000..44a126af1d --- /dev/null +++ b/protocol/rpcprovider/provider_state_machine.go @@ -0,0 +1,86 @@ +package rpcprovider + +import ( + "context" + "time" + + "github.com/lavanet/lava/v2/protocol/chainlib" + "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" + "github.com/lavanet/lava/v2/protocol/common" + "github.com/lavanet/lava/v2/protocol/lavaprotocol" + "github.com/lavanet/lava/v2/utils" + pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" +) + +type RelaySender interface { + SendNodeMsg(ctx context.Context, ch chan interface{}, chainMessage chainlib.ChainMessageForSend, extensions []string) (relayReply *chainlib.RelayReplyWrapper, subscriptionID string, relayReplyServer *rpcclient.ClientSubscription, proxyUrl common.NodeUrl, chainId string, err error) +} + +type ProviderStateMachine struct { + relayRetriesManager lavaprotocol.RelayRetriesManagerInf + chainId string + relaySender RelaySender +} + +func NewProviderStateMachine(chainId string, relayRetriesManager lavaprotocol.RelayRetriesManagerInf, relaySender RelaySender) *ProviderStateMachine { + return &ProviderStateMachine{ + relayRetriesManager: relayRetriesManager, + chainId: chainId, + relaySender: relaySender, + } +} + +func (psm *ProviderStateMachine) SendNodeMessage(ctx context.Context, chainMsg chainlib.ChainMessage, request *pairingtypes.RelayRequest) (*chainlib.RelayReplyWrapper, error) { + hash, err := chainMsg.GetRawRequestHash() + requestHashString := "" + if err != nil { + utils.LavaFormatWarning("Failed converting message to hash", err, utils.LogAttr("url", request.RelayData.ApiUrl), utils.LogAttr("data", string(request.RelayData.Data))) + } else { + requestHashString = string(hash) + } + + var replyWrapper *chainlib.RelayReplyWrapper + var isNodeError bool + for retryAttempt := 0; retryAttempt <= numberOfRetriesAllowedOnNodeErrors; retryAttempt++ { + sendTime := time.Now() + replyWrapper, _, _, _, _, err = psm.relaySender.SendNodeMsg(ctx, nil, chainMsg, request.RelayData.Extensions) + if err != nil { + return nil, utils.LavaFormatError("Sending chainMsg failed", err, utils.LogAttr("attempt", retryAttempt), utils.LogAttr("GUID", ctx), utils.LogAttr("specID", psm.chainId)) + } + + if replyWrapper == nil || replyWrapper.RelayReply == nil { + return nil, utils.LavaFormatError("Relay Wrapper returned nil without an error", nil, utils.LogAttr("attempt", retryAttempt), utils.LogAttr("GUID", ctx), utils.LogAttr("specID", psm.chainId)) + } + + if debugLatency { + utils.LavaFormatDebug("node reply received", utils.LogAttr("attempt", retryAttempt), utils.LogAttr("timeTaken", time.Since(sendTime)), utils.LogAttr("GUID", ctx), utils.LogAttr("specID", psm.chainId)) + } + + // Failed fetching hash return the reply. + if requestHashString == "" { + utils.LavaFormatWarning("Failed to hash request, shouldn't happen", nil, utils.LogAttr("url", request.RelayData.ApiUrl), utils.LogAttr("data", string(request.RelayData.Data))) + break // We can't perform the retries as we failed fetching the request hash. + } + + // Check for node errors + isNodeError, _ = chainMsg.CheckResponseError(replyWrapper.RelayReply.Data, replyWrapper.StatusCode) + if !isNodeError { + // Successful relay, remove it from the cache if we have it and return a valid response. + go psm.relayRetriesManager.RemoveHashFromCache(requestHashString) + return replyWrapper, nil + } + + // On the first retry, check if this hash has already failed previously + if retryAttempt == 0 && psm.relayRetriesManager.CheckHashInCache(requestHashString) { + utils.LavaFormatTrace("received node error, request hash was already in cache, skipping retry") + break + } + utils.LavaFormatTrace("Errored Node Message, retrying message", utils.LogAttr("retry", retryAttempt)) + } + + if isNodeError { + utils.LavaFormatTrace("failed all relay retries for message") + go psm.relayRetriesManager.AddHashToCache(requestHashString) + } + return replyWrapper, nil +} diff --git a/protocol/rpcprovider/provider_state_machine_test.go b/protocol/rpcprovider/provider_state_machine_test.go new file mode 100644 index 0000000000..eebaa77c10 --- /dev/null +++ b/protocol/rpcprovider/provider_state_machine_test.go @@ -0,0 +1,132 @@ +package rpcprovider + +import ( + "context" + "testing" + "time" + + "github.com/golang/mock/gomock" + "github.com/lavanet/lava/v2/protocol/chainlib" + "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" + "github.com/lavanet/lava/v2/protocol/common" + "github.com/lavanet/lava/v2/protocol/lavaprotocol" + types "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/stretchr/testify/require" +) + +type relaySenderMock struct { + numberOfTimesHitSendNodeMsg int +} + +func (rs *relaySenderMock) SendNodeMsg(ctx context.Context, ch chan interface{}, chainMessage chainlib.ChainMessageForSend, extensions []string) (relayReply *chainlib.RelayReplyWrapper, subscriptionID string, relayReplyServer *rpcclient.ClientSubscription, proxyUrl common.NodeUrl, chainId string, err error) { + rs.numberOfTimesHitSendNodeMsg++ + return &chainlib.RelayReplyWrapper{RelayReply: &types.RelayReply{}}, "", nil, common.NodeUrl{}, "", nil +} + +func TestStateMachineHappyFlow(t *testing.T) { + relaySender := &relaySenderMock{} + stateMachine := NewProviderStateMachine("test", lavaprotocol.NewRelayRetriesManager(), relaySender) + chainMsgMock := chainlib.NewMockChainMessage(gomock.NewController(t)) + chainMsgMock. + EXPECT(). + GetRawRequestHash(). + Return([]byte{1, 2, 3}, nil). + AnyTimes() + chainMsgMock. + EXPECT(). + CheckResponseError(gomock.Any(), gomock.Any()). + DoAndReturn(func(msg interface{}, msg2 interface{}) (interface{}, interface{}) { + if relaySender.numberOfTimesHitSendNodeMsg < numberOfRetriesAllowedOnNodeErrors { + return true, "" + } + return false, "" + }). + AnyTimes() + stateMachine.SendNodeMessage(context.Background(), chainMsgMock, &types.RelayRequest{RelayData: &types.RelayPrivateData{Extensions: []string{}}}) + hash, _ := chainMsgMock.GetRawRequestHash() + require.Equal(t, relaySender.numberOfTimesHitSendNodeMsg, numberOfRetriesAllowedOnNodeErrors) + require.False(t, stateMachine.relayRetriesManager.CheckHashInCache(string(hash))) +} + +func TestStateMachineAllFailureFlows(t *testing.T) { + relaySender := &relaySenderMock{} + stateMachine := NewProviderStateMachine("test", lavaprotocol.NewRelayRetriesManager(), relaySender) + chainMsgMock := chainlib.NewMockChainMessage(gomock.NewController(t)) + returnFalse := false + chainMsgMock. + EXPECT(). + GetRawRequestHash(). + Return([]byte{1, 2, 3}, nil). + AnyTimes() + chainMsgMock. + EXPECT(). + CheckResponseError(gomock.Any(), gomock.Any()). + DoAndReturn(func(msg interface{}, msg2 interface{}) (interface{}, interface{}) { + if returnFalse { + return false, "" + } + return true, "" + }). + AnyTimes() + stateMachine.SendNodeMessage(context.Background(), chainMsgMock, &types.RelayRequest{RelayData: &types.RelayPrivateData{Extensions: []string{}}}) + hash, _ := chainMsgMock.GetRawRequestHash() + require.Equal(t, numberOfRetriesAllowedOnNodeErrors+1, relaySender.numberOfTimesHitSendNodeMsg) + for i := 0; i < 10; i++ { + // wait for routine to end.. + if stateMachine.relayRetriesManager.CheckHashInCache(string(hash)) { + break + } + time.Sleep(100 * time.Millisecond) + } + require.True(t, stateMachine.relayRetriesManager.CheckHashInCache(string(hash))) + + // send second relay with same hash. + stateMachine.SendNodeMessage(context.Background(), chainMsgMock, &types.RelayRequest{RelayData: &types.RelayPrivateData{Extensions: []string{}}}) + require.Equal(t, 4, relaySender.numberOfTimesHitSendNodeMsg) // no retries. +} + +func TestStateMachineFailureAndRecoveryFlow(t *testing.T) { + relaySender := &relaySenderMock{} + stateMachine := NewProviderStateMachine("test", lavaprotocol.NewRelayRetriesManager(), relaySender) + chainMsgMock := chainlib.NewMockChainMessage(gomock.NewController(t)) + returnFalse := false + chainMsgMock. + EXPECT(). + GetRawRequestHash(). + Return([]byte{1, 2, 3}, nil). + AnyTimes() + chainMsgMock. + EXPECT(). + CheckResponseError(gomock.Any(), gomock.Any()). + DoAndReturn(func(msg interface{}, msg2 interface{}) (interface{}, interface{}) { + if returnFalse { + return false, "" + } + return true, "" + }). + AnyTimes() + stateMachine.SendNodeMessage(context.Background(), chainMsgMock, &types.RelayRequest{RelayData: &types.RelayPrivateData{Extensions: []string{}}}) + hash, _ := chainMsgMock.GetRawRequestHash() + require.Equal(t, numberOfRetriesAllowedOnNodeErrors+1, relaySender.numberOfTimesHitSendNodeMsg) + for i := 0; i < 10; i++ { + // wait for routine to end.. + if stateMachine.relayRetriesManager.CheckHashInCache(string(hash)) { + break + } + time.Sleep(100 * time.Millisecond) + } + require.True(t, stateMachine.relayRetriesManager.CheckHashInCache(string(hash))) + + // send second relay with same hash. + returnFalse = true + stateMachine.SendNodeMessage(context.Background(), chainMsgMock, &types.RelayRequest{RelayData: &types.RelayPrivateData{Extensions: []string{}}}) + require.Equal(t, 4, relaySender.numberOfTimesHitSendNodeMsg) // no retries, first success. + // wait for routine to end.. + for i := 0; i < 10; i++ { + if !stateMachine.relayRetriesManager.CheckHashInCache(string(hash)) { + break + } + time.Sleep(100 * time.Millisecond) + } + require.False(t, stateMachine.relayRetriesManager.CheckHashInCache(string(hash))) +} diff --git a/protocol/rpcprovider/rpcprovider.go b/protocol/rpcprovider/rpcprovider.go index 5a9ac144b6..e6cd4fbc7e 100644 --- a/protocol/rpcprovider/rpcprovider.go +++ b/protocol/rpcprovider/rpcprovider.go @@ -772,6 +772,7 @@ rpcprovider 127.0.0.1:3333 OSMOSIS tendermintrpc "wss://www.node-path.com:80,htt cmdRPCProvider.Flags().String(HealthCheckURLPathFlagName, HealthCheckURLPathFlagDefault, "the url path for the provider's grpc health check") cmdRPCProvider.Flags().DurationVar(&updaters.TimeOutForFetchingLavaBlocks, common.TimeOutForFetchingLavaBlocksFlag, time.Second*5, "setting the timeout for fetching lava blocks") cmdRPCProvider.Flags().BoolVar(&chainlib.IgnoreSubscriptionNotConfiguredError, chainlib.IgnoreSubscriptionNotConfiguredErrorFlag, chainlib.IgnoreSubscriptionNotConfiguredError, "ignore webSocket node url not configured error, when subscription is enabled in spec") + cmdRPCProvider.Flags().IntVar(&numberOfRetriesAllowedOnNodeErrors, common.SetRelayCountOnNodeErrorFlag, 2, "set the number of retries attempt on node errors") cmdRPCProvider.Flags().String(common.UseStaticSpecFlag, "", "load offline spec provided path to spec file, used to test specs before they are proposed on chain, example for spec with inheritance: --use-static-spec ./cookbook/specs/ibc.json,./cookbook/specs/tendermint.json,./cookbook/specs/cosmossdk.json,./cookbook/specs/ethermint.json,./cookbook/specs/ethereum.json,./cookbook/specs/evmos.json") common.AddRollingLogConfig(cmdRPCProvider) diff --git a/protocol/rpcprovider/rpcprovider_server.go b/protocol/rpcprovider/rpcprovider_server.go index f1f239eea4..9c71410c3b 100644 --- a/protocol/rpcprovider/rpcprovider_server.go +++ b/protocol/rpcprovider/rpcprovider_server.go @@ -43,7 +43,10 @@ const ( debugLatency = false ) -var RPCProviderStickinessHeaderName = "X-Node-Sticky" +var ( + RPCProviderStickinessHeaderName = "X-Node-Sticky" + numberOfRetriesAllowedOnNodeErrors = 2 +) const ( RPCProviderAddressHeader = "Lava-Provider-Address" @@ -67,6 +70,7 @@ type RPCProviderServer struct { providerNodeSubscriptionManager *chainlib.ProviderNodeSubscriptionManager providerUniqueId string StaticProvider bool + providerStateMachine *ProviderStateMachine } type ReliabilityManagerInf interface { @@ -129,6 +133,7 @@ func (rpcps *RPCProviderServer) ServeRPCRequests( rpcps.metrics = providerMetrics rpcps.relaysMonitor = relaysMonitor rpcps.providerNodeSubscriptionManager = providerNodeSubscriptionManager + rpcps.providerStateMachine = NewProviderStateMachine(rpcProviderEndpoint.ChainID, lavaprotocol.NewRelayRetriesManager(), chainRouter) rpcps.initRelaysMonitor(ctx) } @@ -869,7 +874,6 @@ func (rpcps *RPCProviderServer) trySetRelayReplyInCache(ctx context.Context, req } func (rpcps *RPCProviderServer) sendRelayMessageToNode(ctx context.Context, request *pairingtypes.RelayRequest, chainMsg chainlib.ChainMessage, consumerAddr sdk.AccAddress) (*chainlib.RelayReplyWrapper, error) { - sendTime := time.Now() if debugLatency { utils.LavaFormatDebug("sending relay to node", utils.Attribute{Key: "GUID", Value: ctx}, utils.Attribute{Key: "specID", Value: rpcps.rpcProviderEndpoint.ChainID}) } @@ -879,21 +883,8 @@ func (rpcps *RPCProviderServer) sendRelayMessageToNode(ctx context.Context, requ if debugConsistency { utils.LavaFormatDebug("adding stickiness header", utils.LogAttr("tokenFromContext", common.GetTokenFromGrpcContext(ctx)), utils.LogAttr("unique_token", common.GetUniqueToken(common.UserData{DappId: consumerAddr.String(), ConsumerIp: common.GetIpFromGrpcContext(ctx)}))) } - - replyWrapper, _, _, _, _, err := rpcps.chainRouter.SendNodeMsg(ctx, nil, chainMsg, request.RelayData.Extensions) - if err != nil { - return nil, utils.LavaFormatError("Sending chainMsg failed", err, utils.Attribute{Key: "GUID", Value: ctx}, utils.Attribute{Key: "specID", Value: rpcps.rpcProviderEndpoint.ChainID}) - } - - if replyWrapper == nil || replyWrapper.RelayReply == nil { - return nil, utils.LavaFormatError("Relay Wrapper returned nil without an error", nil, utils.Attribute{Key: "GUID", Value: ctx}, utils.Attribute{Key: "specID", Value: rpcps.rpcProviderEndpoint.ChainID}) - } - - if debugLatency { - utils.LavaFormatDebug("node reply received", utils.Attribute{Key: "timeTaken", Value: time.Since(sendTime)}, utils.Attribute{Key: "GUID", Value: ctx}, utils.Attribute{Key: "specID", Value: rpcps.rpcProviderEndpoint.ChainID}) - } - - return replyWrapper, nil + // use the provider state machine to send the messages + return rpcps.providerStateMachine.SendNodeMessage(ctx, chainMsg, request) } func (rpcps *RPCProviderServer) TryRelayUnsubscribe(ctx context.Context, request *pairingtypes.RelayRequest, consumerAddress sdk.AccAddress, chainMessage chainlib.ChainMessage) (*pairingtypes.RelayReply, error) { diff --git a/protocol/statetracker/updaters/state_query.go b/protocol/statetracker/updaters/state_query.go index 31b1fb7206..135edf0c73 100644 --- a/protocol/statetracker/updaters/state_query.go +++ b/protocol/statetracker/updaters/state_query.go @@ -24,7 +24,7 @@ import ( const ( CacheMaxCost = 10 * 1024 // 10K cost - CacheNumCounters = 100000 // expect 10K items + CacheNumCounters = 10 * 1025 // expect 10K items DefaultTimeToLiveExpiration = 30 * time.Minute PairingRespKey = "pairing-resp" VerifyPairingRespKey = "verify-pairing-resp" From 200972c00b75a819a10385e47e64e199633480f0 Mon Sep 17 00:00:00 2001 From: Yaroms <103432884+Yaroms@users.noreply.github.com> Date: Sun, 1 Sep 2024 19:52:33 +0300 Subject: [PATCH 5/5] feat: update lava package version to v3 (#1665) --- Makefile | 8 +- app/ante.go | 8 +- app/app.go | 98 +++++++++---------- app/encoding.go | 2 +- app/keepers/lavaKeepers.go | 26 ++--- app/simulation_test.go | 2 +- app/upgrades/empty_upgrades.go | 12 +-- app/upgrades/types.go | 2 +- app/upgrades/upgrade_0_32_0.go | 6 +- app/upgrades/upgrade_0_35_0.go | 6 +- cmd/common/warning_log_command_wrapper.go | 2 +- cmd/lavad/cmd/config.go | 2 +- cmd/lavad/cmd/root.go | 10 +- cmd/lavad/main.go | 16 +-- cmd/lavap/main.go | 26 ++--- cmd/lavavisor/main.go | 8 +- ecosystem/cache/cache_test.go | 12 +-- ecosystem/cache/command.go | 2 +- ecosystem/cache/format/formatter.go | 2 +- ecosystem/cache/format/formatter_test.go | 2 +- ecosystem/cache/format/jsonrpc.go | 2 +- ecosystem/cache/handlers.go | 12 +-- ecosystem/cache/metrics.go | 4 +- ecosystem/cache/server.go | 8 +- ecosystem/lavavisor/cmd/create-service.go | 12 +-- ecosystem/lavavisor/cmd/init.go | 10 +- ecosystem/lavavisor/cmd/pod.go | 12 +-- ecosystem/lavavisor/cmd/start.go | 20 ++-- ecosystem/lavavisor/cmd/wrap.go | 12 +-- ecosystem/lavavisor/pkg/process/fetcher.go | 6 +- .../pkg/process/fetcher_without_build.go | 8 +- ecosystem/lavavisor/pkg/process/linker.go | 2 +- .../lavavisor/pkg/process/process_manager.go | 6 +- .../lavavisor/pkg/process/version_monitor.go | 8 +- .../pkg/state/lavavisor_state_tracker.go | 12 +-- ecosystem/lavavisor/pkg/util/common.go | 2 +- go.mod | 2 +- .../lavanet/lava/conflict/conflict_data.proto | 2 +- .../lavanet/lava/conflict/conflict_vote.proto | 2 +- proto/lavanet/lava/conflict/genesis.proto | 2 +- proto/lavanet/lava/conflict/params.proto | 2 +- proto/lavanet/lava/conflict/query.proto | 2 +- proto/lavanet/lava/conflict/tx.proto | 2 +- proto/lavanet/lava/downtime/v1/downtime.proto | 2 +- proto/lavanet/lava/downtime/v1/genesis.proto | 2 +- proto/lavanet/lava/downtime/v1/query.proto | 2 +- proto/lavanet/lava/dualstaking/delegate.proto | 2 +- .../lava/dualstaking/delegator_reward.proto | 2 +- proto/lavanet/lava/dualstaking/genesis.proto | 2 +- proto/lavanet/lava/dualstaking/params.proto | 2 +- proto/lavanet/lava/dualstaking/query.proto | 2 +- proto/lavanet/lava/dualstaking/tx.proto | 2 +- .../lavanet/lava/epochstorage/endpoint.proto | 2 +- .../lava/epochstorage/epoch_details.proto | 2 +- .../lava/epochstorage/fixated_params.proto | 2 +- proto/lavanet/lava/epochstorage/genesis.proto | 2 +- proto/lavanet/lava/epochstorage/params.proto | 2 +- proto/lavanet/lava/epochstorage/query.proto | 2 +- .../lava/epochstorage/stake_entry.proto | 2 +- .../lava/epochstorage/stake_storage.proto | 2 +- proto/lavanet/lava/epochstorage/tx.proto | 2 +- .../lavanet/lava/fixationstore/fixation.proto | 2 +- proto/lavanet/lava/fixationstore/query.proto | 2 +- proto/lavanet/lava/pairing/account_info.proto | 2 +- proto/lavanet/lava/pairing/badges.proto | 2 +- proto/lavanet/lava/pairing/debug_query.proto | 2 +- proto/lavanet/lava/pairing/epoch_cu.proto | 2 +- proto/lavanet/lava/pairing/genesis.proto | 2 +- proto/lavanet/lava/pairing/params.proto | 2 +- proto/lavanet/lava/pairing/query.proto | 2 +- proto/lavanet/lava/pairing/relay.proto | 2 +- proto/lavanet/lava/pairing/relayCache.proto | 2 +- proto/lavanet/lava/pairing/tx.proto | 2 +- .../lava/pairing/unstake_proposal.proto | 2 +- proto/lavanet/lava/plans/genesis.proto | 2 +- proto/lavanet/lava/plans/params.proto | 2 +- proto/lavanet/lava/plans/plan.proto | 2 +- proto/lavanet/lava/plans/plans_proposal.proto | 2 +- proto/lavanet/lava/plans/policy.proto | 2 +- proto/lavanet/lava/plans/query.proto | 2 +- proto/lavanet/lava/plans/tx.proto | 2 +- proto/lavanet/lava/projects/genesis.proto | 2 +- proto/lavanet/lava/projects/params.proto | 2 +- proto/lavanet/lava/projects/project.proto | 2 +- proto/lavanet/lava/projects/query.proto | 2 +- proto/lavanet/lava/projects/tx.proto | 2 +- proto/lavanet/lava/protocol/genesis.proto | 2 +- proto/lavanet/lava/protocol/params.proto | 2 +- proto/lavanet/lava/protocol/query.proto | 2 +- proto/lavanet/lava/protocol/tx.proto | 2 +- proto/lavanet/lava/rewards/base_pay.proto | 2 +- proto/lavanet/lava/rewards/genesis.proto | 2 +- proto/lavanet/lava/rewards/iprpc.proto | 2 +- proto/lavanet/lava/rewards/params.proto | 2 +- proto/lavanet/lava/rewards/query.proto | 2 +- proto/lavanet/lava/rewards/tx.proto | 2 +- proto/lavanet/lava/spec/api_collection.proto | 2 +- proto/lavanet/lava/spec/genesis.proto | 2 +- proto/lavanet/lava/spec/params.proto | 2 +- proto/lavanet/lava/spec/query.proto | 2 +- proto/lavanet/lava/spec/spec.proto | 2 +- .../lavanet/lava/spec/spec_add_proposal.proto | 2 +- proto/lavanet/lava/spec/tx.proto | 2 +- .../lava/subscription/adjustment.proto | 2 +- .../lava/subscription/cu_tracker.proto | 2 +- proto/lavanet/lava/subscription/genesis.proto | 2 +- proto/lavanet/lava/subscription/params.proto | 2 +- proto/lavanet/lava/subscription/query.proto | 2 +- .../lava/subscription/subscription.proto | 2 +- proto/lavanet/lava/subscription/tx.proto | 2 +- proto/lavanet/lava/timerstore/query.proto | 2 +- proto/lavanet/lava/timerstore/timer.proto | 2 +- protocol/badgegenerator/badgeserver.go | 10 +- protocol/badgegenerator/grpc/grpcfetcher.go | 4 +- protocol/badgegenerator/ipservice.go | 2 +- protocol/badgegenerator/models.go | 2 +- protocol/badgegenerator/server.go | 12 +-- protocol/badgegenerator/tracker.go | 10 +- protocol/badgeserver/badgeserver.go | 12 +-- protocol/badgeserver/ipservice.go | 2 +- protocol/badgeserver/models.go | 2 +- protocol/badgeserver/server.go | 12 +-- protocol/badgeserver/tracker.go | 10 +- protocol/chainlib/base_chain_parser.go | 12 +-- protocol/chainlib/chain_fetcher.go | 20 ++-- protocol/chainlib/chain_fetcher_mock.go | 2 +- protocol/chainlib/chain_fetcher_test.go | 2 +- protocol/chainlib/chain_message.go | 12 +-- protocol/chainlib/chain_message_queries.go | 4 +- protocol/chainlib/chain_router.go | 10 +- protocol/chainlib/chain_router_test.go | 16 +-- protocol/chainlib/chainlib.go | 16 +-- protocol/chainlib/chainlib_mock.go | 14 +-- protocol/chainlib/chainproxy/common.go | 6 +- protocol/chainlib/chainproxy/connector.go | 8 +- .../chainlib/chainproxy/connector_test.go | 8 +- .../chainproxy/rpcInterfaceMessages/common.go | 6 +- .../rpcInterfaceMessages/grpcMessage.go | 12 +-- .../rpcInterfaceMessages/grpcMessage_test.go | 2 +- .../rpcInterfaceMessages/jsonRPCMessage.go | 10 +- .../jsonRPCMessage_test.go | 2 +- .../rpcInterfaceMessages/restMessage.go | 10 +- .../tendermintRPCMessage.go | 10 +- .../tendermintRPCMessage_test.go | 2 +- .../chainlib/chainproxy/rpcclient/client.go | 2 +- .../chainlib/chainproxy/rpcclient/handler.go | 2 +- .../chainlib/chainproxy/rpcclient/http.go | 4 +- .../chainlib/chainproxy/rpcclient/json.go | 2 +- .../chainlib/chainproxy/rpcclient/service.go | 2 +- .../chainproxy/rpcclient/subscription.go | 2 +- .../chainlib/chainproxy/rpcclient/types.go | 2 +- .../chainlib/chainproxy/rpcclient/utils.go | 2 +- protocol/chainlib/common.go | 10 +- protocol/chainlib/common_test.go | 6 +- protocol/chainlib/common_test_utils.go | 22 ++--- .../chainlib/consumer_websocket_manager.go | 10 +- .../consumer_ws_subscription_manager.go | 18 ++-- .../consumer_ws_subscription_manager_test.go | 20 ++-- .../extensionslib/archive_parser_rule.go | 2 +- .../extensionslib/extension_parser.go | 2 +- protocol/chainlib/grpc.go | 28 +++--- protocol/chainlib/grpc_test.go | 12 +-- .../chainlib/grpcproxy/dyncodec/registry.go | 2 +- .../dyncodec/remote_grpc_reflection.go | 2 +- .../grpcproxy/dyncodec/remote_relayer.go | 2 +- .../grpcproxy/dyncodec/remotes_test.go | 4 +- protocol/chainlib/grpcproxy/grpcproxy.go | 4 +- protocol/chainlib/grpcproxy/grpcproxy_test.go | 4 +- protocol/chainlib/jsonRPC.go | 24 ++--- protocol/chainlib/jsonRPC_test.go | 12 +-- protocol/chainlib/node_error_handler.go | 8 +- protocol/chainlib/node_error_handler_test.go | 2 +- protocol/chainlib/protocol_message.go | 4 +- .../provider_node_subscription_manager.go | 20 ++-- ...provider_node_subscription_manager_test.go | 10 +- protocol/chainlib/rest.go | 22 ++--- protocol/chainlib/rest_test.go | 14 +-- protocol/chainlib/tendermintRPC.go | 22 ++--- protocol/chainlib/tendermintRPC_test.go | 6 +- protocol/chaintracker/chain_tracker.go | 12 +-- protocol/chaintracker/chain_tracker_test.go | 10 +- protocol/chaintracker/config.go | 2 +- protocol/chaintracker/wanted_block_data.go | 2 +- .../chaintracker/wanted_block_data_test.go | 4 +- protocol/common/cobra_common.go | 2 +- protocol/common/collections.go | 2 +- protocol/common/endpoints.go | 8 +- protocol/common/safe_channel_sender.go | 2 +- protocol/common/tx_parsing.go | 2 +- protocol/integration/mocks.go | 24 ++--- protocol/integration/protocol_test.go | 34 +++---- .../finalization_consensus.go | 10 +- .../finalization_consensus_test.go | 14 +-- .../finalization_verification.go | 18 ++-- .../lavaprotocol/relay_retries_manager.go | 2 +- protocol/lavaprotocol/request_builder.go | 16 +-- protocol/lavaprotocol/response_builder.go | 12 +-- .../lavaprotocol/response_builder_test.go | 10 +- protocol/lavaprotocol/reuqest_builder_test.go | 6 +- .../active_subscription_provider_storage.go | 2 +- protocol/lavasession/common.go | 8 +- protocol/lavasession/common_test.go | 6 +- .../lavasession/consumer_session_manager.go | 14 +-- .../consumer_session_manager_test.go | 14 +-- protocol/lavasession/consumer_types.go | 10 +- .../end_to_end_lavasession_test.go | 2 +- .../lavasession/provider_session_manager.go | 6 +- .../provider_session_manager_test.go | 8 +- protocol/lavasession/provider_types.go | 6 +- protocol/lavasession/reported_providers.go | 6 +- .../lavasession/single_consumer_session.go | 4 +- .../lavasession/single_provider_session.go | 2 +- protocol/lavasession/used_providers.go | 2 +- protocol/loadtest/testing.go | 2 +- protocol/metrics/consumer_referrer_client.go | 2 +- .../metrics/consumer_relayserver_client.go | 2 +- protocol/metrics/consumer_reports_client.go | 4 +- .../metrics/consumer_reports_client_test.go | 2 +- protocol/metrics/health_metrics.go | 2 +- protocol/metrics/metricsService.go | 2 +- protocol/metrics/metrics_consumer_manager.go | 4 +- protocol/metrics/metrics_provider.go | 2 +- protocol/metrics/metrics_provider_manager.go | 4 +- protocol/metrics/queue_sender.go | 2 +- protocol/metrics/relays_monitor.go | 2 +- protocol/metrics/rpcconsumerlogs.go | 6 +- protocol/metrics/rpcconsumerlogs_test.go | 2 +- protocol/monitoring/alerting.go | 4 +- protocol/monitoring/health.go | 28 +++--- protocol/monitoring/health_cmd.go | 14 +-- protocol/monitoring/health_results.go | 6 +- protocol/parser/parser.go | 6 +- protocol/parser/parser_test.go | 4 +- protocol/performance/cache.go | 4 +- .../performance/connection/connection_cmd.go | 8 +- protocol/performance/connection/prober.go | 6 +- protocol/performance/connection/server.go | 6 +- protocol/performance/pprofServer.go | 2 +- protocol/performance/validators/validators.go | 6 +- .../provideroptimizer/provider_optimizer.go | 12 +-- .../provider_optimizer_test.go | 6 +- protocol/rpcconsumer/consumer_consistency.go | 4 +- .../rpcconsumer/consumer_consistency_test.go | 2 +- .../consumer_state_tracker_mock.go | 14 +-- protocol/rpcconsumer/policies_map.go | 4 +- protocol/rpcconsumer/relay_errors.go | 4 +- protocol/rpcconsumer/relay_errors_test.go | 2 +- protocol/rpcconsumer/relay_processor.go | 10 +- protocol/rpcconsumer/relay_processor_test.go | 14 +-- protocol/rpcconsumer/relayer_client_mock.go | 2 +- protocol/rpcconsumer/results_manager.go | 8 +- protocol/rpcconsumer/rpcconsumer.go | 38 +++---- protocol/rpcconsumer/rpcconsumer_server.go | 38 +++---- .../rpcconsumer/rpcconsumer_server_test.go | 24 ++--- protocol/rpcconsumer/testing.go | 18 ++-- protocol/rpcprovider/chain_tackers.go | 4 +- protocol/rpcprovider/cors_test.go | 2 +- protocol/rpcprovider/provider_listener.go | 12 +-- .../rpcprovider/provider_listener_mock.go | 2 +- .../rpcprovider/provider_state_machine.go | 12 +-- .../provider_state_machine_test.go | 10 +- .../reliabilitymanager/reliability_manager.go | 18 ++-- .../reliability_manager_test.go | 28 +++--- .../rpcprovider/rewardserver/reward_db.go | 4 +- .../rewardserver/reward_db_test.go | 6 +- .../rpcprovider/rewardserver/reward_server.go | 16 +-- .../rewardserver/reward_server_test.go | 10 +- protocol/rpcprovider/rpcprovider.go | 40 ++++---- protocol/rpcprovider/rpcprovider_server.go | 36 +++---- .../rpcprovider/rpcprovider_server_test.go | 10 +- protocol/rpcprovider/spec_validator.go | 8 +- protocol/rpcprovider/spec_validator_test.go | 6 +- protocol/rpcprovider/testing.go | 24 ++--- .../statetracker/consumer_state_tracker.go | 20 ++-- protocol/statetracker/emergency_tracker.go | 4 +- .../statetracker/emergency_tracker_test.go | 2 +- protocol/statetracker/events.go | 18 ++-- .../statetracker/provider_state_tracker.go | 16 +-- protocol/statetracker/state_tracker.go | 14 +-- protocol/statetracker/tx_sender.go | 14 +-- .../updaters/downtime_params_updater.go | 4 +- .../statetracker/updaters/epoch_updater.go | 2 +- .../statetracker/updaters/event_tracker.go | 12 +-- .../finalization_consensus_updater.go | 4 +- .../statetracker/updaters/pairing_updater.go | 8 +- .../updaters/pairing_updater_test.go | 8 +- .../statetracker/updaters/payment_updater.go | 4 +- .../statetracker/updaters/policy_updater.go | 8 +- .../statetracker/updaters/spec_updater.go | 6 +- protocol/statetracker/updaters/state_query.go | 18 ++-- .../statetracker/updaters/updaters_mock.go | 4 +- .../statetracker/updaters/version_updater.go | 4 +- .../statetracker/updaters/vote_updater.go | 6 +- protocol/upgrade/protocol_version.go | 6 +- scripts/protocgen.sh | 2 +- testutil/common/common.go | 16 +-- testutil/common/mock.go | 6 +- testutil/common/tester.go | 30 +++--- testutil/e2e/paymentE2E.go | 16 +-- testutil/e2e/protocolE2E.go | 16 +-- testutil/e2e/proxy/proxy.go | 4 +- testutil/e2e/sdk/e2e.go | 4 +- testutil/e2e/sdkE2E.go | 8 +- testutil/keeper/conflict.go | 6 +- testutil/keeper/dualstaking.go | 12 +-- testutil/keeper/epochstorage.go | 4 +- testutil/keeper/keepers_init.go | 64 ++++++------ testutil/keeper/pairing.go | 14 +-- testutil/keeper/plan.go | 12 +-- testutil/keeper/projects.go | 10 +- testutil/keeper/protocol.go | 4 +- testutil/keeper/rewards.go | 14 +-- testutil/keeper/subscription.go | 16 +-- testutil/network/network.go | 2 +- utils/address.go | 2 +- utils/cli/multisend.go | 2 +- utils/keeper/spec.go | 6 +- utils/lavalog_test.go | 2 +- utils/maps/maps.go | 2 +- utils/protocopy/proto_copy.go | 2 +- utils/protocopy/proto_copy_test.go | 2 +- utils/sigs/sigs.go | 2 +- x/conflict/client/cli/query.go | 2 +- x/conflict/client/cli/query_conflict_vote.go | 2 +- .../client/cli/query_conflict_vote_test.go | 8 +- .../client/cli/query_consumer_conflicts.go | 4 +- x/conflict/client/cli/query_params.go | 2 +- .../client/cli/query_provider_conflicts.go | 4 +- x/conflict/client/cli/tx.go | 2 +- .../client/cli/tx_conflict_vote_commit.go | 2 +- .../client/cli/tx_conflict_vote_reveal.go | 2 +- x/conflict/client/cli/tx_detection.go | 2 +- x/conflict/genesis.go | 4 +- x/conflict/genesis_test.go | 8 +- x/conflict/handler.go | 4 +- x/conflict/keeper/conflict.go | 14 +-- x/conflict/keeper/conflict_test.go | 6 +- x/conflict/keeper/conflict_vote.go | 2 +- x/conflict/keeper/conflict_vote_test.go | 8 +- x/conflict/keeper/grpc_query.go | 2 +- x/conflict/keeper/grpc_query_conflict_vote.go | 2 +- .../keeper/grpc_query_conflict_vote_test.go | 6 +- .../keeper/grpc_query_consumer_conflicts.go | 2 +- .../grpc_query_consumer_conflicts_test.go | 4 +- x/conflict/keeper/grpc_query_params.go | 2 +- x/conflict/keeper/grpc_query_params_test.go | 4 +- .../keeper/grpc_query_provider_conflicts.go | 2 +- .../grpc_query_provider_conflicts_test.go | 4 +- x/conflict/keeper/keeper.go | 2 +- x/conflict/keeper/migrations.go | 2 +- x/conflict/keeper/msg_server.go | 2 +- .../keeper/msg_server_conflict_vote_commit.go | 4 +- .../keeper/msg_server_conflict_vote_reveal.go | 6 +- x/conflict/keeper/msg_server_detection.go | 6 +- .../keeper/msg_server_detection_test.go | 18 ++-- x/conflict/keeper/msg_server_test.go | 6 +- x/conflict/keeper/params.go | 2 +- x/conflict/keeper/params_test.go | 4 +- x/conflict/keeper/vote.go | 4 +- x/conflict/keeper/vote_test.go | 12 +-- x/conflict/migrations/v5/migrations.go | 2 +- x/conflict/module.go | 6 +- x/conflict/module_simulation.go | 6 +- x/conflict/simulation/conflict_vote_commit.go | 4 +- x/conflict/simulation/conflict_vote_reveal.go | 4 +- x/conflict/simulation/detection.go | 4 +- x/conflict/types/conflict_data.pb.go | 2 +- x/conflict/types/construct/types.go | 6 +- x/conflict/types/expected_keepers.go | 6 +- x/conflict/types/genesis_test.go | 2 +- .../message_conflict_vote_commit_test.go | 2 +- .../message_conflict_vote_reveal_test.go | 2 +- x/conflict/types/message_detection_test.go | 2 +- x/conflict/types/relay_finalization.go | 6 +- x/conflict/types/types.go | 2 +- x/downtime/client/cli/query.go | 4 +- x/downtime/client/cli/tx.go | 2 +- x/downtime/keeper/keeper.go | 4 +- x/downtime/keeper/keeper_test.go | 6 +- x/downtime/keeper/query_server.go | 2 +- x/downtime/keeper/query_server_test.go | 8 +- x/downtime/module.go | 8 +- .../ante/disable_redelegation_hooks.go | 4 +- .../ante/disable_redelegation_hooks_test.go | 6 +- x/dualstaking/client/cli/query.go | 2 +- .../client/cli/query_delegator_providers.go | 4 +- .../client/cli/query_delegator_rewards.go | 4 +- x/dualstaking/client/cli/query_params.go | 2 +- .../client/cli/query_provider_delegators.go | 4 +- x/dualstaking/client/cli/tx.go | 2 +- x/dualstaking/client/cli/tx_claim_rewards.go | 4 +- x/dualstaking/client/cli/tx_delegate.go | 4 +- x/dualstaking/client/cli/tx_redelegate.go | 4 +- x/dualstaking/client/cli/tx_unbond.go | 4 +- x/dualstaking/genesis.go | 4 +- x/dualstaking/genesis_test.go | 8 +- x/dualstaking/handler.go | 4 +- x/dualstaking/keeper/balance.go | 4 +- x/dualstaking/keeper/delegate.go | 10 +- x/dualstaking/keeper/delegate_test.go | 4 +- x/dualstaking/keeper/delegator_reward.go | 10 +- x/dualstaking/keeper/delegator_reward_test.go | 8 +- .../keeper/grpc_query_delegator_providers.go | 4 +- .../grpc_query_delegator_providers_test.go | 4 +- .../keeper/grpc_query_delegator_rewards.go | 2 +- .../keeper/grpc_query_provider_delegators.go | 2 +- .../grpc_query_provider_delegators_test.go | 4 +- x/dualstaking/keeper/helpers_test.go | 8 +- x/dualstaking/keeper/hooks.go | 4 +- x/dualstaking/keeper/hooks_test.go | 10 +- x/dualstaking/keeper/keeper.go | 4 +- x/dualstaking/keeper/migrations.go | 6 +- x/dualstaking/keeper/msg_server.go | 2 +- .../keeper/msg_server_claim_rewards.go | 6 +- x/dualstaking/keeper/msg_server_delegate.go | 6 +- x/dualstaking/keeper/msg_server_redelegate.go | 6 +- x/dualstaking/keeper/msg_server_test.go | 6 +- x/dualstaking/keeper/msg_server_unbond.go | 6 +- x/dualstaking/keeper/params.go | 2 +- x/dualstaking/keeper/params_test.go | 4 +- x/dualstaking/keeper/query.go | 2 +- x/dualstaking/keeper/query_params.go | 2 +- x/dualstaking/keeper/query_params_test.go | 4 +- x/dualstaking/keeper/slashing.go | 4 +- x/dualstaking/module.go | 6 +- x/dualstaking/module_simulation.go | 6 +- x/dualstaking/simulation/claim_rewards.go | 4 +- x/dualstaking/simulation/delegate.go | 4 +- x/dualstaking/types/delegate.go | 4 +- x/dualstaking/types/expected_keepers.go | 6 +- x/dualstaking/types/genesis.go | 2 +- x/dualstaking/types/genesis.pb.go | 4 +- x/dualstaking/types/genesis_test.go | 2 +- x/dualstaking/types/message_claim_rewards.go | 2 +- .../types/message_claim_rewards_test.go | 2 +- x/dualstaking/types/message_delegate.go | 2 +- x/dualstaking/types/message_delegate_test.go | 4 +- x/dualstaking/types/message_redelegate.go | 2 +- .../types/message_redelegate_test.go | 4 +- x/dualstaking/types/message_unbond.go | 2 +- x/dualstaking/types/message_unbond_test.go | 4 +- x/dualstaking/types/params.go | 2 +- x/epochstorage/client/cli/query.go | 2 +- .../client/cli/query_epoch_details.go | 2 +- .../client/cli/query_epoch_details_test.go | 8 +- .../client/cli/query_fixated_params.go | 2 +- .../client/cli/query_fixated_params_test.go | 8 +- x/epochstorage/client/cli/query_params.go | 2 +- .../client/cli/query_stake_storage.go | 2 +- x/epochstorage/client/cli/tx.go | 2 +- x/epochstorage/genesis.go | 4 +- x/epochstorage/genesis_test.go | 8 +- x/epochstorage/handler.go | 4 +- x/epochstorage/keeper/epoch_details.go | 4 +- x/epochstorage/keeper/epoch_details_test.go | 8 +- x/epochstorage/keeper/epoch_start.go | 4 +- x/epochstorage/keeper/fixated_params.go | 4 +- x/epochstorage/keeper/fixated_params_test.go | 10 +- x/epochstorage/keeper/grpc_query.go | 2 +- .../keeper/grpc_query_epoch_details.go | 2 +- .../keeper/grpc_query_epoch_details_test.go | 6 +- .../keeper/grpc_query_fixated_params.go | 2 +- .../keeper/grpc_query_fixated_params_test.go | 6 +- x/epochstorage/keeper/grpc_query_params.go | 2 +- .../keeper/grpc_query_params_test.go | 4 +- .../keeper/grpc_query_stake_storage.go | 2 +- .../keeper/grpc_query_stake_storage_test.go | 8 +- x/epochstorage/keeper/keeper.go | 6 +- x/epochstorage/keeper/migrations.go | 8 +- x/epochstorage/keeper/msg_server.go | 2 +- x/epochstorage/keeper/msg_server_test.go | 6 +- x/epochstorage/keeper/params.go | 4 +- x/epochstorage/keeper/params_test.go | 4 +- x/epochstorage/keeper/stake_entries.go | 4 +- x/epochstorage/keeper/stake_entries_test.go | 6 +- x/epochstorage/module.go | 6 +- x/epochstorage/module_simulation.go | 6 +- x/epochstorage/types/expected_keepers.go | 2 +- x/epochstorage/types/genesis_test.go | 2 +- x/epochstorage/types/stake_entries.go | 2 +- x/fixationstore/client/cli/query.go | 2 +- .../client/cli/query_all_indices.go | 2 +- x/fixationstore/client/cli/query_entry.go | 2 +- .../client/cli/query_store_keys.go | 2 +- x/fixationstore/client/cli/query_versions.go | 2 +- .../keeper/grpc_query_all_indices.go | 2 +- x/fixationstore/keeper/grpc_query_entry.go | 2 +- .../keeper/grpc_query_store_keys.go | 2 +- x/fixationstore/keeper/grpc_query_versions.go | 2 +- x/fixationstore/keeper/keeper.go | 4 +- x/fixationstore/module.go | 6 +- x/fixationstore/types/fixation.go | 2 +- x/fixationstore/types/fixation.pb.go | 2 +- x/fixationstore/types/fixationstore.go | 4 +- x/fixationstore/types/fixationstore_test.go | 2 +- x/pairing/client/cli/query.go | 2 +- x/pairing/client/cli/query_account_info.go | 16 +-- x/pairing/client/cli/query_debug_query.go | 10 +- .../client/cli/query_effective_policy.go | 6 +- x/pairing/client/cli/query_get_pairing.go | 4 +- x/pairing/client/cli/query_params.go | 2 +- x/pairing/client/cli/query_provider.go | 4 +- .../cli/query_provider_monthly_payout.go | 4 +- .../cli/query_provider_pairing_chance.go | 6 +- x/pairing/client/cli/query_providers.go | 2 +- .../client/cli/query_providers_epoch_cu.go | 2 +- x/pairing/client/cli/query_sdk_pairing.go | 4 +- .../client/cli/query_static_providers_list.go | 2 +- .../cli/query_subscription_monthly_payout.go | 4 +- x/pairing/client/cli/query_user_entry.go | 4 +- x/pairing/client/cli/query_verify_pairing.go | 4 +- x/pairing/client/cli/tx.go | 12 +-- x/pairing/client/cli/tx_freeze.go | 4 +- x/pairing/client/cli/tx_modify_provider.go | 12 +-- x/pairing/client/cli/tx_relay_payment.go | 2 +- .../client/cli/tx_simulate_relay_payment.go | 8 +- x/pairing/client/cli/tx_stake_provider.go | 12 +-- x/pairing/client/cli/tx_unfreeze.go | 2 +- x/pairing/client/cli/tx_unstake_provider.go | 8 +- x/pairing/client/proposal_handler.go | 2 +- x/pairing/client/utils/utils.go | 2 +- x/pairing/genesis.go | 4 +- x/pairing/genesis_test.go | 8 +- x/pairing/handler.go | 4 +- x/pairing/keeper/badge_used_cu.go | 6 +- x/pairing/keeper/badge_used_cu_test.go | 8 +- x/pairing/keeper/cu_tracker_test.go | 12 +-- x/pairing/keeper/delegator_rewards_test.go | 12 +-- x/pairing/keeper/discipline.go | 2 +- x/pairing/keeper/epoch_cu.go | 4 +- x/pairing/keeper/epoch_cu_test.go | 8 +- x/pairing/keeper/epoch_payment.go | 2 +- x/pairing/keeper/filters/addon_filter.go | 6 +- x/pairing/keeper/filters/filter.go | 10 +- x/pairing/keeper/filters/filter_test.go | 4 +- .../keeper/filters/frozen_providers_filter.go | 4 +- .../keeper/filters/geolocation_filter.go | 4 +- .../filters/selected_providers_filter.go | 4 +- x/pairing/keeper/fixation_test.go | 6 +- x/pairing/keeper/grpc_query.go | 2 +- .../keeper/grpc_query_effective_policy.go | 4 +- .../grpc_query_effective_policy_test.go | 4 +- x/pairing/keeper/grpc_query_get_pairing.go | 6 +- x/pairing/keeper/grpc_query_params.go | 2 +- x/pairing/keeper/grpc_query_params_test.go | 4 +- x/pairing/keeper/grpc_query_provider.go | 4 +- .../grpc_query_provider_monthly_payout.go | 8 +- .../grpc_query_provider_pairing_chance.go | 4 +- x/pairing/keeper/grpc_query_providers.go | 4 +- .../keeper/grpc_query_providers_epoch_cu.go | 2 +- .../grpc_query_static_providers_list.go | 6 +- .../grpc_query_subscription_monthly_payout.go | 8 +- x/pairing/keeper/grpc_query_user_entry.go | 6 +- x/pairing/keeper/grpc_query_verify_pairing.go | 2 +- x/pairing/keeper/helpers_test.go | 14 +-- x/pairing/keeper/keeper.go | 8 +- x/pairing/keeper/limitConsumer.go | 4 +- x/pairing/keeper/limitConsumer_test.go | 4 +- x/pairing/keeper/migrations.go | 4 +- x/pairing/keeper/msg_server.go | 2 +- x/pairing/keeper/msg_server_freeze.go | 6 +- x/pairing/keeper/msg_server_freeze_test.go | 4 +- x/pairing/keeper/msg_server_relay_payment.go | 12 +-- .../msg_server_relay_payment_gov_test.go | 10 +- .../keeper/msg_server_relay_payment_test.go | 14 +-- x/pairing/keeper/msg_server_stake_provider.go | 4 +- .../keeper/msg_server_stake_provider_test.go | 10 +- .../msg_server_stake_unstake_gov_test.go | 2 +- x/pairing/keeper/msg_server_test.go | 6 +- x/pairing/keeper/msg_server_unfreeze.go | 4 +- .../keeper/msg_server_unstake_provider.go | 2 +- .../msg_server_unstake_provider_test.go | 2 +- x/pairing/keeper/pairing.go | 16 +-- x/pairing/keeper/pairing_cache.go | 4 +- x/pairing/keeper/pairing_cache_test.go | 2 +- x/pairing/keeper/pairing_immediately_test.go | 6 +- .../keeper/pairing_next_epoch_time_block.go | 4 +- x/pairing/keeper/pairing_subscription_test.go | 10 +- x/pairing/keeper/pairing_test.go | 20 ++-- x/pairing/keeper/params.go | 4 +- x/pairing/keeper/params_test.go | 4 +- x/pairing/keeper/qos_excellence.go | 4 +- x/pairing/keeper/query_sdk_pairing.go | 2 +- x/pairing/keeper/scores/geo_req.go | 4 +- x/pairing/keeper/scores/geo_req_test.go | 6 +- x/pairing/keeper/scores/pairing_score.go | 4 +- x/pairing/keeper/scores/qos_req.go | 4 +- x/pairing/keeper/scores/score.go | 8 +- x/pairing/keeper/scores/score_req.go | 2 +- x/pairing/keeper/scores/stake_req.go | 2 +- x/pairing/keeper/staking.go | 10 +- x/pairing/keeper/unresponsive_provider.go | 6 +- .../keeper/unresponsive_provider_test.go | 12 +-- x/pairing/keeper/unstaking.go | 4 +- x/pairing/keeper/unstaking_test.go | 6 +- x/pairing/migrations/v2/epoch_payments.go | 2 +- x/pairing/module.go | 6 +- x/pairing/module_simulation.go | 6 +- x/pairing/proposal_handler.go | 6 +- x/pairing/simulation/freeze.go | 4 +- x/pairing/simulation/relay_payment.go | 4 +- x/pairing/simulation/stake_provider.go | 4 +- x/pairing/simulation/unfreeze.go | 4 +- x/pairing/simulation/unstake_provider.go | 4 +- x/pairing/types/account_info.pb.go | 8 +- x/pairing/types/badge_test.go | 2 +- x/pairing/types/badges.pb.go | 4 +- x/pairing/types/debug_query.pb.go | 8 +- x/pairing/types/epoch_cu.go | 2 +- x/pairing/types/expected_keepers.go | 18 ++-- x/pairing/types/genesis.go | 4 +- x/pairing/types/genesis.pb.go | 4 +- x/pairing/types/genesis_test.go | 2 +- x/pairing/types/message_freeze_test.go | 2 +- x/pairing/types/message_relay_payment_test.go | 2 +- x/pairing/types/message_stake_provider.go | 2 +- .../types/message_stake_provider_test.go | 4 +- x/pairing/types/message_unfreeze_test.go | 2 +- .../types/message_unstake_provider_test.go | 2 +- x/pairing/types/query.pb.go | 12 +-- x/pairing/types/relay.pb.go | 2 +- x/pairing/types/relay_exchange.go | 4 +- x/pairing/types/relay_session.go | 2 +- x/pairing/types/static_providers.pb.go | 2 +- x/pairing/types/tx.pb.go | 2 +- x/plans/client/cli/query.go | 2 +- x/plans/client/cli/query_info.go | 2 +- x/plans/client/cli/query_list.go | 2 +- x/plans/client/cli/query_params.go | 2 +- x/plans/client/cli/tx.go | 4 +- x/plans/client/proposal_handler.go | 2 +- x/plans/client/utils/utils.go | 6 +- x/plans/genesis.go | 4 +- x/plans/genesis_test.go | 8 +- x/plans/handler.go | 4 +- x/plans/keeper/grpc_query.go | 2 +- x/plans/keeper/grpc_query_info.go | 2 +- x/plans/keeper/grpc_query_list.go | 4 +- x/plans/keeper/grpc_query_params.go | 2 +- x/plans/keeper/grpc_query_params_test.go | 4 +- x/plans/keeper/keeper.go | 4 +- x/plans/keeper/migrations.go | 10 +- x/plans/keeper/msg_server.go | 2 +- x/plans/keeper/msg_server_test.go | 6 +- x/plans/keeper/params.go | 2 +- x/plans/keeper/params_test.go | 4 +- x/plans/keeper/plan.go | 6 +- x/plans/keeper/plan_test.go | 8 +- x/plans/migrations/v3/plan.pb.go | 2 +- x/plans/migrations/v7/plan.pb.go | 2 +- x/plans/migrations/v7/policy.pb.go | 2 +- x/plans/migrations/v8/plan.pb.go | 2 +- x/plans/migrations/v8/policy.pb.go | 2 +- x/plans/migrations/v9/plan.pb.go | 2 +- x/plans/migrations/v9/policy.pb.go | 2 +- x/plans/module.go | 6 +- x/plans/module_simulation.go | 6 +- x/plans/proposal_handler.go | 6 +- x/plans/types/delproposal.go | 2 +- x/plans/types/errors.go | 2 +- x/plans/types/expected_keepers.go | 4 +- x/plans/types/genesis.go | 2 +- x/plans/types/genesis.pb.go | 2 +- x/plans/types/genesis_test.go | 2 +- x/plans/types/geolocation_test.go | 4 +- x/plans/types/plan.pb.go | 2 +- x/plans/types/plan_decode_test.go | 4 +- x/plans/types/policy.go | 6 +- x/plans/types/policy.pb.go | 2 +- x/projects/client/cli/query.go | 2 +- x/projects/client/cli/query_developer.go | 4 +- x/projects/client/cli/query_info.go | 2 +- x/projects/client/cli/query_params.go | 2 +- x/projects/client/cli/tx.go | 2 +- x/projects/client/cli/tx_add_keys.go | 6 +- x/projects/client/cli/tx_del_keys.go | 6 +- x/projects/client/cli/tx_set_admin_policy.go | 6 +- .../client/cli/tx_set_subscription_policy.go | 4 +- x/projects/genesis.go | 4 +- x/projects/genesis_test.go | 8 +- x/projects/handler.go | 4 +- x/projects/keeper/creation.go | 6 +- x/projects/keeper/grpc_query.go | 2 +- x/projects/keeper/grpc_query_developer.go | 2 +- x/projects/keeper/grpc_query_info.go | 2 +- x/projects/keeper/grpc_query_params.go | 2 +- x/projects/keeper/grpc_query_params_test.go | 4 +- x/projects/keeper/keeper.go | 4 +- x/projects/keeper/migrations.go | 10 +- x/projects/keeper/msg_server.go | 2 +- .../keeper/msg_server_add_project_keys.go | 4 +- .../keeper/msg_server_del_project_keys.go | 4 +- .../keeper/msg_server_set_admin_policy.go | 4 +- .../msg_server_set_subscription_policy.go | 4 +- x/projects/keeper/msg_server_test.go | 6 +- x/projects/keeper/params.go | 2 +- x/projects/keeper/params_test.go | 4 +- x/projects/keeper/project.go | 6 +- x/projects/keeper/project_test.go | 10 +- x/projects/module.go | 6 +- x/projects/module_simulation.go | 6 +- x/projects/simulation/add_project_keys.go | 4 +- x/projects/simulation/del_project_keys.go | 4 +- x/projects/simulation/set_admin_policy.go | 4 +- .../simulation/set_subscription_policy.go | 4 +- x/projects/types/expected_keepers.go | 2 +- x/projects/types/genesis.go | 2 +- x/projects/types/genesis.pb.go | 2 +- x/projects/types/genesis_test.go | 2 +- x/projects/types/message_add_keys_test.go | 2 +- x/projects/types/message_del_keys_test.go | 2 +- x/projects/types/message_set_admin_policy.go | 2 +- .../types/message_set_admin_policy_test.go | 4 +- .../types/message_set_subscription_policy.go | 2 +- .../message_set_subscription_policy_test.go | 4 +- x/projects/types/project.go | 2 +- x/projects/types/project.pb.go | 2 +- x/projects/types/tx.pb.go | 2 +- x/protocol/client/cli/query.go | 2 +- x/protocol/client/cli/query_params.go | 2 +- x/protocol/client/cli/tx.go | 2 +- x/protocol/genesis.go | 4 +- x/protocol/genesis_test.go | 8 +- x/protocol/handler.go | 4 +- x/protocol/keeper/grpc_query.go | 2 +- x/protocol/keeper/grpc_query_params.go | 2 +- x/protocol/keeper/grpc_query_params_test.go | 4 +- x/protocol/keeper/keeper.go | 2 +- x/protocol/keeper/migrations.go | 6 +- x/protocol/keeper/msg_server.go | 2 +- x/protocol/keeper/msg_server_set_version.go | 2 +- x/protocol/keeper/msg_server_test.go | 6 +- x/protocol/keeper/params.go | 2 +- x/protocol/keeper/params_test.go | 4 +- x/protocol/module.go | 6 +- x/protocol/module_simulation.go | 6 +- x/protocol/types/genesis_test.go | 2 +- x/protocol/types/message_set_version_test.go | 2 +- x/rewards/abci.go | 2 +- x/rewards/client/cli/query.go | 2 +- x/rewards/client/cli/query_block_reward.go | 2 +- .../query_iprpc_provider_reward_estimation.go | 4 +- .../client/cli/query_iprpc_spec_reward.go | 2 +- x/rewards/client/cli/query_params.go | 2 +- x/rewards/client/cli/query_pools.go | 2 +- x/rewards/client/cli/query_show_iprpc_data.go | 2 +- .../client/cli/query_spec_tracked_info.go | 4 +- x/rewards/client/cli/tx.go | 4 +- x/rewards/client/cli/tx_fund_iprpc.go | 2 +- x/rewards/genesis.go | 4 +- x/rewards/genesis_test.go | 6 +- x/rewards/handler.go | 4 +- x/rewards/keeper/base_pay.go | 2 +- x/rewards/keeper/grpc_query.go | 2 +- x/rewards/keeper/grpc_query_block_reward.go | 4 +- .../grpc_query_iprpc_provider_reward.go | 2 +- .../keeper/grpc_query_iprpc_spec_reward.go | 2 +- x/rewards/keeper/grpc_query_params.go | 2 +- x/rewards/keeper/grpc_query_params_test.go | 4 +- x/rewards/keeper/grpc_query_pools.go | 2 +- .../keeper/grpc_query_show_iprpc_data.go | 2 +- .../keeper/grpc_query_spec_tracked_info.go | 2 +- x/rewards/keeper/helpers_test.go | 16 +-- x/rewards/keeper/iprpc.go | 4 +- x/rewards/keeper/iprpc_data.go | 4 +- x/rewards/keeper/iprpc_data_test.go | 10 +- x/rewards/keeper/iprpc_reward.go | 2 +- x/rewards/keeper/iprpc_test.go | 6 +- x/rewards/keeper/keeper.go | 4 +- x/rewards/keeper/msg_server.go | 2 +- x/rewards/keeper/msg_server_fund_iprpc.go | 4 +- x/rewards/keeper/msg_server_set_iprpc_data.go | 4 +- x/rewards/keeper/msg_server_test.go | 6 +- x/rewards/keeper/params.go | 2 +- x/rewards/keeper/params_test.go | 4 +- x/rewards/keeper/pool.go | 2 +- x/rewards/keeper/pool_test.go | 10 +- x/rewards/keeper/providers.go | 6 +- x/rewards/keeper/providers_test.go | 8 +- x/rewards/keeper/rewards.go | 6 +- x/rewards/module.go | 6 +- x/rewards/module_simulation.go | 6 +- x/rewards/types/expected_keepers.go | 8 +- x/rewards/types/genesis.go | 4 +- x/rewards/types/genesis.pb.go | 2 +- x/rewards/types/genesis_test.go | 2 +- x/rewards/types/message_fund_iprpc_test.go | 2 +- .../types/message_set_iprpc_data_test.go | 4 +- x/spec/ante/ante.go | 2 +- x/spec/ante/ante_test.go | 12 +-- x/spec/client/cli/query.go | 2 +- x/spec/client/cli/query_params.go | 2 +- x/spec/client/cli/query_show_all_chains.go | 2 +- x/spec/client/cli/query_show_chain_info.go | 2 +- x/spec/client/cli/query_spec.go | 2 +- x/spec/client/cli/query_spec_test.go | 8 +- x/spec/client/cli/tx.go | 6 +- x/spec/client/proposal_handler.go | 2 +- x/spec/client/utils/utils.go | 6 +- x/spec/genesis.go | 4 +- x/spec/genesis_test.go | 8 +- x/spec/handler.go | 4 +- x/spec/keeper/grpc_query.go | 2 +- x/spec/keeper/grpc_query_params.go | 2 +- x/spec/keeper/grpc_query_params_test.go | 4 +- x/spec/keeper/grpc_query_show_all_chains.go | 4 +- x/spec/keeper/grpc_query_show_chain_info.go | 4 +- x/spec/keeper/grpc_query_spec.go | 2 +- x/spec/keeper/grpc_query_spec_test.go | 6 +- x/spec/keeper/keeper.go | 2 +- x/spec/keeper/migrations.go | 4 +- x/spec/keeper/msg_server.go | 2 +- x/spec/keeper/msg_server_test.go | 6 +- x/spec/keeper/params.go | 2 +- x/spec/keeper/params_test.go | 4 +- x/spec/keeper/spec.go | 8 +- x/spec/keeper/spec_test.go | 14 +-- x/spec/module.go | 6 +- x/spec/module_simulation.go | 6 +- x/spec/proposal_handler.go | 8 +- x/spec/types/errors.go | 2 +- x/spec/types/genesis_test.go | 2 +- x/spec/types/spec.go | 4 +- x/subscription/client/cli/query.go | 2 +- x/subscription/client/cli/query_current.go | 4 +- .../client/cli/query_estimated_rewards.go | 4 +- .../cli/query_estimated_validators_rewards.go | 4 +- x/subscription/client/cli/query_list.go | 2 +- .../client/cli/query_list_projects.go | 4 +- .../client/cli/query_next_to_month_expiry.go | 2 +- x/subscription/client/cli/query_params.go | 2 +- .../client/cli/query_tracked_cu_usage.go | 2 +- x/subscription/client/cli/tx.go | 2 +- x/subscription/client/cli/tx_add_project.go | 10 +- x/subscription/client/cli/tx_auto_renewal.go | 4 +- x/subscription/client/cli/tx_buy.go | 4 +- x/subscription/client/cli/tx_del_project.go | 2 +- x/subscription/genesis.go | 4 +- x/subscription/genesis_test.go | 8 +- x/subscription/handler.go | 4 +- x/subscription/keeper/adjustment.go | 4 +- x/subscription/keeper/adjustment_test.go | 2 +- x/subscription/keeper/cluster.go | 2 +- x/subscription/keeper/cluster_test.go | 2 +- x/subscription/keeper/cu_tracker.go | 8 +- x/subscription/keeper/grpc_query.go | 2 +- x/subscription/keeper/grpc_query_current.go | 2 +- .../keeper/grpc_query_estimated_rewards.go | 6 +- .../grpc_query_estimated_validator_rewards.go | 4 +- x/subscription/keeper/grpc_query_list.go | 4 +- .../keeper/grpc_query_list_projects.go | 4 +- .../keeper/grpc_query_next_to_month_expiry.go | 4 +- x/subscription/keeper/grpc_query_params.go | 2 +- .../keeper/grpc_query_params_test.go | 4 +- .../keeper/grpc_query_tracked_usage.go | 2 +- x/subscription/keeper/keeper.go | 6 +- x/subscription/keeper/migrations.go | 12 +-- x/subscription/keeper/msg_server.go | 2 +- .../keeper/msg_server_add_project.go | 6 +- .../keeper/msg_server_auto_renewal.go | 6 +- x/subscription/keeper/msg_server_buy.go | 4 +- .../keeper/msg_server_del_project.go | 4 +- x/subscription/keeper/msg_server_test.go | 6 +- x/subscription/keeper/params.go | 2 +- x/subscription/keeper/params_test.go | 4 +- x/subscription/keeper/subscription.go | 10 +- x/subscription/keeper/subscription_test.go | 18 ++-- x/subscription/module.go | 6 +- x/subscription/module_simulation.go | 6 +- x/subscription/simulation/add_project.go | 4 +- x/subscription/simulation/auto_renewal.go | 4 +- x/subscription/simulation/buy.go | 4 +- x/subscription/simulation/del_project.go | 4 +- x/subscription/types/expected_keepers.go | 14 +-- x/subscription/types/genesis.go | 4 +- x/subscription/types/genesis.pb.go | 4 +- x/subscription/types/genesis_test.go | 2 +- x/subscription/types/message_add_project.go | 2 +- .../types/message_add_project_test.go | 6 +- .../types/message_auto_renewal_test.go | 2 +- x/subscription/types/message_buy_test.go | 2 +- .../types/message_del_project_test.go | 2 +- x/subscription/types/tx.pb.go | 2 +- x/timerstore/client/cli/query.go | 2 +- x/timerstore/client/cli/query_all_timers.go | 2 +- x/timerstore/client/cli/query_next.go | 2 +- x/timerstore/client/cli/query_store_keys.go | 2 +- x/timerstore/keeper/grpc_query_all_timers.go | 2 +- x/timerstore/keeper/grpc_query_next.go | 4 +- x/timerstore/keeper/grpc_query_store_keys.go | 2 +- x/timerstore/keeper/keeper.go | 2 +- x/timerstore/module.go | 6 +- x/timerstore/types/timer.go | 2 +- 893 files changed, 2458 insertions(+), 2458 deletions(-) diff --git a/Makefile b/Makefile index 2aab215424..2380521d62 100644 --- a/Makefile +++ b/Makefile @@ -193,10 +193,10 @@ ifeq (static,$(findstring static,$(LAVA_BUILD_OPTIONS))) endif ifeq (mask_consumer_logs,$(findstring mask_consumer_logs,$(LAVA_BUILD_OPTIONS))) - ldflags += -X github.com/lavanet/lava/v2/protocol/common.ReturnMaskedErrors=true + ldflags += -X github.com/lavanet/lava/v3/protocol/common.ReturnMaskedErrors=true endif ifeq (debug_mutex,$(findstring debug_mutex,$(LAVA_BUILD_OPTIONS))) - ldflags += -X github.com/lavanet/lava/v2/utils.TimeoutMutex=true + ldflags += -X github.com/lavanet/lava/v3/utils.TimeoutMutex=true endif ifeq (cleveldb,$(findstring cleveldb,$(LAVA_BUILD_OPTIONS))) @@ -207,12 +207,12 @@ endif ifeq (release,$(findstring release,$(LAVA_BUILD_OPTIONS))) $(info Building With Production Flag) - ldflags += -X github.com/lavanet/lava/v2/utils.ExtendedLogLevel=production + ldflags += -X github.com/lavanet/lava/v3/utils.ExtendedLogLevel=production endif ifeq (debug_payment_e2e,$(findstring debug_payment_e2e,$(LAVA_BUILD_OPTIONS))) $(info Building With Debug Payment E2E Flag. Making a month 2 minutes) - ldflags += -X github.com/lavanet/lava/v2/utils.DebugPaymentE2E=debug_payment_e2e + ldflags += -X github.com/lavanet/lava/v3/utils.DebugPaymentE2E=debug_payment_e2e endif ifeq (,$(findstring nostrip,$(LAVA_BUILD_OPTIONS))) diff --git a/app/ante.go b/app/ante.go index 46fdd13d71..4d8d1933b2 100644 --- a/app/ante.go +++ b/app/ante.go @@ -5,10 +5,10 @@ import ( "github.com/cosmos/cosmos-sdk/x/auth/ante" "github.com/cosmos/cosmos-sdk/x/auth/signing" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - dualstakingante "github.com/lavanet/lava/v2/x/dualstaking/ante" - dualstakingkeeper "github.com/lavanet/lava/v2/x/dualstaking/keeper" - specante "github.com/lavanet/lava/v2/x/spec/ante" - "github.com/lavanet/lava/v2/x/spec/keeper" + dualstakingante "github.com/lavanet/lava/v3/x/dualstaking/ante" + dualstakingkeeper "github.com/lavanet/lava/v3/x/dualstaking/keeper" + specante "github.com/lavanet/lava/v3/x/spec/ante" + "github.com/lavanet/lava/v3/x/spec/keeper" ) func NewAnteHandler(accountKeeper ante.AccountKeeper, bankKeeper authtypes.BankKeeper, dualstakingKeeper dualstakingkeeper.Keeper, signModeHandler signing.SignModeHandler, feegrantKeeper ante.FeegrantKeeper, specKeeper keeper.Keeper, sigGasConsumer ante.SignatureVerificationGasConsumer) sdk.AnteHandler { diff --git a/app/app.go b/app/app.go index d0b22c2740..7297ef3b99 100644 --- a/app/app.go +++ b/app/app.go @@ -15,13 +15,13 @@ import ( v1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" icatypes "github.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/fixationstore" - fixationkeeper "github.com/lavanet/lava/v2/x/fixationstore/keeper" - fixationtypes "github.com/lavanet/lava/v2/x/fixationstore/types" - "github.com/lavanet/lava/v2/x/timerstore" - timerstorekeeper "github.com/lavanet/lava/v2/x/timerstore/keeper" - timerstoretypes "github.com/lavanet/lava/v2/x/timerstore/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/fixationstore" + fixationkeeper "github.com/lavanet/lava/v3/x/fixationstore/keeper" + fixationtypes "github.com/lavanet/lava/v3/x/fixationstore/types" + "github.com/lavanet/lava/v3/x/timerstore" + timerstorekeeper "github.com/lavanet/lava/v3/x/timerstore/keeper" + timerstoretypes "github.com/lavanet/lava/v3/x/timerstore/types" "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7/packetforward" packetforwardkeeper "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7/packetforward/keeper" @@ -113,48 +113,48 @@ import ( ibcexported "github.com/cosmos/ibc-go/v7/modules/core/exported" ibckeeper "github.com/cosmos/ibc-go/v7/modules/core/keeper" ibctm "github.com/cosmos/ibc-go/v7/modules/light-clients/07-tendermint" - "github.com/lavanet/lava/v2/app/keepers" - appparams "github.com/lavanet/lava/v2/app/params" - "github.com/lavanet/lava/v2/app/upgrades" - "github.com/lavanet/lava/v2/docs" - conflictmodule "github.com/lavanet/lava/v2/x/conflict" - conflictmodulekeeper "github.com/lavanet/lava/v2/x/conflict/keeper" - conflictmoduletypes "github.com/lavanet/lava/v2/x/conflict/types" - downtimemodule "github.com/lavanet/lava/v2/x/downtime" - downtimemodulekeeper "github.com/lavanet/lava/v2/x/downtime/keeper" - downtimemoduletypes "github.com/lavanet/lava/v2/x/downtime/types" - dualstakingmodule "github.com/lavanet/lava/v2/x/dualstaking" - dualstakingmodulekeeper "github.com/lavanet/lava/v2/x/dualstaking/keeper" - dualstakingmoduletypes "github.com/lavanet/lava/v2/x/dualstaking/types" - epochstoragemodule "github.com/lavanet/lava/v2/x/epochstorage" - epochstoragemodulekeeper "github.com/lavanet/lava/v2/x/epochstorage/keeper" - epochstoragemoduletypes "github.com/lavanet/lava/v2/x/epochstorage/types" - pairingmodule "github.com/lavanet/lava/v2/x/pairing" - pairingmoduleclient "github.com/lavanet/lava/v2/x/pairing/client" - pairingmodulekeeper "github.com/lavanet/lava/v2/x/pairing/keeper" - pairingmoduletypes "github.com/lavanet/lava/v2/x/pairing/types" - plansmodule "github.com/lavanet/lava/v2/x/plans" - plansmoduleclient "github.com/lavanet/lava/v2/x/plans/client" - plansmodulekeeper "github.com/lavanet/lava/v2/x/plans/keeper" - plansmoduletypes "github.com/lavanet/lava/v2/x/plans/types" - projectsmodule "github.com/lavanet/lava/v2/x/projects" - projectsmodulekeeper "github.com/lavanet/lava/v2/x/projects/keeper" - projectsmoduletypes "github.com/lavanet/lava/v2/x/projects/types" - protocolmodule "github.com/lavanet/lava/v2/x/protocol" - protocolmoduleclient "github.com/lavanet/lava/v2/x/protocol/client/cli" - protocolmodulekeeper "github.com/lavanet/lava/v2/x/protocol/keeper" - protocolmoduletypes "github.com/lavanet/lava/v2/x/protocol/types" - rewardsmodule "github.com/lavanet/lava/v2/x/rewards" - rewardsmoduleclient "github.com/lavanet/lava/v2/x/rewards/client/cli" - rewardsmodulekeeper "github.com/lavanet/lava/v2/x/rewards/keeper" - rewardsmoduletypes "github.com/lavanet/lava/v2/x/rewards/types" - specmodule "github.com/lavanet/lava/v2/x/spec" - specmoduleclient "github.com/lavanet/lava/v2/x/spec/client" - specmodulekeeper "github.com/lavanet/lava/v2/x/spec/keeper" - specmoduletypes "github.com/lavanet/lava/v2/x/spec/types" - subscriptionmodule "github.com/lavanet/lava/v2/x/subscription" - subscriptionmodulekeeper "github.com/lavanet/lava/v2/x/subscription/keeper" - subscriptionmoduletypes "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/app/keepers" + appparams "github.com/lavanet/lava/v3/app/params" + "github.com/lavanet/lava/v3/app/upgrades" + "github.com/lavanet/lava/v3/docs" + conflictmodule "github.com/lavanet/lava/v3/x/conflict" + conflictmodulekeeper "github.com/lavanet/lava/v3/x/conflict/keeper" + conflictmoduletypes "github.com/lavanet/lava/v3/x/conflict/types" + downtimemodule "github.com/lavanet/lava/v3/x/downtime" + downtimemodulekeeper "github.com/lavanet/lava/v3/x/downtime/keeper" + downtimemoduletypes "github.com/lavanet/lava/v3/x/downtime/types" + dualstakingmodule "github.com/lavanet/lava/v3/x/dualstaking" + dualstakingmodulekeeper "github.com/lavanet/lava/v3/x/dualstaking/keeper" + dualstakingmoduletypes "github.com/lavanet/lava/v3/x/dualstaking/types" + epochstoragemodule "github.com/lavanet/lava/v3/x/epochstorage" + epochstoragemodulekeeper "github.com/lavanet/lava/v3/x/epochstorage/keeper" + epochstoragemoduletypes "github.com/lavanet/lava/v3/x/epochstorage/types" + pairingmodule "github.com/lavanet/lava/v3/x/pairing" + pairingmoduleclient "github.com/lavanet/lava/v3/x/pairing/client" + pairingmodulekeeper "github.com/lavanet/lava/v3/x/pairing/keeper" + pairingmoduletypes "github.com/lavanet/lava/v3/x/pairing/types" + plansmodule "github.com/lavanet/lava/v3/x/plans" + plansmoduleclient "github.com/lavanet/lava/v3/x/plans/client" + plansmodulekeeper "github.com/lavanet/lava/v3/x/plans/keeper" + plansmoduletypes "github.com/lavanet/lava/v3/x/plans/types" + projectsmodule "github.com/lavanet/lava/v3/x/projects" + projectsmodulekeeper "github.com/lavanet/lava/v3/x/projects/keeper" + projectsmoduletypes "github.com/lavanet/lava/v3/x/projects/types" + protocolmodule "github.com/lavanet/lava/v3/x/protocol" + protocolmoduleclient "github.com/lavanet/lava/v3/x/protocol/client/cli" + protocolmodulekeeper "github.com/lavanet/lava/v3/x/protocol/keeper" + protocolmoduletypes "github.com/lavanet/lava/v3/x/protocol/types" + rewardsmodule "github.com/lavanet/lava/v3/x/rewards" + rewardsmoduleclient "github.com/lavanet/lava/v3/x/rewards/client/cli" + rewardsmodulekeeper "github.com/lavanet/lava/v3/x/rewards/keeper" + rewardsmoduletypes "github.com/lavanet/lava/v3/x/rewards/types" + specmodule "github.com/lavanet/lava/v3/x/spec" + specmoduleclient "github.com/lavanet/lava/v3/x/spec/client" + specmodulekeeper "github.com/lavanet/lava/v3/x/spec/keeper" + specmoduletypes "github.com/lavanet/lava/v3/x/spec/types" + subscriptionmodule "github.com/lavanet/lava/v3/x/subscription" + subscriptionmodulekeeper "github.com/lavanet/lava/v3/x/subscription/keeper" + subscriptionmoduletypes "github.com/lavanet/lava/v3/x/subscription/types" "github.com/spf13/cast" // this line is used by starport scaffolding # stargate/app/moduleImport ) diff --git a/app/encoding.go b/app/encoding.go index a44169894e..efbddbc411 100644 --- a/app/encoding.go +++ b/app/encoding.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/std" "github.com/cosmos/cosmos-sdk/x/auth/tx" - "github.com/lavanet/lava/v2/app/params" + "github.com/lavanet/lava/v3/app/params" ) // makeEncodingConfig creates an EncodingConfig for an amino based test configuration. diff --git a/app/keepers/lavaKeepers.go b/app/keepers/lavaKeepers.go index f6eb0e9851..32a47e57e5 100644 --- a/app/keepers/lavaKeepers.go +++ b/app/keepers/lavaKeepers.go @@ -20,19 +20,19 @@ import ( icahostkeeper "github.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/keeper" ibctransferkeeper "github.com/cosmos/ibc-go/v7/modules/apps/transfer/keeper" ibckeeper "github.com/cosmos/ibc-go/v7/modules/core/keeper" - conflictmodulekeeper "github.com/lavanet/lava/v2/x/conflict/keeper" - downtimemodulekeeper "github.com/lavanet/lava/v2/x/downtime/keeper" - dualstakingmodulekeeper "github.com/lavanet/lava/v2/x/dualstaking/keeper" - epochstoragemodulekeeper "github.com/lavanet/lava/v2/x/epochstorage/keeper" - fixationkeeper "github.com/lavanet/lava/v2/x/fixationstore/keeper" - pairingmodulekeeper "github.com/lavanet/lava/v2/x/pairing/keeper" - plansmodulekeeper "github.com/lavanet/lava/v2/x/plans/keeper" - projectsmodulekeeper "github.com/lavanet/lava/v2/x/projects/keeper" - protocolmodulekeeper "github.com/lavanet/lava/v2/x/protocol/keeper" - rewardsmodulekeeper "github.com/lavanet/lava/v2/x/rewards/keeper" - specmodulekeeper "github.com/lavanet/lava/v2/x/spec/keeper" - subscriptionmodulekeeper "github.com/lavanet/lava/v2/x/subscription/keeper" - timerstorekeeper "github.com/lavanet/lava/v2/x/timerstore/keeper" + conflictmodulekeeper "github.com/lavanet/lava/v3/x/conflict/keeper" + downtimemodulekeeper "github.com/lavanet/lava/v3/x/downtime/keeper" + dualstakingmodulekeeper "github.com/lavanet/lava/v3/x/dualstaking/keeper" + epochstoragemodulekeeper "github.com/lavanet/lava/v3/x/epochstorage/keeper" + fixationkeeper "github.com/lavanet/lava/v3/x/fixationstore/keeper" + pairingmodulekeeper "github.com/lavanet/lava/v3/x/pairing/keeper" + plansmodulekeeper "github.com/lavanet/lava/v3/x/plans/keeper" + projectsmodulekeeper "github.com/lavanet/lava/v3/x/projects/keeper" + protocolmodulekeeper "github.com/lavanet/lava/v3/x/protocol/keeper" + rewardsmodulekeeper "github.com/lavanet/lava/v3/x/rewards/keeper" + specmodulekeeper "github.com/lavanet/lava/v3/x/spec/keeper" + subscriptionmodulekeeper "github.com/lavanet/lava/v3/x/subscription/keeper" + timerstorekeeper "github.com/lavanet/lava/v3/x/timerstore/keeper" // this line is used by starport scaffolding # stargate/app/moduleImport ) diff --git a/app/simulation_test.go b/app/simulation_test.go index 1d592fef78..8d7e60fb77 100644 --- a/app/simulation_test.go +++ b/app/simulation_test.go @@ -13,7 +13,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/simulation" "github.com/cosmos/cosmos-sdk/x/simulation/client/cli" "github.com/cosmos/ibc-go/v7/testing/simapp" - "github.com/lavanet/lava/v2/app" + "github.com/lavanet/lava/v3/app" "github.com/stretchr/testify/require" ) diff --git a/app/upgrades/empty_upgrades.go b/app/upgrades/empty_upgrades.go index 3eddfec1d9..348fd31622 100644 --- a/app/upgrades/empty_upgrades.go +++ b/app/upgrades/empty_upgrades.go @@ -11,12 +11,12 @@ import ( packetforwardtypes "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7/packetforward/types" icacontrollertypes "github.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/controller/types" icahosttypes "github.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/types" - "github.com/lavanet/lava/v2/app/keepers" - v1 "github.com/lavanet/lava/v2/x/downtime/v1" - dualstakingtypes "github.com/lavanet/lava/v2/x/dualstaking/types" - fixationtypes "github.com/lavanet/lava/v2/x/fixationstore/types" - protocoltypes "github.com/lavanet/lava/v2/x/protocol/types" - rewardstypes "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/app/keepers" + v1 "github.com/lavanet/lava/v3/x/downtime/v1" + dualstakingtypes "github.com/lavanet/lava/v3/x/dualstaking/types" + fixationtypes "github.com/lavanet/lava/v3/x/fixationstore/types" + protocoltypes "github.com/lavanet/lava/v3/x/protocol/types" + rewardstypes "github.com/lavanet/lava/v3/x/rewards/types" ) func defaultUpgradeHandler( diff --git a/app/upgrades/types.go b/app/upgrades/types.go index 539f8da374..ae8bea3dbf 100644 --- a/app/upgrades/types.go +++ b/app/upgrades/types.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - "github.com/lavanet/lava/v2/app/keepers" + "github.com/lavanet/lava/v3/app/keepers" ) type BaseAppParamManager interface { diff --git a/app/upgrades/upgrade_0_32_0.go b/app/upgrades/upgrade_0_32_0.go index 6264984138..79eb7971c8 100644 --- a/app/upgrades/upgrade_0_32_0.go +++ b/app/upgrades/upgrade_0_32_0.go @@ -8,9 +8,9 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" "github.com/cosmos/cosmos-sdk/x/bank/types" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - "github.com/lavanet/lava/v2/app/keepers" - dualstakingtypes "github.com/lavanet/lava/v2/x/dualstaking/types" - rewardstypes "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/app/keepers" + dualstakingtypes "github.com/lavanet/lava/v3/x/dualstaking/types" + rewardstypes "github.com/lavanet/lava/v3/x/rewards/types" ) func v0_32_0_UpgradeHandler( diff --git a/app/upgrades/upgrade_0_35_0.go b/app/upgrades/upgrade_0_35_0.go index 183adbd2d2..c468fe9c27 100644 --- a/app/upgrades/upgrade_0_35_0.go +++ b/app/upgrades/upgrade_0_35_0.go @@ -6,9 +6,9 @@ import ( upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" "github.com/cosmos/gogoproto/proto" ibctypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types" - "github.com/lavanet/lava/v2/app/keepers" - protocoltypes "github.com/lavanet/lava/v2/x/protocol/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/app/keepers" + protocoltypes "github.com/lavanet/lava/v3/x/protocol/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) func v_35_0( diff --git a/cmd/common/warning_log_command_wrapper.go b/cmd/common/warning_log_command_wrapper.go index 255ff1806b..277bc107c9 100644 --- a/cmd/common/warning_log_command_wrapper.go +++ b/cmd/common/warning_log_command_wrapper.go @@ -1,7 +1,7 @@ package common import ( - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" "github.com/spf13/cobra" ) diff --git a/cmd/lavad/cmd/config.go b/cmd/lavad/cmd/config.go index badaa2588e..2e01650e2f 100644 --- a/cmd/lavad/cmd/config.go +++ b/cmd/lavad/cmd/config.go @@ -3,7 +3,7 @@ package cmd import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/app" + "github.com/lavanet/lava/v3/app" ) func InitSDKConfig() { diff --git a/cmd/lavad/cmd/root.go b/cmd/lavad/cmd/root.go index 7ad8854f53..c24111464d 100644 --- a/cmd/lavad/cmd/root.go +++ b/cmd/lavad/cmd/root.go @@ -34,17 +34,17 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/cosmos/cosmos-sdk/x/crisis" genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" - cmdcommon "github.com/lavanet/lava/v2/cmd/common" - "github.com/lavanet/lava/v2/utils" - protocoltypes "github.com/lavanet/lava/v2/x/protocol/types" + cmdcommon "github.com/lavanet/lava/v3/cmd/common" + "github.com/lavanet/lava/v3/utils" + protocoltypes "github.com/lavanet/lava/v3/x/protocol/types" "github.com/spf13/cast" "github.com/spf13/cobra" "github.com/spf13/pflag" // this line is used by starport scaffolding # root/moduleImport - "github.com/lavanet/lava/v2/app" - appparams "github.com/lavanet/lava/v2/app/params" + "github.com/lavanet/lava/v3/app" + appparams "github.com/lavanet/lava/v3/app/params" ) // NewRootCmd creates a new root command for a Cosmos SDK application diff --git a/cmd/lavad/main.go b/cmd/lavad/main.go index f1e3988527..a1c3488b60 100644 --- a/cmd/lavad/main.go +++ b/cmd/lavad/main.go @@ -8,14 +8,14 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/server" svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - "github.com/lavanet/lava/v2/app" - cmdcommon "github.com/lavanet/lava/v2/cmd/common" - "github.com/lavanet/lava/v2/cmd/lavad/cmd" - "github.com/lavanet/lava/v2/protocol/badgegenerator" - "github.com/lavanet/lava/v2/protocol/rpcconsumer" - "github.com/lavanet/lava/v2/protocol/rpcprovider" - "github.com/lavanet/lava/v2/protocol/statetracker" - utilscli "github.com/lavanet/lava/v2/utils/cli" + "github.com/lavanet/lava/v3/app" + cmdcommon "github.com/lavanet/lava/v3/cmd/common" + "github.com/lavanet/lava/v3/cmd/lavad/cmd" + "github.com/lavanet/lava/v3/protocol/badgegenerator" + "github.com/lavanet/lava/v3/protocol/rpcconsumer" + "github.com/lavanet/lava/v3/protocol/rpcprovider" + "github.com/lavanet/lava/v3/protocol/statetracker" + utilscli "github.com/lavanet/lava/v3/utils/cli" "github.com/spf13/cobra" ) diff --git a/cmd/lavap/main.go b/cmd/lavap/main.go index 9ac2f1c5bc..c6eaaba8e0 100644 --- a/cmd/lavap/main.go +++ b/cmd/lavap/main.go @@ -9,19 +9,19 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/server" svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - "github.com/lavanet/lava/v2/app" - "github.com/lavanet/lava/v2/cmd/lavad/cmd" - "github.com/lavanet/lava/v2/ecosystem/cache" - "github.com/lavanet/lava/v2/protocol/badgegenerator" - "github.com/lavanet/lava/v2/protocol/badgeserver" - "github.com/lavanet/lava/v2/protocol/loadtest" - "github.com/lavanet/lava/v2/protocol/monitoring" - "github.com/lavanet/lava/v2/protocol/performance/connection" - validators "github.com/lavanet/lava/v2/protocol/performance/validators" - "github.com/lavanet/lava/v2/protocol/rpcconsumer" - "github.com/lavanet/lava/v2/protocol/rpcprovider" - "github.com/lavanet/lava/v2/protocol/statetracker" - "github.com/lavanet/lava/v2/protocol/upgrade" + "github.com/lavanet/lava/v3/app" + "github.com/lavanet/lava/v3/cmd/lavad/cmd" + "github.com/lavanet/lava/v3/ecosystem/cache" + "github.com/lavanet/lava/v3/protocol/badgegenerator" + "github.com/lavanet/lava/v3/protocol/badgeserver" + "github.com/lavanet/lava/v3/protocol/loadtest" + "github.com/lavanet/lava/v3/protocol/monitoring" + "github.com/lavanet/lava/v3/protocol/performance/connection" + validators "github.com/lavanet/lava/v3/protocol/performance/validators" + "github.com/lavanet/lava/v3/protocol/rpcconsumer" + "github.com/lavanet/lava/v3/protocol/rpcprovider" + "github.com/lavanet/lava/v3/protocol/statetracker" + "github.com/lavanet/lava/v3/protocol/upgrade" "github.com/spf13/cobra" ) diff --git a/cmd/lavavisor/main.go b/cmd/lavavisor/main.go index 34b5c801e0..ff18141ac2 100644 --- a/cmd/lavavisor/main.go +++ b/cmd/lavavisor/main.go @@ -6,10 +6,10 @@ import ( "github.com/cosmos/cosmos-sdk/server" svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - "github.com/lavanet/lava/v2/app" - "github.com/lavanet/lava/v2/cmd/lavad/cmd" - lvcmd "github.com/lavanet/lava/v2/ecosystem/lavavisor/cmd" - "github.com/lavanet/lava/v2/protocol/upgrade" + "github.com/lavanet/lava/v3/app" + "github.com/lavanet/lava/v3/cmd/lavad/cmd" + lvcmd "github.com/lavanet/lava/v3/ecosystem/lavavisor/cmd" + "github.com/lavanet/lava/v3/protocol/upgrade" "github.com/spf13/cobra" ) diff --git a/ecosystem/cache/cache_test.go b/ecosystem/cache/cache_test.go index 1f2cfbbbbc..f65ccbfee2 100644 --- a/ecosystem/cache/cache_test.go +++ b/ecosystem/cache/cache_test.go @@ -8,12 +8,12 @@ import ( "testing" "time" - "github.com/lavanet/lava/v2/ecosystem/cache" - "github.com/lavanet/lava/v2/ecosystem/cache/format" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/utils" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/ecosystem/cache" + "github.com/lavanet/lava/v3/ecosystem/cache/format" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/utils" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" "github.com/tidwall/gjson" ) diff --git a/ecosystem/cache/command.go b/ecosystem/cache/command.go index c138a59134..ae95ff35dc 100644 --- a/ecosystem/cache/command.go +++ b/ecosystem/cache/command.go @@ -3,7 +3,7 @@ package cache import ( "context" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" "github.com/rs/zerolog" "github.com/spf13/cobra" ) diff --git a/ecosystem/cache/format/formatter.go b/ecosystem/cache/format/formatter.go index 1e886ecf2d..ec84b0281c 100644 --- a/ecosystem/cache/format/formatter.go +++ b/ecosystem/cache/format/formatter.go @@ -1,7 +1,7 @@ package format import ( - spectypes "github.com/lavanet/lava/v2/x/spec/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) // input formatter works on the input data diff --git a/ecosystem/cache/format/formatter_test.go b/ecosystem/cache/format/formatter_test.go index 8650813279..8672a5e412 100644 --- a/ecosystem/cache/format/formatter_test.go +++ b/ecosystem/cache/format/formatter_test.go @@ -3,7 +3,7 @@ package format import ( "testing" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" ) diff --git a/ecosystem/cache/format/jsonrpc.go b/ecosystem/cache/format/jsonrpc.go index 1eef0021a3..f01a363ba9 100644 --- a/ecosystem/cache/format/jsonrpc.go +++ b/ecosystem/cache/format/jsonrpc.go @@ -3,7 +3,7 @@ package format import ( "encoding/json" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/ecosystem/cache/handlers.go b/ecosystem/cache/handlers.go index 49cbd6adba..c3f09ab260 100644 --- a/ecosystem/cache/handlers.go +++ b/ecosystem/cache/handlers.go @@ -13,12 +13,12 @@ import ( sdkerrors "cosmossdk.io/errors" "github.com/dgraph-io/ristretto" - "github.com/lavanet/lava/v2/protocol/lavaprotocol" - "github.com/lavanet/lava/v2/protocol/parser" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/lavaslices" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/lavaprotocol" + "github.com/lavanet/lava/v3/protocol/parser" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/lavaslices" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" emptypb "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/ecosystem/cache/metrics.go b/ecosystem/cache/metrics.go index 57f1a72e6d..5f716f1536 100644 --- a/ecosystem/cache/metrics.go +++ b/ecosystem/cache/metrics.go @@ -4,8 +4,8 @@ import ( "net/http" "sync" - "github.com/lavanet/lava/v2/utils" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/utils" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp" ) diff --git a/ecosystem/cache/server.go b/ecosystem/cache/server.go index 5875a2d856..9f3f8df1dc 100644 --- a/ecosystem/cache/server.go +++ b/ecosystem/cache/server.go @@ -11,13 +11,13 @@ import ( "syscall" "time" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy" - "github.com/lavanet/lava/v2/utils/lavaslices" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy" + "github.com/lavanet/lava/v3/utils/lavaslices" "github.com/dgraph-io/ristretto" "github.com/improbable-eng/grpc-web/go/grpcweb" - "github.com/lavanet/lava/v2/utils" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" "github.com/spf13/pflag" "golang.org/x/net/http2" "golang.org/x/net/http2/h2c" diff --git a/ecosystem/lavavisor/cmd/create-service.go b/ecosystem/lavavisor/cmd/create-service.go index 3378208f40..b37aa7729a 100644 --- a/ecosystem/lavavisor/cmd/create-service.go +++ b/ecosystem/lavavisor/cmd/create-service.go @@ -9,12 +9,12 @@ import ( "strings" "github.com/cosmos/cosmos-sdk/client/flags" - processmanager "github.com/lavanet/lava/v2/ecosystem/lavavisor/pkg/process" - lvutil "github.com/lavanet/lava/v2/ecosystem/lavavisor/pkg/util" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/utils" + processmanager "github.com/lavanet/lava/v3/ecosystem/lavavisor/pkg/process" + lvutil "github.com/lavanet/lava/v3/ecosystem/lavavisor/pkg/util" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/utils" "github.com/spf13/cobra" "github.com/spf13/viper" ) diff --git a/ecosystem/lavavisor/cmd/init.go b/ecosystem/lavavisor/cmd/init.go index 35c8fe9eb3..9b245e9552 100644 --- a/ecosystem/lavavisor/cmd/init.go +++ b/ecosystem/lavavisor/cmd/init.go @@ -7,11 +7,11 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/lavanet/lava/v2/app" - processmanager "github.com/lavanet/lava/v2/ecosystem/lavavisor/pkg/process" - lvstatetracker "github.com/lavanet/lava/v2/ecosystem/lavavisor/pkg/state" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/app" + processmanager "github.com/lavanet/lava/v3/ecosystem/lavavisor/pkg/process" + lvstatetracker "github.com/lavanet/lava/v3/ecosystem/lavavisor/pkg/state" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/utils" "github.com/spf13/cobra" ) diff --git a/ecosystem/lavavisor/cmd/pod.go b/ecosystem/lavavisor/cmd/pod.go index 42c4d3c16c..0293b5db60 100644 --- a/ecosystem/lavavisor/cmd/pod.go +++ b/ecosystem/lavavisor/cmd/pod.go @@ -8,12 +8,12 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/lavanet/lava/v2/app" - processmanager "github.com/lavanet/lava/v2/ecosystem/lavavisor/pkg/process" - lvstatetracker "github.com/lavanet/lava/v2/ecosystem/lavavisor/pkg/state" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/rand" + "github.com/lavanet/lava/v3/app" + processmanager "github.com/lavanet/lava/v3/ecosystem/lavavisor/pkg/process" + lvstatetracker "github.com/lavanet/lava/v3/ecosystem/lavavisor/pkg/state" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/rand" "github.com/spf13/cobra" ) diff --git a/ecosystem/lavavisor/cmd/start.go b/ecosystem/lavavisor/cmd/start.go index adc2cc6e76..b9f53c498f 100644 --- a/ecosystem/lavavisor/cmd/start.go +++ b/ecosystem/lavavisor/cmd/start.go @@ -14,16 +14,16 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/lavanet/lava/v2/app" - processmanager "github.com/lavanet/lava/v2/ecosystem/lavavisor/pkg/process" - lvstatetracker "github.com/lavanet/lava/v2/ecosystem/lavavisor/pkg/state" - lvutil "github.com/lavanet/lava/v2/ecosystem/lavavisor/pkg/util" - "github.com/lavanet/lava/v2/utils/rand" - - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/protocol/statetracker/updaters" - "github.com/lavanet/lava/v2/utils" - protocoltypes "github.com/lavanet/lava/v2/x/protocol/types" + "github.com/lavanet/lava/v3/app" + processmanager "github.com/lavanet/lava/v3/ecosystem/lavavisor/pkg/process" + lvstatetracker "github.com/lavanet/lava/v3/ecosystem/lavavisor/pkg/state" + lvutil "github.com/lavanet/lava/v3/ecosystem/lavavisor/pkg/util" + "github.com/lavanet/lava/v3/utils/rand" + + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/protocol/statetracker/updaters" + "github.com/lavanet/lava/v3/utils" + protocoltypes "github.com/lavanet/lava/v3/x/protocol/types" "github.com/spf13/cobra" "gopkg.in/yaml.v2" ) diff --git a/ecosystem/lavavisor/cmd/wrap.go b/ecosystem/lavavisor/cmd/wrap.go index 234827e0ff..3787ede0bb 100644 --- a/ecosystem/lavavisor/cmd/wrap.go +++ b/ecosystem/lavavisor/cmd/wrap.go @@ -8,12 +8,12 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/lavanet/lava/v2/app" - processmanager "github.com/lavanet/lava/v2/ecosystem/lavavisor/pkg/process" - lvstatetracker "github.com/lavanet/lava/v2/ecosystem/lavavisor/pkg/state" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/rand" + "github.com/lavanet/lava/v3/app" + processmanager "github.com/lavanet/lava/v3/ecosystem/lavavisor/pkg/process" + lvstatetracker "github.com/lavanet/lava/v3/ecosystem/lavavisor/pkg/state" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/rand" "github.com/spf13/cobra" "golang.org/x/term" ) diff --git a/ecosystem/lavavisor/pkg/process/fetcher.go b/ecosystem/lavavisor/pkg/process/fetcher.go index 5fa50cd994..c209d2f114 100644 --- a/ecosystem/lavavisor/pkg/process/fetcher.go +++ b/ecosystem/lavavisor/pkg/process/fetcher.go @@ -10,9 +10,9 @@ import ( "runtime" "strings" - lvutil "github.com/lavanet/lava/v2/ecosystem/lavavisor/pkg/util" - "github.com/lavanet/lava/v2/utils" - protocoltypes "github.com/lavanet/lava/v2/x/protocol/types" + lvutil "github.com/lavanet/lava/v3/ecosystem/lavavisor/pkg/util" + "github.com/lavanet/lava/v3/utils" + protocoltypes "github.com/lavanet/lava/v3/x/protocol/types" ) type ProtocolBinaryFetcher struct { diff --git a/ecosystem/lavavisor/pkg/process/fetcher_without_build.go b/ecosystem/lavavisor/pkg/process/fetcher_without_build.go index ef46749694..2b066e968d 100644 --- a/ecosystem/lavavisor/pkg/process/fetcher_without_build.go +++ b/ecosystem/lavavisor/pkg/process/fetcher_without_build.go @@ -7,9 +7,9 @@ import ( "os" "path/filepath" - lvutil "github.com/lavanet/lava/v2/ecosystem/lavavisor/pkg/util" - "github.com/lavanet/lava/v2/utils" - protocoltypes "github.com/lavanet/lava/v2/x/protocol/types" + lvutil "github.com/lavanet/lava/v3/ecosystem/lavavisor/pkg/util" + "github.com/lavanet/lava/v3/utils" + protocoltypes "github.com/lavanet/lava/v3/x/protocol/types" ) type ProtocolBinaryFetcherWithoutBuild struct { @@ -168,7 +168,7 @@ func (pbf *ProtocolBinaryFetcherWithoutBuild) downloadBinaryFromGithub(version, return utils.LavaFormatError("[Lavavisor] failed to clean up binary directory", err) } // URL might need to be updated based on the actual GitHub repository - url := fmt.Sprintf("https://github.com/lavanet/lava/v2/releases/download/v%s/lavap-v%s-linux-amd64", version, version) + url := fmt.Sprintf("https://github.com/lavanet/lava/releases/download/v%s/lavap-v%s-linux-amd64", version, version) utils.LavaFormatInfo("[Lavavisor] Fetching the source from: ", utils.Attribute{Key: "URL", Value: url}) // Send the request resp, err := http.Get(url) diff --git a/ecosystem/lavavisor/pkg/process/linker.go b/ecosystem/lavavisor/pkg/process/linker.go index 79a6c7f790..a456089821 100644 --- a/ecosystem/lavavisor/pkg/process/linker.go +++ b/ecosystem/lavavisor/pkg/process/linker.go @@ -5,7 +5,7 @@ import ( "os/exec" "strings" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" ) // TODOs: diff --git a/ecosystem/lavavisor/pkg/process/process_manager.go b/ecosystem/lavavisor/pkg/process/process_manager.go index fea22ca506..59eb3d398f 100644 --- a/ecosystem/lavavisor/pkg/process/process_manager.go +++ b/ecosystem/lavavisor/pkg/process/process_manager.go @@ -7,9 +7,9 @@ import ( "os/user" "strings" - protocolVersion "github.com/lavanet/lava/v2/protocol/upgrade" - "github.com/lavanet/lava/v2/utils" - protocoltypes "github.com/lavanet/lava/v2/x/protocol/types" + protocolVersion "github.com/lavanet/lava/v3/protocol/upgrade" + "github.com/lavanet/lava/v3/utils" + protocoltypes "github.com/lavanet/lava/v3/x/protocol/types" ) func ReloadDaemon() error { diff --git a/ecosystem/lavavisor/pkg/process/version_monitor.go b/ecosystem/lavavisor/pkg/process/version_monitor.go index 5cf2ee8633..dca8941d54 100644 --- a/ecosystem/lavavisor/pkg/process/version_monitor.go +++ b/ecosystem/lavavisor/pkg/process/version_monitor.go @@ -12,10 +12,10 @@ import ( "syscall" "time" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/statetracker/updaters" - "github.com/lavanet/lava/v2/utils" - protocoltypes "github.com/lavanet/lava/v2/x/protocol/types" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/statetracker/updaters" + "github.com/lavanet/lava/v3/utils" + protocoltypes "github.com/lavanet/lava/v3/x/protocol/types" ) type ProtocolBinaryFetcherInf interface { diff --git a/ecosystem/lavavisor/pkg/state/lavavisor_state_tracker.go b/ecosystem/lavavisor/pkg/state/lavavisor_state_tracker.go index d6689b0dd5..935ca00f4c 100644 --- a/ecosystem/lavavisor/pkg/state/lavavisor_state_tracker.go +++ b/ecosystem/lavavisor/pkg/state/lavavisor_state_tracker.go @@ -6,12 +6,12 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/lavanet/lava/v2/protocol/chaintracker" - "github.com/lavanet/lava/v2/protocol/statetracker" - "github.com/lavanet/lava/v2/protocol/statetracker/updaters" - "github.com/lavanet/lava/v2/utils" - protocoltypes "github.com/lavanet/lava/v2/x/protocol/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chaintracker" + "github.com/lavanet/lava/v3/protocol/statetracker" + "github.com/lavanet/lava/v3/protocol/statetracker/updaters" + "github.com/lavanet/lava/v3/utils" + protocoltypes "github.com/lavanet/lava/v3/x/protocol/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) // Lava visor doesn't require complicated state tracker, it just needs to periodically fetch the protocol version. diff --git a/ecosystem/lavavisor/pkg/util/common.go b/ecosystem/lavavisor/pkg/util/common.go index da55671e8f..bcc0b443ff 100644 --- a/ecosystem/lavavisor/pkg/util/common.go +++ b/ecosystem/lavavisor/pkg/util/common.go @@ -8,7 +8,7 @@ import ( "path/filepath" "strings" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" ) func ExpandTilde(path string) (string, error) { diff --git a/go.mod b/go.mod index 786c12344e..67e086b80a 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/lavanet/lava/v2 +module github.com/lavanet/lava/v3 go 1.20 diff --git a/proto/lavanet/lava/conflict/conflict_data.proto b/proto/lavanet/lava/conflict/conflict_data.proto index 71a80e4ed6..a15fba9517 100644 --- a/proto/lavanet/lava/conflict/conflict_data.proto +++ b/proto/lavanet/lava/conflict/conflict_data.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package lavanet.lava.conflict; -option go_package = "github.com/lavanet/lava/v2/x/conflict/types"; +option go_package = "github.com/lavanet/lava/v3/x/conflict/types"; import "gogoproto/gogo.proto"; import "lavanet/lava/pairing/relay.proto"; diff --git a/proto/lavanet/lava/conflict/conflict_vote.proto b/proto/lavanet/lava/conflict/conflict_vote.proto index 7b94717a40..b8a987b5c7 100644 --- a/proto/lavanet/lava/conflict/conflict_vote.proto +++ b/proto/lavanet/lava/conflict/conflict_vote.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package lavanet.lava.conflict; -option go_package = "github.com/lavanet/lava/v2/x/conflict/types"; +option go_package = "github.com/lavanet/lava/v3/x/conflict/types"; import "gogoproto/gogo.proto"; message Provider { diff --git a/proto/lavanet/lava/conflict/genesis.proto b/proto/lavanet/lava/conflict/genesis.proto index b34437ec99..8f23c09249 100644 --- a/proto/lavanet/lava/conflict/genesis.proto +++ b/proto/lavanet/lava/conflict/genesis.proto @@ -6,7 +6,7 @@ import "lavanet/lava/conflict/params.proto"; import "lavanet/lava/conflict/conflict_vote.proto"; // this line is used by starport scaffolding # genesis/proto/import -option go_package = "github.com/lavanet/lava/v2/x/conflict/types"; +option go_package = "github.com/lavanet/lava/v3/x/conflict/types"; // GenesisState defines the conflict module's genesis state. message GenesisState { diff --git a/proto/lavanet/lava/conflict/params.proto b/proto/lavanet/lava/conflict/params.proto index b291f65aa7..1c72ac1f73 100644 --- a/proto/lavanet/lava/conflict/params.proto +++ b/proto/lavanet/lava/conflict/params.proto @@ -3,7 +3,7 @@ package lavanet.lava.conflict; import "gogoproto/gogo.proto"; -option go_package = "github.com/lavanet/lava/v2/x/conflict/types"; +option go_package = "github.com/lavanet/lava/v3/x/conflict/types"; // Params defines the parameters for the module. message Params { diff --git a/proto/lavanet/lava/conflict/query.proto b/proto/lavanet/lava/conflict/query.proto index 82bf5c279b..981464852f 100644 --- a/proto/lavanet/lava/conflict/query.proto +++ b/proto/lavanet/lava/conflict/query.proto @@ -8,7 +8,7 @@ import "lavanet/lava/conflict/conflict_vote.proto"; // this line is used by starport scaffolding # 1 import "gogoproto/gogo.proto"; -option go_package = "github.com/lavanet/lava/v2/x/conflict/types"; +option go_package = "github.com/lavanet/lava/v3/x/conflict/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/lavanet/lava/conflict/tx.proto b/proto/lavanet/lava/conflict/tx.proto index 2e8d73b68a..275283d6b3 100644 --- a/proto/lavanet/lava/conflict/tx.proto +++ b/proto/lavanet/lava/conflict/tx.proto @@ -6,7 +6,7 @@ import "cosmos/base/v1beta1/coin.proto"; import "gogoproto/gogo.proto"; import "lavanet/lava/conflict/conflict_data.proto"; -option go_package = "github.com/lavanet/lava/v2/x/conflict/types"; +option go_package = "github.com/lavanet/lava/v3/x/conflict/types"; // Msg defines the Msg service. diff --git a/proto/lavanet/lava/downtime/v1/downtime.proto b/proto/lavanet/lava/downtime/v1/downtime.proto index 913d1c5126..a38fc4d948 100644 --- a/proto/lavanet/lava/downtime/v1/downtime.proto +++ b/proto/lavanet/lava/downtime/v1/downtime.proto @@ -2,7 +2,7 @@ syntax="proto3"; package lavanet.lava.downtime.v1; -option go_package = "github.com/lavanet/lava/v2/x/downtime/v1"; +option go_package = "github.com/lavanet/lava/v3/x/downtime/v1"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto/lavanet/lava/downtime/v1/genesis.proto b/proto/lavanet/lava/downtime/v1/genesis.proto index 6a80769e7e..cce5ce9c60 100644 --- a/proto/lavanet/lava/downtime/v1/genesis.proto +++ b/proto/lavanet/lava/downtime/v1/genesis.proto @@ -2,7 +2,7 @@ syntax="proto3"; package lavanet.lava.downtime.v1; -option go_package = "github.com/lavanet/lava/v2/x/downtime/v1"; +option go_package = "github.com/lavanet/lava/v3/x/downtime/v1"; import "lavanet/lava/downtime/v1/downtime.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto/lavanet/lava/downtime/v1/query.proto b/proto/lavanet/lava/downtime/v1/query.proto index fba6490f77..a868c1ee9d 100644 --- a/proto/lavanet/lava/downtime/v1/query.proto +++ b/proto/lavanet/lava/downtime/v1/query.proto @@ -2,7 +2,7 @@ syntax="proto3"; package lavanet.lava.downtime.v1; -option go_package = "github.com/lavanet/lava/v2/x/downtime/v1"; +option go_package = "github.com/lavanet/lava/v3/x/downtime/v1"; import "google/protobuf/duration.proto"; import "lavanet/lava/downtime/v1/downtime.proto"; diff --git a/proto/lavanet/lava/dualstaking/delegate.proto b/proto/lavanet/lava/dualstaking/delegate.proto index bdcd1f2b5e..ea0d3986f1 100644 --- a/proto/lavanet/lava/dualstaking/delegate.proto +++ b/proto/lavanet/lava/dualstaking/delegate.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package lavanet.lava.dualstaking; -option go_package = "github.com/lavanet/lava/v2/x/dualstaking/types"; +option go_package = "github.com/lavanet/lava/v3/x/dualstaking/types"; import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; diff --git a/proto/lavanet/lava/dualstaking/delegator_reward.proto b/proto/lavanet/lava/dualstaking/delegator_reward.proto index 251ebfd996..1145cf685e 100644 --- a/proto/lavanet/lava/dualstaking/delegator_reward.proto +++ b/proto/lavanet/lava/dualstaking/delegator_reward.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package lavanet.lava.dualstaking; -option go_package = "github.com/lavanet/lava/v2/x/dualstaking/types"; +option go_package = "github.com/lavanet/lava/v3/x/dualstaking/types"; import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; diff --git a/proto/lavanet/lava/dualstaking/genesis.proto b/proto/lavanet/lava/dualstaking/genesis.proto index b14f44d59f..b6a97c3491 100644 --- a/proto/lavanet/lava/dualstaking/genesis.proto +++ b/proto/lavanet/lava/dualstaking/genesis.proto @@ -7,7 +7,7 @@ import "lavanet/lava/fixationstore/fixation.proto"; import "lavanet/lava/timerstore/timer.proto"; import "lavanet/lava/dualstaking/delegator_reward.proto"; -option go_package = "github.com/lavanet/lava/v2/x/dualstaking/types"; +option go_package = "github.com/lavanet/lava/v3/x/dualstaking/types"; // GenesisState defines the dualstaking module's genesis state. message GenesisState { diff --git a/proto/lavanet/lava/dualstaking/params.proto b/proto/lavanet/lava/dualstaking/params.proto index 0c902b24bf..e1e1743c2d 100644 --- a/proto/lavanet/lava/dualstaking/params.proto +++ b/proto/lavanet/lava/dualstaking/params.proto @@ -4,7 +4,7 @@ package lavanet.lava.dualstaking; import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; -option go_package = "github.com/lavanet/lava/v2/x/dualstaking/types"; +option go_package = "github.com/lavanet/lava/v3/x/dualstaking/types"; // Params defines the parameters for the module. message Params { diff --git a/proto/lavanet/lava/dualstaking/query.proto b/proto/lavanet/lava/dualstaking/query.proto index d8790ca16f..3cb0941678 100644 --- a/proto/lavanet/lava/dualstaking/query.proto +++ b/proto/lavanet/lava/dualstaking/query.proto @@ -8,7 +8,7 @@ import "lavanet/lava/dualstaking/params.proto"; import "lavanet/lava/dualstaking/delegate.proto"; import "cosmos/base/v1beta1/coin.proto"; -option go_package = "github.com/lavanet/lava/v2/x/dualstaking/types"; +option go_package = "github.com/lavanet/lava/v3/x/dualstaking/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/lavanet/lava/dualstaking/tx.proto b/proto/lavanet/lava/dualstaking/tx.proto index a2d42beba3..c336515085 100644 --- a/proto/lavanet/lava/dualstaking/tx.proto +++ b/proto/lavanet/lava/dualstaking/tx.proto @@ -5,7 +5,7 @@ import "amino/amino.proto"; import "cosmos/base/v1beta1/coin.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/lavanet/lava/v2/x/dualstaking/types"; +option go_package = "github.com/lavanet/lava/v3/x/dualstaking/types"; // Msg defines the Msg service. service Msg { diff --git a/proto/lavanet/lava/epochstorage/endpoint.proto b/proto/lavanet/lava/epochstorage/endpoint.proto index bd7b0ca433..4becb06744 100644 --- a/proto/lavanet/lava/epochstorage/endpoint.proto +++ b/proto/lavanet/lava/epochstorage/endpoint.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package lavanet.lava.epochstorage; -option go_package = "github.com/lavanet/lava/v2/x/epochstorage/types"; +option go_package = "github.com/lavanet/lava/v3/x/epochstorage/types"; message Endpoint { string iPPORT = 1; diff --git a/proto/lavanet/lava/epochstorage/epoch_details.proto b/proto/lavanet/lava/epochstorage/epoch_details.proto index 001a76e95e..ce17f3d7b0 100644 --- a/proto/lavanet/lava/epochstorage/epoch_details.proto +++ b/proto/lavanet/lava/epochstorage/epoch_details.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package lavanet.lava.epochstorage; -option go_package = "github.com/lavanet/lava/v2/x/epochstorage/types"; +option go_package = "github.com/lavanet/lava/v3/x/epochstorage/types"; message EpochDetails { uint64 startBlock = 1; diff --git a/proto/lavanet/lava/epochstorage/fixated_params.proto b/proto/lavanet/lava/epochstorage/fixated_params.proto index 95272f3540..1219e73588 100644 --- a/proto/lavanet/lava/epochstorage/fixated_params.proto +++ b/proto/lavanet/lava/epochstorage/fixated_params.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package lavanet.lava.epochstorage; -option go_package = "github.com/lavanet/lava/v2/x/epochstorage/types"; +option go_package = "github.com/lavanet/lava/v3/x/epochstorage/types"; import "gogoproto/gogo.proto"; import "lavanet/lava/epochstorage/params.proto"; diff --git a/proto/lavanet/lava/epochstorage/genesis.proto b/proto/lavanet/lava/epochstorage/genesis.proto index 4dd5d97170..24887b662a 100644 --- a/proto/lavanet/lava/epochstorage/genesis.proto +++ b/proto/lavanet/lava/epochstorage/genesis.proto @@ -8,7 +8,7 @@ import "lavanet/lava/epochstorage/epoch_details.proto"; import "lavanet/lava/epochstorage/fixated_params.proto"; // this line is used by starport scaffolding # genesis/proto/import -option go_package = "github.com/lavanet/lava/v2/x/epochstorage/types"; +option go_package = "github.com/lavanet/lava/v3/x/epochstorage/types"; // GenesisState defines the epochstorage module's genesis state. message GenesisState { diff --git a/proto/lavanet/lava/epochstorage/params.proto b/proto/lavanet/lava/epochstorage/params.proto index 2264b24f20..ba0125cfe2 100644 --- a/proto/lavanet/lava/epochstorage/params.proto +++ b/proto/lavanet/lava/epochstorage/params.proto @@ -3,7 +3,7 @@ package lavanet.lava.epochstorage; import "gogoproto/gogo.proto"; -option go_package = "github.com/lavanet/lava/v2/x/epochstorage/types"; +option go_package = "github.com/lavanet/lava/v3/x/epochstorage/types"; // Params defines the parameters for the module. message Params { diff --git a/proto/lavanet/lava/epochstorage/query.proto b/proto/lavanet/lava/epochstorage/query.proto index c04fda73fb..402a498fe3 100644 --- a/proto/lavanet/lava/epochstorage/query.proto +++ b/proto/lavanet/lava/epochstorage/query.proto @@ -11,7 +11,7 @@ import "lavanet/lava/epochstorage/fixated_params.proto"; import "cosmos/base/v1beta1/coin.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/lavanet/lava/v2/x/epochstorage/types"; +option go_package = "github.com/lavanet/lava/v3/x/epochstorage/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/lavanet/lava/epochstorage/stake_entry.proto b/proto/lavanet/lava/epochstorage/stake_entry.proto index b197b20852..4b77104cd4 100644 --- a/proto/lavanet/lava/epochstorage/stake_entry.proto +++ b/proto/lavanet/lava/epochstorage/stake_entry.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package lavanet.lava.epochstorage; -option go_package = "github.com/lavanet/lava/v2/x/epochstorage/types"; +option go_package = "github.com/lavanet/lava/v3/x/epochstorage/types"; import "lavanet/lava/epochstorage/endpoint.proto"; import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; diff --git a/proto/lavanet/lava/epochstorage/stake_storage.proto b/proto/lavanet/lava/epochstorage/stake_storage.proto index 223df362a0..df52ff7f15 100644 --- a/proto/lavanet/lava/epochstorage/stake_storage.proto +++ b/proto/lavanet/lava/epochstorage/stake_storage.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package lavanet.lava.epochstorage; -option go_package = "github.com/lavanet/lava/v2/x/epochstorage/types"; +option go_package = "github.com/lavanet/lava/v3/x/epochstorage/types"; import "lavanet/lava/epochstorage/stake_entry.proto"; import "gogoproto/gogo.proto"; diff --git a/proto/lavanet/lava/epochstorage/tx.proto b/proto/lavanet/lava/epochstorage/tx.proto index 492336f1d6..0ec83063a6 100644 --- a/proto/lavanet/lava/epochstorage/tx.proto +++ b/proto/lavanet/lava/epochstorage/tx.proto @@ -3,7 +3,7 @@ package lavanet.lava.epochstorage; // this line is used by starport scaffolding # proto/tx/import -option go_package = "github.com/lavanet/lava/v2/x/epochstorage/types"; +option go_package = "github.com/lavanet/lava/v3/x/epochstorage/types"; // Msg defines the Msg service. service Msg { diff --git a/proto/lavanet/lava/fixationstore/fixation.proto b/proto/lavanet/lava/fixationstore/fixation.proto index d7fdc58841..d818ffcef9 100644 --- a/proto/lavanet/lava/fixationstore/fixation.proto +++ b/proto/lavanet/lava/fixationstore/fixation.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package lavanet.lava.fixationstore; -option go_package = "github.com/lavanet/lava/v2/x/fixationstore/types"; +option go_package = "github.com/lavanet/lava/v3/x/fixationstore/types"; import "gogoproto/gogo.proto"; import "lavanet/lava/timerstore/timer.proto"; diff --git a/proto/lavanet/lava/fixationstore/query.proto b/proto/lavanet/lava/fixationstore/query.proto index 3c436e8b7e..ed18f49a1b 100644 --- a/proto/lavanet/lava/fixationstore/query.proto +++ b/proto/lavanet/lava/fixationstore/query.proto @@ -3,7 +3,7 @@ package lavanet.lava.fixationstore; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; -option go_package = "github.com/lavanet/lava/v2/x/fixationstore/types"; +option go_package = "github.com/lavanet/lava/v3/x/fixationstore/types"; import "lavanet/lava/fixationstore/fixation.proto"; diff --git a/proto/lavanet/lava/pairing/account_info.proto b/proto/lavanet/lava/pairing/account_info.proto index 900bf31103..2167c19f20 100644 --- a/proto/lavanet/lava/pairing/account_info.proto +++ b/proto/lavanet/lava/pairing/account_info.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package lavanet.lava.pairing; -option go_package = "github.com/lavanet/lava/v2/x/pairing/types"; +option go_package = "github.com/lavanet/lava/v3/x/pairing/types"; import "gogoproto/gogo.proto"; import "google/protobuf/wrappers.proto"; diff --git a/proto/lavanet/lava/pairing/badges.proto b/proto/lavanet/lava/pairing/badges.proto index 3be7303182..04d1ec5e08 100644 --- a/proto/lavanet/lava/pairing/badges.proto +++ b/proto/lavanet/lava/pairing/badges.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package lavanet.lava.pairing; -option go_package = "github.com/lavanet/lava/v2/x/pairing/types"; +option go_package = "github.com/lavanet/lava/v3/x/pairing/types"; import "lavanet/lava/pairing/relay.proto"; import "lavanet/lava/pairing/query.proto"; diff --git a/proto/lavanet/lava/pairing/debug_query.proto b/proto/lavanet/lava/pairing/debug_query.proto index 8d5b7f0959..07cd88fd80 100644 --- a/proto/lavanet/lava/pairing/debug_query.proto +++ b/proto/lavanet/lava/pairing/debug_query.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package lavanet.lava.pairing; -option go_package = "github.com/lavanet/lava/v2/x/pairing/types"; +option go_package = "github.com/lavanet/lava/v3/x/pairing/types"; import "gogoproto/gogo.proto"; import "google/protobuf/wrappers.proto"; diff --git a/proto/lavanet/lava/pairing/epoch_cu.proto b/proto/lavanet/lava/pairing/epoch_cu.proto index a7213d15e8..300d0009af 100644 --- a/proto/lavanet/lava/pairing/epoch_cu.proto +++ b/proto/lavanet/lava/pairing/epoch_cu.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package lavanet.lava.pairing; -option go_package = "github.com/lavanet/lava/v2/x/pairing/types"; +option go_package = "github.com/lavanet/lava/v3/x/pairing/types"; // UniqueEpochSession is used to detect double spend attacks // It's kept in a epoch-prefixed store with a unique index: provider, project ID, chain ID and session ID diff --git a/proto/lavanet/lava/pairing/genesis.proto b/proto/lavanet/lava/pairing/genesis.proto index 2b6844297a..f514d7f4d7 100644 --- a/proto/lavanet/lava/pairing/genesis.proto +++ b/proto/lavanet/lava/pairing/genesis.proto @@ -9,7 +9,7 @@ import "lavanet/lava/timerstore/timer.proto"; // this line is used by starport scaffolding # genesis/proto/import -option go_package = "github.com/lavanet/lava/v2/x/pairing/types"; +option go_package = "github.com/lavanet/lava/v3/x/pairing/types"; message BadgeUsedCu { bytes badge_used_cu_key = 1; diff --git a/proto/lavanet/lava/pairing/params.proto b/proto/lavanet/lava/pairing/params.proto index 248e926ea4..2558297ee2 100644 --- a/proto/lavanet/lava/pairing/params.proto +++ b/proto/lavanet/lava/pairing/params.proto @@ -3,7 +3,7 @@ package lavanet.lava.pairing; import "gogoproto/gogo.proto"; -option go_package = "github.com/lavanet/lava/v2/x/pairing/types"; +option go_package = "github.com/lavanet/lava/v3/x/pairing/types"; // Params defines the parameters for the module. message Params { diff --git a/proto/lavanet/lava/pairing/query.proto b/proto/lavanet/lava/pairing/query.proto index 5e74149ae5..63f4b897e9 100644 --- a/proto/lavanet/lava/pairing/query.proto +++ b/proto/lavanet/lava/pairing/query.proto @@ -15,7 +15,7 @@ import "lavanet/lava/subscription/subscription.proto"; import "lavanet/lava/projects/project.proto"; import "lavanet/lava/downtime/v1/downtime.proto"; -option go_package = "github.com/lavanet/lava/v2/x/pairing/types"; +option go_package = "github.com/lavanet/lava/v3/x/pairing/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/lavanet/lava/pairing/relay.proto b/proto/lavanet/lava/pairing/relay.proto index 1b10b8f5ae..e0a93038a4 100644 --- a/proto/lavanet/lava/pairing/relay.proto +++ b/proto/lavanet/lava/pairing/relay.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package lavanet.lava.pairing; -option go_package = "github.com/lavanet/lava/v2/x/pairing/types"; +option go_package = "github.com/lavanet/lava/v3/x/pairing/types"; import "gogoproto/gogo.proto"; import "google/protobuf/wrappers.proto"; diff --git a/proto/lavanet/lava/pairing/relayCache.proto b/proto/lavanet/lava/pairing/relayCache.proto index 465f48b5b8..7ac885d2b4 100644 --- a/proto/lavanet/lava/pairing/relayCache.proto +++ b/proto/lavanet/lava/pairing/relayCache.proto @@ -4,7 +4,7 @@ import "gogoproto/gogo.proto"; import "lavanet/lava/pairing/relay.proto"; import "google/protobuf/empty.proto"; -option go_package = "github.com/lavanet/lava/v2/x/pairing/types"; +option go_package = "github.com/lavanet/lava/v3/x/pairing/types"; service RelayerCache { rpc GetRelay (RelayCacheGet) returns (CacheRelayReply) {} diff --git a/proto/lavanet/lava/pairing/tx.proto b/proto/lavanet/lava/pairing/tx.proto index 7248403495..84adcbe410 100644 --- a/proto/lavanet/lava/pairing/tx.proto +++ b/proto/lavanet/lava/pairing/tx.proto @@ -8,7 +8,7 @@ import "lavanet/lava/pairing/relay.proto"; import "cosmos/staking/v1beta1/staking.proto"; import "amino/amino.proto"; -option go_package = "github.com/lavanet/lava/v2/x/pairing/types"; +option go_package = "github.com/lavanet/lava/v3/x/pairing/types"; // Msg defines the Msg service. service Msg { diff --git a/proto/lavanet/lava/pairing/unstake_proposal.proto b/proto/lavanet/lava/pairing/unstake_proposal.proto index b16eae731b..a34c0de8b5 100644 --- a/proto/lavanet/lava/pairing/unstake_proposal.proto +++ b/proto/lavanet/lava/pairing/unstake_proposal.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package lavanet.lava.pairing; -option go_package = "github.com/lavanet/lava/v2/x/pairing/types"; +option go_package = "github.com/lavanet/lava/v3/x/pairing/types"; import "gogoproto/gogo.proto"; import "google/protobuf/wrappers.proto"; diff --git a/proto/lavanet/lava/plans/genesis.proto b/proto/lavanet/lava/plans/genesis.proto index 096fe58f7f..ef2153d09f 100644 --- a/proto/lavanet/lava/plans/genesis.proto +++ b/proto/lavanet/lava/plans/genesis.proto @@ -6,7 +6,7 @@ import "lavanet/lava/plans/params.proto"; import "lavanet/lava/fixationstore/fixation.proto"; // this line is used by starport scaffolding # genesis/proto/import -option go_package = "github.com/lavanet/lava/v2/x/plans/types"; +option go_package = "github.com/lavanet/lava/v3/x/plans/types"; // GenesisState defines the plan module's genesis state. message GenesisState { diff --git a/proto/lavanet/lava/plans/params.proto b/proto/lavanet/lava/plans/params.proto index da825e1236..a2af3ed1fd 100644 --- a/proto/lavanet/lava/plans/params.proto +++ b/proto/lavanet/lava/plans/params.proto @@ -3,7 +3,7 @@ package lavanet.lava.plans; import "gogoproto/gogo.proto"; -option go_package = "github.com/lavanet/lava/v2/x/plans/types"; +option go_package = "github.com/lavanet/lava/v3/x/plans/types"; // Params defines the parameters for the module. message Params { diff --git a/proto/lavanet/lava/plans/plan.proto b/proto/lavanet/lava/plans/plan.proto index 75f89ce31d..41a51bc72a 100644 --- a/proto/lavanet/lava/plans/plan.proto +++ b/proto/lavanet/lava/plans/plan.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package lavanet.lava.plans; -option go_package = "github.com/lavanet/lava/v2/x/plans/types"; +option go_package = "github.com/lavanet/lava/v3/x/plans/types"; option (gogoproto.equal_all) = true; import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; diff --git a/proto/lavanet/lava/plans/plans_proposal.proto b/proto/lavanet/lava/plans/plans_proposal.proto index a85c611057..1d2b0153b0 100644 --- a/proto/lavanet/lava/plans/plans_proposal.proto +++ b/proto/lavanet/lava/plans/plans_proposal.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package lavanet.lava.plans; -option go_package = "github.com/lavanet/lava/v2/x/plans/types"; +option go_package = "github.com/lavanet/lava/v3/x/plans/types"; option (gogoproto.equal_all) = true; import "gogoproto/gogo.proto"; diff --git a/proto/lavanet/lava/plans/policy.proto b/proto/lavanet/lava/plans/policy.proto index ad41ba7462..9288633c3b 100644 --- a/proto/lavanet/lava/plans/policy.proto +++ b/proto/lavanet/lava/plans/policy.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package lavanet.lava.plans; -option go_package = "github.com/lavanet/lava/v2/x/plans/types"; +option go_package = "github.com/lavanet/lava/v3/x/plans/types"; option (gogoproto.equal_all) = true; import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; diff --git a/proto/lavanet/lava/plans/query.proto b/proto/lavanet/lava/plans/query.proto index 9bd771c7cf..e5d9c0c8f0 100644 --- a/proto/lavanet/lava/plans/query.proto +++ b/proto/lavanet/lava/plans/query.proto @@ -9,7 +9,7 @@ import "lavanet/lava/plans/params.proto"; import "cosmos/base/v1beta1/coin.proto"; import "lavanet/lava/plans/plan.proto"; -option go_package = "github.com/lavanet/lava/v2/x/plans/types"; +option go_package = "github.com/lavanet/lava/v3/x/plans/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/lavanet/lava/plans/tx.proto b/proto/lavanet/lava/plans/tx.proto index be3eac0a8c..43a079719f 100644 --- a/proto/lavanet/lava/plans/tx.proto +++ b/proto/lavanet/lava/plans/tx.proto @@ -3,7 +3,7 @@ package lavanet.lava.plans; // this line is used by starport scaffolding # proto/tx/import -option go_package = "github.com/lavanet/lava/v2/x/plans/types"; +option go_package = "github.com/lavanet/lava/v3/x/plans/types"; // Msg defines the Msg service. service Msg { diff --git a/proto/lavanet/lava/projects/genesis.proto b/proto/lavanet/lava/projects/genesis.proto index fc4bd42cf7..a4098366c1 100644 --- a/proto/lavanet/lava/projects/genesis.proto +++ b/proto/lavanet/lava/projects/genesis.proto @@ -6,7 +6,7 @@ import "lavanet/lava/projects/params.proto"; import "lavanet/lava/fixationstore/fixation.proto"; // this line is used by starport scaffolding # genesis/proto/import -option go_package = "github.com/lavanet/lava/v2/x/projects/types"; +option go_package = "github.com/lavanet/lava/v3/x/projects/types"; // GenesisState defines the projects module's genesis state. message GenesisState { diff --git a/proto/lavanet/lava/projects/params.proto b/proto/lavanet/lava/projects/params.proto index ebb3062157..6bd65e4228 100644 --- a/proto/lavanet/lava/projects/params.proto +++ b/proto/lavanet/lava/projects/params.proto @@ -3,7 +3,7 @@ package lavanet.lava.projects; import "gogoproto/gogo.proto"; -option go_package = "github.com/lavanet/lava/v2/x/projects/types"; +option go_package = "github.com/lavanet/lava/v3/x/projects/types"; // Params defines the parameters for the module. message Params { diff --git a/proto/lavanet/lava/projects/project.proto b/proto/lavanet/lava/projects/project.proto index f2ee1cba5d..36439a0327 100644 --- a/proto/lavanet/lava/projects/project.proto +++ b/proto/lavanet/lava/projects/project.proto @@ -4,7 +4,7 @@ package lavanet.lava.projects; import "gogoproto/gogo.proto"; import "lavanet/lava/plans/policy.proto"; option (gogoproto.equal_all) = true; -option go_package = "github.com/lavanet/lava/v2/x/projects/types"; +option go_package = "github.com/lavanet/lava/v3/x/projects/types"; message Project { string index = 1; // unique id that will be the combination of subscription address and project name, cannot be changed once created diff --git a/proto/lavanet/lava/projects/query.proto b/proto/lavanet/lava/projects/query.proto index 96187f0383..ed9612be1c 100644 --- a/proto/lavanet/lava/projects/query.proto +++ b/proto/lavanet/lava/projects/query.proto @@ -7,7 +7,7 @@ import "lavanet/lava/projects/params.proto"; import "lavanet/lava/projects/project.proto"; // this line is used by starport scaffolding # 1 -option go_package = "github.com/lavanet/lava/v2/x/projects/types"; +option go_package = "github.com/lavanet/lava/v3/x/projects/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/lavanet/lava/projects/tx.proto b/proto/lavanet/lava/projects/tx.proto index feef726d1a..ae1ec4ac00 100644 --- a/proto/lavanet/lava/projects/tx.proto +++ b/proto/lavanet/lava/projects/tx.proto @@ -8,7 +8,7 @@ import "gogoproto/gogo.proto"; // this line is used by starport scaffolding # proto/tx/import -option go_package = "github.com/lavanet/lava/v2/x/projects/types"; +option go_package = "github.com/lavanet/lava/v3/x/projects/types"; // Msg defines the Msg service. service Msg { diff --git a/proto/lavanet/lava/protocol/genesis.proto b/proto/lavanet/lava/protocol/genesis.proto index 4fef95193f..635fe4bfc6 100644 --- a/proto/lavanet/lava/protocol/genesis.proto +++ b/proto/lavanet/lava/protocol/genesis.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "lavanet/lava/protocol/params.proto"; // this line is used by starport scaffolding # genesis/proto/import -option go_package = "github.com/lavanet/lava/v2/x/protocol/types"; +option go_package = "github.com/lavanet/lava/v3/x/protocol/types"; // GenesisState defines the protocol module's genesis state. message GenesisState { diff --git a/proto/lavanet/lava/protocol/params.proto b/proto/lavanet/lava/protocol/params.proto index 8dd32a0576..4ab0f5fb11 100644 --- a/proto/lavanet/lava/protocol/params.proto +++ b/proto/lavanet/lava/protocol/params.proto @@ -3,7 +3,7 @@ package lavanet.lava.protocol; import "gogoproto/gogo.proto"; -option go_package = "github.com/lavanet/lava/v2/x/protocol/types"; +option go_package = "github.com/lavanet/lava/v3/x/protocol/types"; // Params defines the parameters for the module. message Version { diff --git a/proto/lavanet/lava/protocol/query.proto b/proto/lavanet/lava/protocol/query.proto index 9184a99211..169ed783d7 100644 --- a/proto/lavanet/lava/protocol/query.proto +++ b/proto/lavanet/lava/protocol/query.proto @@ -7,7 +7,7 @@ import "cosmos/base/query/v1beta1/pagination.proto"; import "lavanet/lava/protocol/params.proto"; // this line is used by starport scaffolding # 1 -option go_package = "github.com/lavanet/lava/v2/x/protocol/types"; +option go_package = "github.com/lavanet/lava/v3/x/protocol/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/lavanet/lava/protocol/tx.proto b/proto/lavanet/lava/protocol/tx.proto index 70db7d8696..3f819e92f1 100644 --- a/proto/lavanet/lava/protocol/tx.proto +++ b/proto/lavanet/lava/protocol/tx.proto @@ -4,7 +4,7 @@ import "amino/amino.proto"; // this line is used by starport scaffolding # proto/tx/import import "lavanet/lava/protocol/params.proto"; -option go_package = "github.com/lavanet/lava/v2/x/protocol/types"; +option go_package = "github.com/lavanet/lava/v3/x/protocol/types"; // Msg defines the Msg service. service Msg { diff --git a/proto/lavanet/lava/rewards/base_pay.proto b/proto/lavanet/lava/rewards/base_pay.proto index fa90e16d46..f6d48d7e57 100644 --- a/proto/lavanet/lava/rewards/base_pay.proto +++ b/proto/lavanet/lava/rewards/base_pay.proto @@ -6,7 +6,7 @@ import "cosmos/base/v1beta1/coin.proto"; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/lavanet/lava/v2/x/rewards/types"; +option go_package = "github.com/lavanet/lava/v3/x/rewards/types"; // aggregated rewards for the provider through out the month message BasePay { diff --git a/proto/lavanet/lava/rewards/genesis.proto b/proto/lavanet/lava/rewards/genesis.proto index 9b25dd244a..a03eca36d1 100644 --- a/proto/lavanet/lava/rewards/genesis.proto +++ b/proto/lavanet/lava/rewards/genesis.proto @@ -9,7 +9,7 @@ import "lavanet/lava/rewards/params.proto"; import "lavanet/lava/timerstore/timer.proto"; // this line is used by starport scaffolding # genesis/proto/import -option go_package = "github.com/lavanet/lava/v2/x/rewards/types"; +option go_package = "github.com/lavanet/lava/v3/x/rewards/types"; // GenesisState defines the rewards module's genesis state. message GenesisState { diff --git a/proto/lavanet/lava/rewards/iprpc.proto b/proto/lavanet/lava/rewards/iprpc.proto index 1cd6b4f92d..a9e633151c 100644 --- a/proto/lavanet/lava/rewards/iprpc.proto +++ b/proto/lavanet/lava/rewards/iprpc.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package lavanet.lava.rewards; -option go_package = "github.com/lavanet/lava/v2/x/rewards/types"; +option go_package = "github.com/lavanet/lava/v3/x/rewards/types"; import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; diff --git a/proto/lavanet/lava/rewards/params.proto b/proto/lavanet/lava/rewards/params.proto index bca431172b..a74e5d5820 100644 --- a/proto/lavanet/lava/rewards/params.proto +++ b/proto/lavanet/lava/rewards/params.proto @@ -3,7 +3,7 @@ package lavanet.lava.rewards; import "gogoproto/gogo.proto"; -option go_package = "github.com/lavanet/lava/v2/x/rewards/types"; +option go_package = "github.com/lavanet/lava/v3/x/rewards/types"; // Params defines the parameters for the module. message Params { diff --git a/proto/lavanet/lava/rewards/query.proto b/proto/lavanet/lava/rewards/query.proto index 681f96e07d..feed9a9554 100644 --- a/proto/lavanet/lava/rewards/query.proto +++ b/proto/lavanet/lava/rewards/query.proto @@ -10,7 +10,7 @@ import "lavanet/lava/rewards/iprpc.proto"; import "lavanet/lava/rewards/params.proto"; // this line is used by starport scaffolding # 1 -option go_package = "github.com/lavanet/lava/v2/x/rewards/types"; +option go_package = "github.com/lavanet/lava/v3/x/rewards/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/lavanet/lava/rewards/tx.proto b/proto/lavanet/lava/rewards/tx.proto index c8d42a4976..2580267e21 100644 --- a/proto/lavanet/lava/rewards/tx.proto +++ b/proto/lavanet/lava/rewards/tx.proto @@ -6,7 +6,7 @@ import "gogoproto/gogo.proto"; // this line is used by starport scaffolding # proto/tx/import -option go_package = "github.com/lavanet/lava/v2/x/rewards/types"; +option go_package = "github.com/lavanet/lava/v3/x/rewards/types"; // Msg defines the Msg service. service Msg { diff --git a/proto/lavanet/lava/spec/api_collection.proto b/proto/lavanet/lava/spec/api_collection.proto index be7cbbb2fc..4f9c7434e1 100644 --- a/proto/lavanet/lava/spec/api_collection.proto +++ b/proto/lavanet/lava/spec/api_collection.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package lavanet.lava.spec; -option go_package = "github.com/lavanet/lava/v2/x/spec/types"; +option go_package = "github.com/lavanet/lava/v3/x/spec/types"; option (gogoproto.equal_all) = true; import "gogoproto/gogo.proto"; diff --git a/proto/lavanet/lava/spec/genesis.proto b/proto/lavanet/lava/spec/genesis.proto index d0dc122572..78aa1d3c01 100644 --- a/proto/lavanet/lava/spec/genesis.proto +++ b/proto/lavanet/lava/spec/genesis.proto @@ -7,7 +7,7 @@ import "lavanet/lava/spec/spec.proto"; // this line is used by starport scaffolding # genesis/proto/import -option go_package = "github.com/lavanet/lava/v2/x/spec/types"; +option go_package = "github.com/lavanet/lava/v3/x/spec/types"; // GenesisState defines the spec module's genesis state. message GenesisState { diff --git a/proto/lavanet/lava/spec/params.proto b/proto/lavanet/lava/spec/params.proto index 05139c4b38..2b87d017f7 100644 --- a/proto/lavanet/lava/spec/params.proto +++ b/proto/lavanet/lava/spec/params.proto @@ -3,7 +3,7 @@ package lavanet.lava.spec; import "gogoproto/gogo.proto"; -option go_package = "github.com/lavanet/lava/v2/x/spec/types"; +option go_package = "github.com/lavanet/lava/v3/x/spec/types"; // Params defines the parameters for the module. message Params { diff --git a/proto/lavanet/lava/spec/query.proto b/proto/lavanet/lava/spec/query.proto index a56d108b51..90c305e69c 100644 --- a/proto/lavanet/lava/spec/query.proto +++ b/proto/lavanet/lava/spec/query.proto @@ -8,7 +8,7 @@ import "lavanet/lava/spec/params.proto"; import "lavanet/lava/spec/spec.proto"; // this line is used by starport scaffolding # 1 -option go_package = "github.com/lavanet/lava/v2/x/spec/types"; +option go_package = "github.com/lavanet/lava/v3/x/spec/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/lavanet/lava/spec/spec.proto b/proto/lavanet/lava/spec/spec.proto index bed3abdaf6..5f85b1ae77 100644 --- a/proto/lavanet/lava/spec/spec.proto +++ b/proto/lavanet/lava/spec/spec.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package lavanet.lava.spec; -option go_package = "github.com/lavanet/lava/v2/x/spec/types"; +option go_package = "github.com/lavanet/lava/v3/x/spec/types"; option (gogoproto.equal_all) = true; import "gogoproto/gogo.proto"; diff --git a/proto/lavanet/lava/spec/spec_add_proposal.proto b/proto/lavanet/lava/spec/spec_add_proposal.proto index 628084f32b..acb66b2e9b 100644 --- a/proto/lavanet/lava/spec/spec_add_proposal.proto +++ b/proto/lavanet/lava/spec/spec_add_proposal.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package lavanet.lava.spec; -option go_package = "github.com/lavanet/lava/v2/x/spec/types"; +option go_package = "github.com/lavanet/lava/v3/x/spec/types"; option (gogoproto.equal_all) = true; import "gogoproto/gogo.proto"; diff --git a/proto/lavanet/lava/spec/tx.proto b/proto/lavanet/lava/spec/tx.proto index c9d490f4c4..5b48e3b7b4 100644 --- a/proto/lavanet/lava/spec/tx.proto +++ b/proto/lavanet/lava/spec/tx.proto @@ -3,7 +3,7 @@ package lavanet.lava.spec; // this line is used by starport scaffolding # proto/tx/import -option go_package = "github.com/lavanet/lava/v2/x/spec/types"; +option go_package = "github.com/lavanet/lava/v3/x/spec/types"; // Msg defines the Msg service. service Msg { diff --git a/proto/lavanet/lava/subscription/adjustment.proto b/proto/lavanet/lava/subscription/adjustment.proto index 9e06f32505..18e2596688 100644 --- a/proto/lavanet/lava/subscription/adjustment.proto +++ b/proto/lavanet/lava/subscription/adjustment.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package lavanet.lava.subscription; -option go_package = "github.com/lavanet/lava/v2/x/subscription/types"; +option go_package = "github.com/lavanet/lava/v3/x/subscription/types"; message Adjustment { string index = 1; diff --git a/proto/lavanet/lava/subscription/cu_tracker.proto b/proto/lavanet/lava/subscription/cu_tracker.proto index 364408ccef..311005ed50 100644 --- a/proto/lavanet/lava/subscription/cu_tracker.proto +++ b/proto/lavanet/lava/subscription/cu_tracker.proto @@ -4,7 +4,7 @@ package lavanet.lava.subscription; import "cosmos/base/v1beta1/coin.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/lavanet/lava/v2/x/subscription/types"; +option go_package = "github.com/lavanet/lava/v3/x/subscription/types"; message TrackedCu { uint64 cu = 1; // CU counter for CU after QoS consideration diff --git a/proto/lavanet/lava/subscription/genesis.proto b/proto/lavanet/lava/subscription/genesis.proto index 80cc9c6cdc..d3256e3b20 100644 --- a/proto/lavanet/lava/subscription/genesis.proto +++ b/proto/lavanet/lava/subscription/genesis.proto @@ -8,7 +8,7 @@ import "lavanet/lava/fixationstore/fixation.proto"; import "lavanet/lava/timerstore/timer.proto"; // this line is used by starport scaffolding # genesis/proto/import -option go_package = "github.com/lavanet/lava/v2/x/subscription/types"; +option go_package = "github.com/lavanet/lava/v3/x/subscription/types"; // GenesisState defines the subscription module's genesis state. message GenesisState { diff --git a/proto/lavanet/lava/subscription/params.proto b/proto/lavanet/lava/subscription/params.proto index 51c04df2ef..30ce7bd1da 100644 --- a/proto/lavanet/lava/subscription/params.proto +++ b/proto/lavanet/lava/subscription/params.proto @@ -3,7 +3,7 @@ package lavanet.lava.subscription; import "gogoproto/gogo.proto"; -option go_package = "github.com/lavanet/lava/v2/x/subscription/types"; +option go_package = "github.com/lavanet/lava/v3/x/subscription/types"; // Params defines the parameters for the module. message Params { diff --git a/proto/lavanet/lava/subscription/query.proto b/proto/lavanet/lava/subscription/query.proto index 64e0b2ef02..ae5d753913 100644 --- a/proto/lavanet/lava/subscription/query.proto +++ b/proto/lavanet/lava/subscription/query.proto @@ -11,7 +11,7 @@ import "lavanet/lava/subscription/params.proto"; import "lavanet/lava/subscription/subscription.proto"; import "amino/amino.proto"; -option go_package = "github.com/lavanet/lava/v2/x/subscription/types"; +option go_package = "github.com/lavanet/lava/v3/x/subscription/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/lavanet/lava/subscription/subscription.proto b/proto/lavanet/lava/subscription/subscription.proto index c5e17c3b00..fb9e3a0f9b 100644 --- a/proto/lavanet/lava/subscription/subscription.proto +++ b/proto/lavanet/lava/subscription/subscription.proto @@ -4,7 +4,7 @@ package lavanet.lava.subscription; import "cosmos/base/v1beta1/coin.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/lavanet/lava/v2/x/subscription/types"; +option go_package = "github.com/lavanet/lava/v3/x/subscription/types"; message Subscription { string creator = 1; // creator pays for the subscription diff --git a/proto/lavanet/lava/subscription/tx.proto b/proto/lavanet/lava/subscription/tx.proto index cd3096b116..d1904ff6fa 100644 --- a/proto/lavanet/lava/subscription/tx.proto +++ b/proto/lavanet/lava/subscription/tx.proto @@ -5,7 +5,7 @@ package lavanet.lava.subscription; import "amino/amino.proto"; import "lavanet/lava/projects/project.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/lavanet/lava/v2/x/subscription/types"; +option go_package = "github.com/lavanet/lava/v3/x/subscription/types"; // Msg defines the Msg service. service Msg { diff --git a/proto/lavanet/lava/timerstore/query.proto b/proto/lavanet/lava/timerstore/query.proto index 2e0a6605e7..bcca79e9a3 100644 --- a/proto/lavanet/lava/timerstore/query.proto +++ b/proto/lavanet/lava/timerstore/query.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package lavanet.lava.timerstore; -option go_package = "github.com/lavanet/lava/v2/x/timerstore/types"; +option go_package = "github.com/lavanet/lava/v3/x/timerstore/types"; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; diff --git a/proto/lavanet/lava/timerstore/timer.proto b/proto/lavanet/lava/timerstore/timer.proto index ce374d01d5..2e7e8b628d 100644 --- a/proto/lavanet/lava/timerstore/timer.proto +++ b/proto/lavanet/lava/timerstore/timer.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package lavanet.lava.timerstore; -option go_package = "github.com/lavanet/lava/v2/x/timerstore/types"; +option go_package = "github.com/lavanet/lava/v3/x/timerstore/types"; import "gogoproto/gogo.proto"; message GenesisState { diff --git a/protocol/badgegenerator/badgeserver.go b/protocol/badgegenerator/badgeserver.go index aab1311ec7..55860f638d 100644 --- a/protocol/badgegenerator/badgeserver.go +++ b/protocol/badgegenerator/badgeserver.go @@ -14,11 +14,11 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/server/grpc/gogoreflection" "github.com/improbable-eng/grpc-web/go/grpcweb" - "github.com/lavanet/lava/v2/app" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/rand" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/app" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/rand" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" "github.com/spf13/cobra" "github.com/spf13/pflag" "github.com/spf13/viper" diff --git a/protocol/badgegenerator/grpc/grpcfetcher.go b/protocol/badgegenerator/grpc/grpcfetcher.go index 1cb7866392..b96e31d7f1 100644 --- a/protocol/badgegenerator/grpc/grpcfetcher.go +++ b/protocol/badgegenerator/grpc/grpcfetcher.go @@ -8,8 +8,8 @@ import ( _ "github.com/cosmos/cosmos-sdk/types/query" retry "github.com/grpc-ecosystem/go-grpc-middleware/retry" - "github.com/lavanet/lava/v2/utils" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" diff --git a/protocol/badgegenerator/ipservice.go b/protocol/badgegenerator/ipservice.go index 45149bd914..a24f1a8530 100644 --- a/protocol/badgegenerator/ipservice.go +++ b/protocol/badgegenerator/ipservice.go @@ -12,7 +12,7 @@ import ( "github.com/praserx/ipconv" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" ) type IpService struct { diff --git a/protocol/badgegenerator/models.go b/protocol/badgegenerator/models.go index 2296307a5e..dacf6a25be 100644 --- a/protocol/badgegenerator/models.go +++ b/protocol/badgegenerator/models.go @@ -1,6 +1,6 @@ package badgegenerator -import "github.com/lavanet/lava/v2/x/pairing/types" +import "github.com/lavanet/lava/v3/x/pairing/types" type ProjectConfiguration struct { ProjectPublicKey string `json:"project_public_key"` diff --git a/protocol/badgegenerator/server.go b/protocol/badgegenerator/server.go index 087d892d73..9cecaff972 100644 --- a/protocol/badgegenerator/server.go +++ b/protocol/badgegenerator/server.go @@ -12,12 +12,12 @@ import ( "google.golang.org/grpc/metadata" btcSecp256k1 "github.com/btcsuite/btcd/btcec/v2" - "github.com/lavanet/lava/v2/protocol/badgegenerator/grpc" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/sigs" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/badgegenerator/grpc" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/sigs" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) const dummyApiInterface = "badgeApiInterface" diff --git a/protocol/badgegenerator/tracker.go b/protocol/badgegenerator/tracker.go index 902f117359..e65970f54b 100644 --- a/protocol/badgegenerator/tracker.go +++ b/protocol/badgegenerator/tracker.go @@ -6,11 +6,11 @@ import ( cosmosclient "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/lavanet/lava/v2/protocol/chaintracker" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/statetracker" - "github.com/lavanet/lava/v2/protocol/statetracker/updaters" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/protocol/chaintracker" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/statetracker" + "github.com/lavanet/lava/v3/protocol/statetracker/updaters" + "github.com/lavanet/lava/v3/utils" ) // adding 3 blocks delay, to update the epoch. diff --git a/protocol/badgeserver/badgeserver.go b/protocol/badgeserver/badgeserver.go index fe481b3907..0a6db7fa28 100644 --- a/protocol/badgeserver/badgeserver.go +++ b/protocol/badgeserver/badgeserver.go @@ -15,12 +15,12 @@ import ( "github.com/cosmos/cosmos-sdk/server/grpc/gogoreflection" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/improbable-eng/grpc-web/go/grpcweb" - "github.com/lavanet/lava/v2/app" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/rand" - "github.com/lavanet/lava/v2/utils/sigs" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/app" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/rand" + "github.com/lavanet/lava/v3/utils/sigs" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" "github.com/spf13/cobra" "github.com/spf13/pflag" "github.com/spf13/viper" diff --git a/protocol/badgeserver/ipservice.go b/protocol/badgeserver/ipservice.go index 619302210b..912077a142 100644 --- a/protocol/badgeserver/ipservice.go +++ b/protocol/badgeserver/ipservice.go @@ -12,7 +12,7 @@ import ( "github.com/praserx/ipconv" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" ) type IpService struct { diff --git a/protocol/badgeserver/models.go b/protocol/badgeserver/models.go index 5659e00d7e..4f073763a7 100644 --- a/protocol/badgeserver/models.go +++ b/protocol/badgeserver/models.go @@ -1,6 +1,6 @@ package badgeserver -import "github.com/lavanet/lava/v2/x/pairing/types" +import "github.com/lavanet/lava/v3/x/pairing/types" type GelocationToProjectsConfiguration map[string]map[string]*ProjectConfiguration diff --git a/protocol/badgeserver/server.go b/protocol/badgeserver/server.go index a7bb280226..c778204473 100644 --- a/protocol/badgeserver/server.go +++ b/protocol/badgeserver/server.go @@ -11,12 +11,12 @@ import ( btcSecp256k1 "github.com/btcsuite/btcd/btcec/v2" "github.com/cosmos/cosmos-sdk/client" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/sigs" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/sigs" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) const dummyApiInterface = "badgeApiInterface" diff --git a/protocol/badgeserver/tracker.go b/protocol/badgeserver/tracker.go index 6a62d1ec00..fbaf86e624 100644 --- a/protocol/badgeserver/tracker.go +++ b/protocol/badgeserver/tracker.go @@ -6,11 +6,11 @@ import ( cosmosclient "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/lavanet/lava/v2/protocol/chaintracker" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/statetracker" - "github.com/lavanet/lava/v2/protocol/statetracker/updaters" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/protocol/chaintracker" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/statetracker" + "github.com/lavanet/lava/v3/protocol/statetracker/updaters" + "github.com/lavanet/lava/v3/utils" ) // adding 3 blocks delay, to update the epoch. diff --git a/protocol/chainlib/base_chain_parser.go b/protocol/chainlib/base_chain_parser.go index d326bd7b83..fb1d5623b8 100644 --- a/protocol/chainlib/base_chain_parser.go +++ b/protocol/chainlib/base_chain_parser.go @@ -8,12 +8,12 @@ import ( "sync" "time" - "github.com/lavanet/lava/v2/protocol/chainlib/extensionslib" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/utils" - epochstorage "github.com/lavanet/lava/v2/x/epochstorage/types" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib/extensionslib" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/utils" + epochstorage "github.com/lavanet/lava/v3/x/epochstorage/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) type PolicyInf interface { diff --git a/protocol/chainlib/chain_fetcher.go b/protocol/chainlib/chain_fetcher.go index e045d264a3..565ace6948 100644 --- a/protocol/chainlib/chain_fetcher.go +++ b/protocol/chainlib/chain_fetcher.go @@ -9,16 +9,16 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/golang/protobuf/proto" - formatter "github.com/lavanet/lava/v2/ecosystem/cache/format" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/parser" - "github.com/lavanet/lava/v2/protocol/performance" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/sigs" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + formatter "github.com/lavanet/lava/v3/ecosystem/cache/format" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/parser" + "github.com/lavanet/lava/v3/protocol/performance" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/sigs" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "golang.org/x/exp/slices" ) diff --git a/protocol/chainlib/chain_fetcher_mock.go b/protocol/chainlib/chain_fetcher_mock.go index 60844bb8ba..41ee39c660 100644 --- a/protocol/chainlib/chain_fetcher_mock.go +++ b/protocol/chainlib/chain_fetcher_mock.go @@ -12,7 +12,7 @@ import ( context "context" reflect "reflect" - lavasession "github.com/lavanet/lava/v2/protocol/lavasession" + lavasession "github.com/lavanet/lava/v3/protocol/lavasession" gomock "go.uber.org/mock/gomock" ) diff --git a/protocol/chainlib/chain_fetcher_test.go b/protocol/chainlib/chain_fetcher_test.go index 15ebf39a34..87606f6f0f 100644 --- a/protocol/chainlib/chain_fetcher_test.go +++ b/protocol/chainlib/chain_fetcher_test.go @@ -3,7 +3,7 @@ package chainlib import ( "testing" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" "github.com/stretchr/testify/require" ) diff --git a/protocol/chainlib/chain_message.go b/protocol/chainlib/chain_message.go index 9df468f55c..66f89c2555 100644 --- a/protocol/chainlib/chain_message.go +++ b/protocol/chainlib/chain_message.go @@ -4,12 +4,12 @@ import ( "math" "time" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcInterfaceMessages" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" - "github.com/lavanet/lava/v2/protocol/chainlib/extensionslib" - "github.com/lavanet/lava/v2/utils" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcInterfaceMessages" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcclient" + "github.com/lavanet/lava/v3/protocol/chainlib/extensionslib" + "github.com/lavanet/lava/v3/utils" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) type updatableRPCInput interface { diff --git a/protocol/chainlib/chain_message_queries.go b/protocol/chainlib/chain_message_queries.go index 479cf259b2..9f3fb77a3b 100644 --- a/protocol/chainlib/chain_message_queries.go +++ b/protocol/chainlib/chain_message_queries.go @@ -1,8 +1,8 @@ package chainlib import ( - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/x/spec/types" ) func ShouldSendToAllProviders(chainMessage ChainMessage) bool { diff --git a/protocol/chainlib/chain_router.go b/protocol/chainlib/chain_router.go index 47a56f1032..3c958da9f2 100644 --- a/protocol/chainlib/chain_router.go +++ b/protocol/chainlib/chain_router.go @@ -6,11 +6,11 @@ import ( "strings" "sync" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/utils" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcclient" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/utils" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "google.golang.org/grpc" "google.golang.org/grpc/metadata" diff --git a/protocol/chainlib/chain_router_test.go b/protocol/chainlib/chain_router_test.go index c16c7e6c25..f04831775e 100644 --- a/protocol/chainlib/chain_router_test.go +++ b/protocol/chainlib/chain_router_test.go @@ -14,14 +14,14 @@ import ( "github.com/gofiber/fiber/v2/middleware/compress" "github.com/gofiber/fiber/v2/middleware/favicon" "github.com/gofiber/websocket/v2" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" - "github.com/lavanet/lava/v2/protocol/chainlib/extensionslib" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavasession" - testcommon "github.com/lavanet/lava/v2/testutil/common" - "github.com/lavanet/lava/v2/utils" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcclient" + "github.com/lavanet/lava/v3/protocol/chainlib/extensionslib" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavasession" + testcommon "github.com/lavanet/lava/v3/testutil/common" + "github.com/lavanet/lava/v3/utils" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" ) diff --git a/protocol/chainlib/chainlib.go b/protocol/chainlib/chainlib.go index cbd5881b52..44b8184405 100644 --- a/protocol/chainlib/chainlib.go +++ b/protocol/chainlib/chainlib.go @@ -5,14 +5,14 @@ import ( "fmt" "time" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcInterfaceMessages" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" - "github.com/lavanet/lava/v2/protocol/chainlib/extensionslib" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/metrics" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcInterfaceMessages" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcclient" + "github.com/lavanet/lava/v3/protocol/chainlib/extensionslib" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/metrics" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) var ( diff --git a/protocol/chainlib/chainlib_mock.go b/protocol/chainlib/chainlib_mock.go index a8951760ae..8ba6c64410 100644 --- a/protocol/chainlib/chainlib_mock.go +++ b/protocol/chainlib/chainlib_mock.go @@ -10,13 +10,13 @@ import ( time "time" gomock "github.com/golang/mock/gomock" - rpcInterfaceMessages "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcInterfaceMessages" - rpcclient "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" - extensionslib "github.com/lavanet/lava/v2/protocol/chainlib/extensionslib" - common "github.com/lavanet/lava/v2/protocol/common" - metrics "github.com/lavanet/lava/v2/protocol/metrics" - types "github.com/lavanet/lava/v2/x/pairing/types" - types0 "github.com/lavanet/lava/v2/x/spec/types" + rpcInterfaceMessages "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcInterfaceMessages" + rpcclient "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcclient" + extensionslib "github.com/lavanet/lava/v3/protocol/chainlib/extensionslib" + common "github.com/lavanet/lava/v3/protocol/common" + metrics "github.com/lavanet/lava/v3/protocol/metrics" + types "github.com/lavanet/lava/v3/x/pairing/types" + types0 "github.com/lavanet/lava/v3/x/spec/types" ) // MockChainParser is a mock of ChainParser interface. diff --git a/protocol/chainlib/chainproxy/common.go b/protocol/chainlib/chainproxy/common.go index b09f6caa70..ef410817ca 100644 --- a/protocol/chainlib/chainproxy/common.go +++ b/protocol/chainlib/chainproxy/common.go @@ -5,9 +5,9 @@ import ( "github.com/goccy/go-json" - "github.com/lavanet/lava/v2/protocol/parser" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/parser" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) const ( diff --git a/protocol/chainlib/chainproxy/connector.go b/protocol/chainlib/chainproxy/connector.go index 3c56f398ba..6f470d4742 100644 --- a/protocol/chainlib/chainproxy/connector.go +++ b/protocol/chainlib/chainproxy/connector.go @@ -18,10 +18,10 @@ import ( "sync/atomic" "time" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/sigs" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcclient" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/sigs" "google.golang.org/grpc" "google.golang.org/grpc/credentials" "google.golang.org/grpc/credentials/insecure" diff --git a/protocol/chainlib/chainproxy/connector_test.go b/protocol/chainlib/chainproxy/connector_test.go index 7b052295e0..651f09e4dd 100644 --- a/protocol/chainlib/chainproxy/connector_test.go +++ b/protocol/chainlib/chainproxy/connector_test.go @@ -11,10 +11,10 @@ import ( "testing" "time" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/utils" - pb_pkg "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcclient" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/utils" + pb_pkg "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" "google.golang.org/grpc" "google.golang.org/grpc/metadata" diff --git a/protocol/chainlib/chainproxy/rpcInterfaceMessages/common.go b/protocol/chainlib/chainproxy/rpcInterfaceMessages/common.go index 58a6041be1..96a79bc822 100644 --- a/protocol/chainlib/chainproxy/rpcInterfaceMessages/common.go +++ b/protocol/chainlib/chainproxy/rpcInterfaceMessages/common.go @@ -4,9 +4,9 @@ import ( sdkerrors "cosmossdk.io/errors" "github.com/goccy/go-json" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy" - "github.com/lavanet/lava/v2/protocol/parser" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy" + "github.com/lavanet/lava/v3/protocol/parser" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" ) var WontCalculateBatchHash = sdkerrors.New("Wont calculate batch hash", 892, "wont calculate batch message hash") // on batches we just wont calculate hashes, meaning we wont retry. diff --git a/protocol/chainlib/chainproxy/rpcInterfaceMessages/grpcMessage.go b/protocol/chainlib/chainproxy/rpcInterfaceMessages/grpcMessage.go index 403f5303f4..4d01346c94 100644 --- a/protocol/chainlib/chainproxy/rpcInterfaceMessages/grpcMessage.go +++ b/protocol/chainlib/chainproxy/rpcInterfaceMessages/grpcMessage.go @@ -13,12 +13,12 @@ import ( "github.com/jhump/protoreflect/desc" "github.com/jhump/protoreflect/dynamic" "github.com/jhump/protoreflect/grpcreflect" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" - dyncodec "github.com/lavanet/lava/v2/protocol/chainlib/grpcproxy/dyncodec" - "github.com/lavanet/lava/v2/protocol/parser" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/sigs" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcclient" + dyncodec "github.com/lavanet/lava/v3/protocol/chainlib/grpcproxy/dyncodec" + "github.com/lavanet/lava/v3/protocol/parser" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/sigs" "google.golang.org/grpc/codes" "google.golang.org/protobuf/reflect/protoreflect" diff --git a/protocol/chainlib/chainproxy/rpcInterfaceMessages/grpcMessage_test.go b/protocol/chainlib/chainproxy/rpcInterfaceMessages/grpcMessage_test.go index bf617df3bd..50da0ae37e 100644 --- a/protocol/chainlib/chainproxy/rpcInterfaceMessages/grpcMessage_test.go +++ b/protocol/chainlib/chainproxy/rpcInterfaceMessages/grpcMessage_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" "github.com/stretchr/testify/assert" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/protocol/chainlib/chainproxy/rpcInterfaceMessages/jsonRPCMessage.go b/protocol/chainlib/chainproxy/rpcInterfaceMessages/jsonRPCMessage.go index 416aa7b2eb..6eaa79ca0c 100644 --- a/protocol/chainlib/chainproxy/rpcInterfaceMessages/jsonRPCMessage.go +++ b/protocol/chainlib/chainproxy/rpcInterfaceMessages/jsonRPCMessage.go @@ -6,11 +6,11 @@ import ( "github.com/goccy/go-json" sdkerrors "cosmossdk.io/errors" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" - "github.com/lavanet/lava/v2/protocol/parser" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/sigs" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcclient" + "github.com/lavanet/lava/v3/protocol/parser" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/sigs" ) var ErrFailedToConvertMessage = sdkerrors.New("RPC error", 1000, "failed to convert a message") diff --git a/protocol/chainlib/chainproxy/rpcInterfaceMessages/jsonRPCMessage_test.go b/protocol/chainlib/chainproxy/rpcInterfaceMessages/jsonRPCMessage_test.go index 5adc144b12..711b1a119a 100644 --- a/protocol/chainlib/chainproxy/rpcInterfaceMessages/jsonRPCMessage_test.go +++ b/protocol/chainlib/chainproxy/rpcInterfaceMessages/jsonRPCMessage_test.go @@ -4,7 +4,7 @@ import ( "encoding/json" "testing" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcclient" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/protocol/chainlib/chainproxy/rpcInterfaceMessages/restMessage.go b/protocol/chainlib/chainproxy/rpcInterfaceMessages/restMessage.go index eda3b0435c..39eeb7b9aa 100644 --- a/protocol/chainlib/chainproxy/rpcInterfaceMessages/restMessage.go +++ b/protocol/chainlib/chainproxy/rpcInterfaceMessages/restMessage.go @@ -6,11 +6,11 @@ import ( "github.com/goccy/go-json" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" - "github.com/lavanet/lava/v2/protocol/parser" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/sigs" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcclient" + "github.com/lavanet/lava/v3/protocol/parser" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/sigs" ) type RestMessage struct { diff --git a/protocol/chainlib/chainproxy/rpcInterfaceMessages/tendermintRPCMessage.go b/protocol/chainlib/chainproxy/rpcInterfaceMessages/tendermintRPCMessage.go index 5a81767acf..76d0e3d633 100644 --- a/protocol/chainlib/chainproxy/rpcInterfaceMessages/tendermintRPCMessage.go +++ b/protocol/chainlib/chainproxy/rpcInterfaceMessages/tendermintRPCMessage.go @@ -6,12 +6,12 @@ import ( tenderminttypes "github.com/cometbft/cometbft/rpc/jsonrpc/types" "github.com/goccy/go-json" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" - "github.com/lavanet/lava/v2/protocol/parser" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcclient" + "github.com/lavanet/lava/v3/protocol/parser" + "github.com/lavanet/lava/v3/utils" - "github.com/lavanet/lava/v2/utils/sigs" + "github.com/lavanet/lava/v3/utils/sigs" ) type TendermintrpcMessage struct { diff --git a/protocol/chainlib/chainproxy/rpcInterfaceMessages/tendermintRPCMessage_test.go b/protocol/chainlib/chainproxy/rpcInterfaceMessages/tendermintRPCMessage_test.go index df39432718..756f9d1c70 100644 --- a/protocol/chainlib/chainproxy/rpcInterfaceMessages/tendermintRPCMessage_test.go +++ b/protocol/chainlib/chainproxy/rpcInterfaceMessages/tendermintRPCMessage_test.go @@ -7,7 +7,7 @@ import ( "testing" tenderminttypes "github.com/cometbft/cometbft/rpc/jsonrpc/types" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcclient" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/protocol/chainlib/chainproxy/rpcclient/client.go b/protocol/chainlib/chainproxy/rpcclient/client.go index 6e4e4c00cd..2950de5b82 100644 --- a/protocol/chainlib/chainproxy/rpcclient/client.go +++ b/protocol/chainlib/chainproxy/rpcclient/client.go @@ -29,7 +29,7 @@ import ( "github.com/goccy/go-json" "github.com/ethereum/go-ethereum/log" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" ) var ( diff --git a/protocol/chainlib/chainproxy/rpcclient/handler.go b/protocol/chainlib/chainproxy/rpcclient/handler.go index 60f628b5bc..5e9abe2412 100755 --- a/protocol/chainlib/chainproxy/rpcclient/handler.go +++ b/protocol/chainlib/chainproxy/rpcclient/handler.go @@ -27,7 +27,7 @@ import ( "github.com/goccy/go-json" "github.com/ethereum/go-ethereum/log" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" ) // handler handles JSON-RPC messages. There is one handler per connection. Note that diff --git a/protocol/chainlib/chainproxy/rpcclient/http.go b/protocol/chainlib/chainproxy/rpcclient/http.go index b4cf981f55..95317a7a9b 100755 --- a/protocol/chainlib/chainproxy/rpcclient/http.go +++ b/protocol/chainlib/chainproxy/rpcclient/http.go @@ -31,8 +31,8 @@ import ( "github.com/goccy/go-json" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/utils" "google.golang.org/grpc" "google.golang.org/grpc/metadata" ) diff --git a/protocol/chainlib/chainproxy/rpcclient/json.go b/protocol/chainlib/chainproxy/rpcclient/json.go index 9292df8dec..5984cc368b 100755 --- a/protocol/chainlib/chainproxy/rpcclient/json.go +++ b/protocol/chainlib/chainproxy/rpcclient/json.go @@ -29,7 +29,7 @@ import ( "github.com/goccy/go-json" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" ) const ( diff --git a/protocol/chainlib/chainproxy/rpcclient/service.go b/protocol/chainlib/chainproxy/rpcclient/service.go index 78754feb64..e175e28be0 100755 --- a/protocol/chainlib/chainproxy/rpcclient/service.go +++ b/protocol/chainlib/chainproxy/rpcclient/service.go @@ -26,7 +26,7 @@ import ( "unicode" "github.com/ethereum/go-ethereum/log" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" ) var ( diff --git a/protocol/chainlib/chainproxy/rpcclient/subscription.go b/protocol/chainlib/chainproxy/rpcclient/subscription.go index af9beb8236..6c9bf81f10 100755 --- a/protocol/chainlib/chainproxy/rpcclient/subscription.go +++ b/protocol/chainlib/chainproxy/rpcclient/subscription.go @@ -32,7 +32,7 @@ import ( "github.com/goccy/go-json" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" ) var ( diff --git a/protocol/chainlib/chainproxy/rpcclient/types.go b/protocol/chainlib/chainproxy/rpcclient/types.go index a79a846b26..21c4dd3374 100755 --- a/protocol/chainlib/chainproxy/rpcclient/types.go +++ b/protocol/chainlib/chainproxy/rpcclient/types.go @@ -27,7 +27,7 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) // API describes the set of methods offered over the RPC interface diff --git a/protocol/chainlib/chainproxy/rpcclient/utils.go b/protocol/chainlib/chainproxy/rpcclient/utils.go index 4c7d7abd8c..67a5ed5aaf 100644 --- a/protocol/chainlib/chainproxy/rpcclient/utils.go +++ b/protocol/chainlib/chainproxy/rpcclient/utils.go @@ -1,7 +1,7 @@ package rpcclient import ( - "github.com/lavanet/lava/v2/utils/sigs" + "github.com/lavanet/lava/v3/utils/sigs" ) func CreateHashFromParams(params []byte) string { diff --git a/protocol/chainlib/common.go b/protocol/chainlib/common.go index 3deaae94bb..e2cfb01f80 100644 --- a/protocol/chainlib/common.go +++ b/protocol/chainlib/common.go @@ -14,11 +14,11 @@ import ( "github.com/gofiber/fiber/v2/middleware/compress" "github.com/gofiber/fiber/v2/middleware/favicon" "github.com/gofiber/websocket/v2" - common "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/metrics" - "github.com/lavanet/lava/v2/utils" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + common "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/metrics" + "github.com/lavanet/lava/v3/utils" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "google.golang.org/grpc/metadata" ) diff --git a/protocol/chainlib/common_test.go b/protocol/chainlib/common_test.go index 1ac2ab5ff1..1079574a61 100644 --- a/protocol/chainlib/common_test.go +++ b/protocol/chainlib/common_test.go @@ -11,9 +11,9 @@ import ( "github.com/gofiber/fiber/v2" "github.com/gofiber/websocket/v2" websocket2 "github.com/gorilla/websocket" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcclient" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/protocol/chainlib/common_test_utils.go b/protocol/chainlib/common_test_utils.go index 1e4db5dc47..5d8c833663 100644 --- a/protocol/chainlib/common_test_utils.go +++ b/protocol/chainlib/common_test_utils.go @@ -12,23 +12,23 @@ import ( "time" "github.com/gorilla/websocket" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/rand" - "github.com/lavanet/lava/v2/utils/sigs" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/rand" + "github.com/lavanet/lava/v3/utils/sigs" "github.com/cometbft/cometbft/proto/tendermint/types" "github.com/cosmos/cosmos-sdk/client/grpc/tmservice" "github.com/cosmos/cosmos-sdk/server/grpc/gogoreflection" sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/lavanet/lava/v2/protocol/chaintracker" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavasession" - testcommon "github.com/lavanet/lava/v2/testutil/common" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - specutils "github.com/lavanet/lava/v2/utils/keeper" - plantypes "github.com/lavanet/lava/v2/x/plans/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chaintracker" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavasession" + testcommon "github.com/lavanet/lava/v3/testutil/common" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + specutils "github.com/lavanet/lava/v3/utils/keeper" + plantypes "github.com/lavanet/lava/v3/x/plans/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" "google.golang.org/grpc" "google.golang.org/grpc/metadata" diff --git a/protocol/chainlib/consumer_websocket_manager.go b/protocol/chainlib/consumer_websocket_manager.go index a40ba14a6c..5b36e81e5b 100644 --- a/protocol/chainlib/consumer_websocket_manager.go +++ b/protocol/chainlib/consumer_websocket_manager.go @@ -7,11 +7,11 @@ import ( gojson "github.com/goccy/go-json" "github.com/gofiber/websocket/v2" - formatter "github.com/lavanet/lava/v2/ecosystem/cache/format" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/metrics" - "github.com/lavanet/lava/v2/utils" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + formatter "github.com/lavanet/lava/v3/ecosystem/cache/format" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/metrics" + "github.com/lavanet/lava/v3/utils" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) type ConsumerWebsocketManager struct { diff --git a/protocol/chainlib/consumer_ws_subscription_manager.go b/protocol/chainlib/consumer_ws_subscription_manager.go index 17ed28f913..e19420812f 100644 --- a/protocol/chainlib/consumer_ws_subscription_manager.go +++ b/protocol/chainlib/consumer_ws_subscription_manager.go @@ -7,15 +7,15 @@ import ( "sync" gojson "github.com/goccy/go-json" - rpcclient "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavaprotocol" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/metrics" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/protocopy" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + rpcclient "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcclient" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavaprotocol" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/metrics" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/protocopy" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) type unsubscribeRelayData struct { diff --git a/protocol/chainlib/consumer_ws_subscription_manager_test.go b/protocol/chainlib/consumer_ws_subscription_manager_test.go index 10d718cc59..c549cb6772 100644 --- a/protocol/chainlib/consumer_ws_subscription_manager_test.go +++ b/protocol/chainlib/consumer_ws_subscription_manager_test.go @@ -9,16 +9,16 @@ import ( "time" gomock "github.com/golang/mock/gomock" - "github.com/lavanet/lava/v2/protocol/chainlib/extensionslib" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavaprotocol" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/metrics" - "github.com/lavanet/lava/v2/protocol/provideroptimizer" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/rand" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib/extensionslib" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavaprotocol" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/metrics" + "github.com/lavanet/lava/v3/protocol/provideroptimizer" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/rand" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" gomockuber "go.uber.org/mock/gomock" diff --git a/protocol/chainlib/extensionslib/archive_parser_rule.go b/protocol/chainlib/extensionslib/archive_parser_rule.go index e937d9067a..13921346ac 100644 --- a/protocol/chainlib/extensionslib/archive_parser_rule.go +++ b/protocol/chainlib/extensionslib/archive_parser_rule.go @@ -1,7 +1,7 @@ package extensionslib import ( - spectypes "github.com/lavanet/lava/v2/x/spec/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) type ArchiveParserRule struct { diff --git a/protocol/chainlib/extensionslib/extension_parser.go b/protocol/chainlib/extensionslib/extension_parser.go index 91af83f95d..47fc08922f 100644 --- a/protocol/chainlib/extensionslib/extension_parser.go +++ b/protocol/chainlib/extensionslib/extension_parser.go @@ -1,7 +1,7 @@ package extensionslib import ( - spectypes "github.com/lavanet/lava/v2/x/spec/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) type ExtensionInfo struct { diff --git a/protocol/chainlib/grpc.go b/protocol/chainlib/grpc.go index 40aa78178f..68367b1eca 100644 --- a/protocol/chainlib/grpc.go +++ b/protocol/chainlib/grpc.go @@ -15,11 +15,11 @@ import ( "github.com/goccy/go-json" "github.com/gogo/protobuf/jsonpb" - "github.com/lavanet/lava/v2/protocol/chainlib/extensionslib" - "github.com/lavanet/lava/v2/protocol/chainlib/grpcproxy" - dyncodec "github.com/lavanet/lava/v2/protocol/chainlib/grpcproxy/dyncodec" - "github.com/lavanet/lava/v2/protocol/parser" - protocoltypes "github.com/lavanet/lava/v2/x/protocol/types" + "github.com/lavanet/lava/v3/protocol/chainlib/extensionslib" + "github.com/lavanet/lava/v3/protocol/chainlib/grpcproxy" + dyncodec "github.com/lavanet/lava/v3/protocol/chainlib/grpcproxy/dyncodec" + "github.com/lavanet/lava/v3/protocol/parser" + protocoltypes "github.com/lavanet/lava/v3/x/protocol/types" "google.golang.org/grpc" "google.golang.org/grpc/codes" @@ -30,15 +30,15 @@ import ( "github.com/jhump/protoreflect/desc" "github.com/jhump/protoreflect/dynamic" "github.com/jhump/protoreflect/grpcreflect" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcInterfaceMessages" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/metrics" - "github.com/lavanet/lava/v2/utils" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcInterfaceMessages" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcclient" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/metrics" + "github.com/lavanet/lava/v3/utils" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" reflectionpbo "google.golang.org/grpc/reflection/grpc_reflection_v1alpha" "google.golang.org/grpc/status" ) diff --git a/protocol/chainlib/grpc_test.go b/protocol/chainlib/grpc_test.go index 934cf82809..8c51ab9ca1 100644 --- a/protocol/chainlib/grpc_test.go +++ b/protocol/chainlib/grpc_test.go @@ -9,12 +9,12 @@ import ( "testing" "time" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcInterfaceMessages" - "github.com/lavanet/lava/v2/protocol/chainlib/extensionslib" - "github.com/lavanet/lava/v2/protocol/parser" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcInterfaceMessages" + "github.com/lavanet/lava/v3/protocol/chainlib/extensionslib" + "github.com/lavanet/lava/v3/protocol/parser" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/protocol/chainlib/grpcproxy/dyncodec/registry.go b/protocol/chainlib/grpcproxy/dyncodec/registry.go index 30c6a4435a..63aa527648 100644 --- a/protocol/chainlib/grpcproxy/dyncodec/registry.go +++ b/protocol/chainlib/grpcproxy/dyncodec/registry.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" "google.golang.org/protobuf/reflect/protodesc" "google.golang.org/protobuf/reflect/protoreflect" "google.golang.org/protobuf/reflect/protoregistry" diff --git a/protocol/chainlib/grpcproxy/dyncodec/remote_grpc_reflection.go b/protocol/chainlib/grpcproxy/dyncodec/remote_grpc_reflection.go index 03273e1944..2e0e692388 100644 --- a/protocol/chainlib/grpcproxy/dyncodec/remote_grpc_reflection.go +++ b/protocol/chainlib/grpcproxy/dyncodec/remote_grpc_reflection.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" "google.golang.org/grpc" "google.golang.org/grpc/reflection/grpc_reflection_v1alpha" "google.golang.org/protobuf/proto" diff --git a/protocol/chainlib/grpcproxy/dyncodec/remote_relayer.go b/protocol/chainlib/grpcproxy/dyncodec/remote_relayer.go index ceb8ded940..1ece97e57f 100644 --- a/protocol/chainlib/grpcproxy/dyncodec/remote_relayer.go +++ b/protocol/chainlib/grpcproxy/dyncodec/remote_relayer.go @@ -3,7 +3,7 @@ package dyncodec import ( "context" - "github.com/lavanet/lava/v2/protocol/chainlib/grpcproxy" + "github.com/lavanet/lava/v3/protocol/chainlib/grpcproxy" "google.golang.org/grpc/reflection/grpc_reflection_v1alpha" "google.golang.org/protobuf/proto" "google.golang.org/protobuf/reflect/protoreflect" diff --git a/protocol/chainlib/grpcproxy/dyncodec/remotes_test.go b/protocol/chainlib/grpcproxy/dyncodec/remotes_test.go index f9e215d097..711277c022 100644 --- a/protocol/chainlib/grpcproxy/dyncodec/remotes_test.go +++ b/protocol/chainlib/grpcproxy/dyncodec/remotes_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/lavanet/lava/v2/protocol/chainlib/grpcproxy" - "github.com/lavanet/lava/v2/protocol/chainlib/grpcproxy/testproto" + "github.com/lavanet/lava/v3/protocol/chainlib/grpcproxy" + "github.com/lavanet/lava/v3/protocol/chainlib/grpcproxy/testproto" "github.com/stretchr/testify/require" "google.golang.org/grpc" "google.golang.org/grpc/metadata" diff --git a/protocol/chainlib/grpcproxy/grpcproxy.go b/protocol/chainlib/grpcproxy/grpcproxy.go index f507a4375a..e5a06dcf3e 100644 --- a/protocol/chainlib/grpcproxy/grpcproxy.go +++ b/protocol/chainlib/grpcproxy/grpcproxy.go @@ -7,8 +7,8 @@ import ( "github.com/gofiber/fiber/v2" "github.com/improbable-eng/grpc-web/go/grpcweb" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/utils" "golang.org/x/net/http2" "golang.org/x/net/http2/h2c" "google.golang.org/grpc" diff --git a/protocol/chainlib/grpcproxy/grpcproxy_test.go b/protocol/chainlib/grpcproxy/grpcproxy_test.go index 07c8b9e4ef..2f766868bf 100644 --- a/protocol/chainlib/grpcproxy/grpcproxy_test.go +++ b/protocol/chainlib/grpcproxy/grpcproxy_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/lavanet/lava/v2/protocol/chainlib/grpcproxy/testproto" - "github.com/lavanet/lava/v2/protocol/common" + "github.com/lavanet/lava/v3/protocol/chainlib/grpcproxy/testproto" + "github.com/lavanet/lava/v3/protocol/common" "github.com/stretchr/testify/require" "google.golang.org/grpc/metadata" ) diff --git a/protocol/chainlib/jsonRPC.go b/protocol/chainlib/jsonRPC.go index bedcd154c5..da5f256411 100644 --- a/protocol/chainlib/jsonRPC.go +++ b/protocol/chainlib/jsonRPC.go @@ -14,18 +14,18 @@ import ( "github.com/gofiber/fiber/v2" "github.com/gofiber/websocket/v2" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcInterfaceMessages" - "github.com/lavanet/lava/v2/protocol/chainlib/extensionslib" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/metrics" - "github.com/lavanet/lava/v2/protocol/parser" - - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" - "github.com/lavanet/lava/v2/utils" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcInterfaceMessages" + "github.com/lavanet/lava/v3/protocol/chainlib/extensionslib" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/metrics" + "github.com/lavanet/lava/v3/protocol/parser" + + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcclient" + "github.com/lavanet/lava/v3/utils" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) const SEP = "&" diff --git a/protocol/chainlib/jsonRPC_test.go b/protocol/chainlib/jsonRPC_test.go index 15f9db0dc2..f32ec51683 100644 --- a/protocol/chainlib/jsonRPC_test.go +++ b/protocol/chainlib/jsonRPC_test.go @@ -10,12 +10,12 @@ import ( "time" "github.com/gorilla/websocket" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcInterfaceMessages" - "github.com/lavanet/lava/v2/protocol/chainlib/extensionslib" - "github.com/lavanet/lava/v2/protocol/common" - specutils "github.com/lavanet/lava/v2/utils/keeper" - plantypes "github.com/lavanet/lava/v2/x/plans/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcInterfaceMessages" + "github.com/lavanet/lava/v3/protocol/chainlib/extensionslib" + "github.com/lavanet/lava/v3/protocol/common" + specutils "github.com/lavanet/lava/v3/utils/keeper" + plantypes "github.com/lavanet/lava/v3/x/plans/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/protocol/chainlib/node_error_handler.go b/protocol/chainlib/node_error_handler.go index 683839b8d3..ed345cef42 100644 --- a/protocol/chainlib/node_error_handler.go +++ b/protocol/chainlib/node_error_handler.go @@ -11,13 +11,13 @@ import ( "github.com/goccy/go-json" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcInterfaceMessages" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" - "github.com/lavanet/lava/v2/protocol/common" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcInterfaceMessages" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcclient" + "github.com/lavanet/lava/v3/protocol/common" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" ) type genericErrorHandler struct{} diff --git a/protocol/chainlib/node_error_handler_test.go b/protocol/chainlib/node_error_handler_test.go index c78fc24472..5303564ac5 100644 --- a/protocol/chainlib/node_error_handler_test.go +++ b/protocol/chainlib/node_error_handler_test.go @@ -9,7 +9,7 @@ import ( "syscall" "testing" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" "github.com/stretchr/testify/require" ) diff --git a/protocol/chainlib/protocol_message.go b/protocol/chainlib/protocol_message.go index d2576c2de2..fc9b1789d4 100644 --- a/protocol/chainlib/protocol_message.go +++ b/protocol/chainlib/protocol_message.go @@ -3,8 +3,8 @@ package chainlib import ( "strings" - "github.com/lavanet/lava/v2/protocol/common" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/protocol/common" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" ) type UserData struct { diff --git a/protocol/chainlib/provider_node_subscription_manager.go b/protocol/chainlib/provider_node_subscription_manager.go index 3766a063cc..21a8f9e8c9 100644 --- a/protocol/chainlib/provider_node_subscription_manager.go +++ b/protocol/chainlib/provider_node_subscription_manager.go @@ -9,16 +9,16 @@ import ( "github.com/btcsuite/btcd/btcec/v2" sdk "github.com/cosmos/cosmos-sdk/types" gojson "github.com/goccy/go-json" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcInterfaceMessages" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" - "github.com/lavanet/lava/v2/protocol/chainlib/extensionslib" - "github.com/lavanet/lava/v2/protocol/chaintracker" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavaprotocol" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/protocopy" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcInterfaceMessages" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcclient" + "github.com/lavanet/lava/v3/protocol/chainlib/extensionslib" + "github.com/lavanet/lava/v3/protocol/chaintracker" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavaprotocol" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/protocopy" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) const SubscriptionTimeoutDuration = 15 * time.Minute diff --git a/protocol/chainlib/provider_node_subscription_manager_test.go b/protocol/chainlib/provider_node_subscription_manager_test.go index 2104adc994..38bb6283c9 100644 --- a/protocol/chainlib/provider_node_subscription_manager_test.go +++ b/protocol/chainlib/provider_node_subscription_manager_test.go @@ -9,11 +9,11 @@ import ( "time" "github.com/gorilla/websocket" - "github.com/lavanet/lava/v2/protocol/chainlib/extensionslib" - "github.com/lavanet/lava/v2/protocol/chaintracker" - "github.com/lavanet/lava/v2/utils" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib/extensionslib" + "github.com/lavanet/lava/v3/protocol/chaintracker" + "github.com/lavanet/lava/v3/utils" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" ) diff --git a/protocol/chainlib/rest.go b/protocol/chainlib/rest.go index 361f191a3c..919c49374e 100644 --- a/protocol/chainlib/rest.go +++ b/protocol/chainlib/rest.go @@ -11,22 +11,22 @@ import ( "strings" "time" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcInterfaceMessages" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" - "github.com/lavanet/lava/v2/protocol/chainlib/extensionslib" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/parser" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcInterfaceMessages" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcclient" + "github.com/lavanet/lava/v3/protocol/chainlib/extensionslib" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/parser" + "github.com/lavanet/lava/v3/utils" "google.golang.org/grpc" "google.golang.org/grpc/metadata" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" "github.com/gofiber/fiber/v2" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/metrics" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/metrics" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) type RestChainParser struct { diff --git a/protocol/chainlib/rest_test.go b/protocol/chainlib/rest_test.go index 291d184365..6ce0922113 100644 --- a/protocol/chainlib/rest_test.go +++ b/protocol/chainlib/rest_test.go @@ -8,13 +8,13 @@ import ( "testing" "time" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcInterfaceMessages" - "github.com/lavanet/lava/v2/protocol/chainlib/extensionslib" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/parser" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcInterfaceMessages" + "github.com/lavanet/lava/v3/protocol/chainlib/extensionslib" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/parser" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/protocol/chainlib/tendermintRPC.go b/protocol/chainlib/tendermintRPC.go index 3f52e70659..ae491455f1 100644 --- a/protocol/chainlib/tendermintRPC.go +++ b/protocol/chainlib/tendermintRPC.go @@ -15,17 +15,17 @@ import ( "github.com/gofiber/fiber/v2" "github.com/gofiber/websocket/v2" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcInterfaceMessages" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" - "github.com/lavanet/lava/v2/protocol/chainlib/extensionslib" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/metrics" - "github.com/lavanet/lava/v2/protocol/parser" - "github.com/lavanet/lava/v2/utils" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcInterfaceMessages" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcclient" + "github.com/lavanet/lava/v3/protocol/chainlib/extensionslib" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/metrics" + "github.com/lavanet/lava/v3/protocol/parser" + "github.com/lavanet/lava/v3/utils" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "google.golang.org/grpc" "google.golang.org/grpc/metadata" ) diff --git a/protocol/chainlib/tendermintRPC_test.go b/protocol/chainlib/tendermintRPC_test.go index a40de882a8..ac98b20902 100644 --- a/protocol/chainlib/tendermintRPC_test.go +++ b/protocol/chainlib/tendermintRPC_test.go @@ -8,9 +8,9 @@ import ( "testing" "time" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcInterfaceMessages" - "github.com/lavanet/lava/v2/protocol/chainlib/extensionslib" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcInterfaceMessages" + "github.com/lavanet/lava/v3/protocol/chainlib/extensionslib" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/protocol/chaintracker/chain_tracker.go b/protocol/chaintracker/chain_tracker.go index 7fb2ec0e5f..9b70ba07c9 100644 --- a/protocol/chaintracker/chain_tracker.go +++ b/protocol/chaintracker/chain_tracker.go @@ -11,14 +11,14 @@ import ( "sync/atomic" "time" - rand "github.com/lavanet/lava/v2/utils/rand" + rand "github.com/lavanet/lava/v3/utils/rand" "github.com/improbable-eng/grpc-web/go/grpcweb" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/metrics" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/lavaslices" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/metrics" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/lavaslices" "golang.org/x/net/http2" "golang.org/x/net/http2/h2c" grpc "google.golang.org/grpc" diff --git a/protocol/chaintracker/chain_tracker_test.go b/protocol/chaintracker/chain_tracker_test.go index 598eb0730a..c0140af616 100644 --- a/protocol/chaintracker/chain_tracker_test.go +++ b/protocol/chaintracker/chain_tracker_test.go @@ -9,11 +9,11 @@ import ( "testing" "time" - chaintracker "github.com/lavanet/lava/v2/protocol/chaintracker" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/utils" - rand "github.com/lavanet/lava/v2/utils/rand" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + chaintracker "github.com/lavanet/lava/v3/protocol/chaintracker" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/utils" + rand "github.com/lavanet/lava/v3/utils/rand" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" ) diff --git a/protocol/chaintracker/config.go b/protocol/chaintracker/config.go index 344defdcec..b5e193cf8c 100644 --- a/protocol/chaintracker/config.go +++ b/protocol/chaintracker/config.go @@ -3,7 +3,7 @@ package chaintracker import ( "time" - "github.com/lavanet/lava/v2/protocol/metrics" + "github.com/lavanet/lava/v3/protocol/metrics" ) const ( diff --git a/protocol/chaintracker/wanted_block_data.go b/protocol/chaintracker/wanted_block_data.go index 082a3b2d2c..e44e87b65f 100644 --- a/protocol/chaintracker/wanted_block_data.go +++ b/protocol/chaintracker/wanted_block_data.go @@ -3,7 +3,7 @@ package chaintracker import ( fmt "fmt" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) type BlockRange struct { diff --git a/protocol/chaintracker/wanted_block_data_test.go b/protocol/chaintracker/wanted_block_data_test.go index 7af8df060f..51eefd4560 100644 --- a/protocol/chaintracker/wanted_block_data_test.go +++ b/protocol/chaintracker/wanted_block_data_test.go @@ -4,8 +4,8 @@ import ( fmt "fmt" "testing" - chaintracker "github.com/lavanet/lava/v2/protocol/chaintracker" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + chaintracker "github.com/lavanet/lava/v3/protocol/chaintracker" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" ) diff --git a/protocol/common/cobra_common.go b/protocol/common/cobra_common.go index bd52d3a262..c8d4615d24 100644 --- a/protocol/common/cobra_common.go +++ b/protocol/common/cobra_common.go @@ -3,7 +3,7 @@ package common import ( "time" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" "github.com/spf13/cobra" "github.com/spf13/viper" ) diff --git a/protocol/common/collections.go b/protocol/common/collections.go index 427ccc66d5..a1e31e2839 100644 --- a/protocol/common/collections.go +++ b/protocol/common/collections.go @@ -1,7 +1,7 @@ package common import ( - spectypes "github.com/lavanet/lava/v2/x/spec/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) const ( diff --git a/protocol/common/endpoints.go b/protocol/common/endpoints.go index a5dce43136..afd4fe9256 100644 --- a/protocol/common/endpoints.go +++ b/protocol/common/endpoints.go @@ -8,10 +8,10 @@ import ( "time" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/sigs" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/sigs" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "google.golang.org/grpc/metadata" "google.golang.org/grpc/peer" ) diff --git a/protocol/common/safe_channel_sender.go b/protocol/common/safe_channel_sender.go index c8dcb3ea49..368ee395c4 100644 --- a/protocol/common/safe_channel_sender.go +++ b/protocol/common/safe_channel_sender.go @@ -5,7 +5,7 @@ import ( "sync" "time" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" ) const retryAttemptsForChannelWrite = 10 diff --git a/protocol/common/tx_parsing.go b/protocol/common/tx_parsing.go index 6b04d3f2ca..b62f96a837 100644 --- a/protocol/common/tx_parsing.go +++ b/protocol/common/tx_parsing.go @@ -6,7 +6,7 @@ import ( "strconv" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" "github.com/spf13/pflag" ) diff --git a/protocol/integration/mocks.go b/protocol/integration/mocks.go index 5790a09c17..bfb4698acb 100644 --- a/protocol/integration/mocks.go +++ b/protocol/integration/mocks.go @@ -9,18 +9,18 @@ import ( "sync" "time" - "github.com/lavanet/lava/v2/protocol/chaintracker" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavaprotocol/finalizationconsensus" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/rpcprovider" - "github.com/lavanet/lava/v2/protocol/rpcprovider/reliabilitymanager" - "github.com/lavanet/lava/v2/protocol/statetracker/updaters" - "github.com/lavanet/lava/v2/utils" - conflicttypes "github.com/lavanet/lava/v2/x/conflict/types" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - plantypes "github.com/lavanet/lava/v2/x/plans/types" - protocoltypes "github.com/lavanet/lava/v2/x/protocol/types" + "github.com/lavanet/lava/v3/protocol/chaintracker" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavaprotocol/finalizationconsensus" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/rpcprovider" + "github.com/lavanet/lava/v3/protocol/rpcprovider/reliabilitymanager" + "github.com/lavanet/lava/v3/protocol/statetracker/updaters" + "github.com/lavanet/lava/v3/utils" + conflicttypes "github.com/lavanet/lava/v3/x/conflict/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + plantypes "github.com/lavanet/lava/v3/x/plans/types" + protocoltypes "github.com/lavanet/lava/v3/x/protocol/types" ) type TxConflictDetectionMock func(context.Context, *conflicttypes.FinalizationConflict, *conflicttypes.ResponseConflict, common.ConflictHandlerInterface) error diff --git a/protocol/integration/protocol_test.go b/protocol/integration/protocol_test.go index e53463335a..c3318de15c 100644 --- a/protocol/integration/protocol_test.go +++ b/protocol/integration/protocol_test.go @@ -15,26 +15,26 @@ import ( "time" "github.com/gorilla/websocket" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcInterfaceMessages" - "github.com/lavanet/lava/v2/protocol/chaintracker" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavaprotocol/finalizationconsensus" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/metrics" - "github.com/lavanet/lava/v2/protocol/provideroptimizer" - "github.com/lavanet/lava/v2/protocol/rpcconsumer" - "github.com/lavanet/lava/v2/protocol/rpcprovider" - "github.com/lavanet/lava/v2/protocol/rpcprovider/reliabilitymanager" - "github.com/lavanet/lava/v2/protocol/rpcprovider/rewardserver" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/rand" - "github.com/lavanet/lava/v2/utils/sigs" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcInterfaceMessages" + "github.com/lavanet/lava/v3/protocol/chaintracker" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavaprotocol/finalizationconsensus" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/metrics" + "github.com/lavanet/lava/v3/protocol/provideroptimizer" + "github.com/lavanet/lava/v3/protocol/rpcconsumer" + "github.com/lavanet/lava/v3/protocol/rpcprovider" + "github.com/lavanet/lava/v3/protocol/rpcprovider/reliabilitymanager" + "github.com/lavanet/lava/v3/protocol/rpcprovider/rewardserver" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/rand" + "github.com/lavanet/lava/v3/utils/sigs" "github.com/stretchr/testify/require" "google.golang.org/grpc/connectivity" - conflicttypes "github.com/lavanet/lava/v2/x/conflict/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + conflicttypes "github.com/lavanet/lava/v3/x/conflict/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) var ( diff --git a/protocol/lavaprotocol/finalizationconsensus/finalization_consensus.go b/protocol/lavaprotocol/finalizationconsensus/finalization_consensus.go index bc7b51b361..bd9ce1440c 100644 --- a/protocol/lavaprotocol/finalizationconsensus/finalization_consensus.go +++ b/protocol/lavaprotocol/finalizationconsensus/finalization_consensus.go @@ -10,11 +10,11 @@ import ( sdkerrors "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/lavaslices" - conflicttypes "github.com/lavanet/lava/v2/x/conflict/types" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/lavaslices" + conflicttypes "github.com/lavanet/lava/v3/x/conflict/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" ) type ChainBlockStatsGetter interface { diff --git a/protocol/lavaprotocol/finalizationconsensus/finalization_consensus_test.go b/protocol/lavaprotocol/finalizationconsensus/finalization_consensus_test.go index 2e70775818..a39390979a 100644 --- a/protocol/lavaprotocol/finalizationconsensus/finalization_consensus_test.go +++ b/protocol/lavaprotocol/finalizationconsensus/finalization_consensus_test.go @@ -9,15 +9,15 @@ import ( "testing" "time" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/rand" - "github.com/lavanet/lava/v2/utils/sigs" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/rand" + "github.com/lavanet/lava/v3/utils/sigs" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/protocol/lavasession" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/protocol/lavasession" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" ) diff --git a/protocol/lavaprotocol/finalizationverification/finalization_verification.go b/protocol/lavaprotocol/finalizationverification/finalization_verification.go index fad9c601b4..9b2ac088b3 100644 --- a/protocol/lavaprotocol/finalizationverification/finalization_verification.go +++ b/protocol/lavaprotocol/finalizationverification/finalization_verification.go @@ -5,15 +5,15 @@ import ( "errors" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavaprotocol/protocolerrors" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/lavaslices" - "github.com/lavanet/lava/v2/utils/sigs" - conflicttypes "github.com/lavanet/lava/v2/x/conflict/types" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavaprotocol/protocolerrors" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/lavaslices" + "github.com/lavanet/lava/v3/utils/sigs" + conflicttypes "github.com/lavanet/lava/v3/x/conflict/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) func VerifyFinalizationData(reply *pairingtypes.RelayReply, relayRequest *pairingtypes.RelayRequest, providerAddr string, consumerAcc sdk.AccAddress, latestSessionBlock, blockDistanceForFinalization, blocksInFinalizationProof int64) (finalizedBlocks map[int64]string, errRet error) { diff --git a/protocol/lavaprotocol/relay_retries_manager.go b/protocol/lavaprotocol/relay_retries_manager.go index 31be090b67..5a1c852189 100644 --- a/protocol/lavaprotocol/relay_retries_manager.go +++ b/protocol/lavaprotocol/relay_retries_manager.go @@ -4,7 +4,7 @@ import ( "time" "github.com/dgraph-io/ristretto" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" ) // entries ttl duration diff --git a/protocol/lavaprotocol/request_builder.go b/protocol/lavaprotocol/request_builder.go index 69a44f0a94..ed19cab900 100644 --- a/protocol/lavaprotocol/request_builder.go +++ b/protocol/lavaprotocol/request_builder.go @@ -6,14 +6,14 @@ import ( "encoding/binary" "github.com/btcsuite/btcd/btcec/v2" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/sigs" - conflicttypes "github.com/lavanet/lava/v2/x/conflict/types" - conflictconstruct "github.com/lavanet/lava/v2/x/conflict/types/construct" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/sigs" + conflicttypes "github.com/lavanet/lava/v3/x/conflict/types" + conflictconstruct "github.com/lavanet/lava/v3/x/conflict/types/construct" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) type HeaderFilterer interface { diff --git a/protocol/lavaprotocol/response_builder.go b/protocol/lavaprotocol/response_builder.go index d969bccd07..aade93b90a 100644 --- a/protocol/lavaprotocol/response_builder.go +++ b/protocol/lavaprotocol/response_builder.go @@ -6,12 +6,12 @@ import ( btcSecp256k1 "github.com/btcsuite/btcd/btcec/v2" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcInterfaceMessages" - "github.com/lavanet/lava/v2/protocol/lavaprotocol/protocolerrors" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/sigs" - conflicttypes "github.com/lavanet/lava/v2/x/conflict/types" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcInterfaceMessages" + "github.com/lavanet/lava/v3/protocol/lavaprotocol/protocolerrors" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/sigs" + conflicttypes "github.com/lavanet/lava/v3/x/conflict/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" ) func CraftEmptyRPCResponseFromGenericMessage(message rpcInterfaceMessages.GenericMessage) (*rpcInterfaceMessages.RPCResponse, error) { diff --git a/protocol/lavaprotocol/response_builder_test.go b/protocol/lavaprotocol/response_builder_test.go index c433eb2224..84fa93b0a8 100644 --- a/protocol/lavaprotocol/response_builder_test.go +++ b/protocol/lavaprotocol/response_builder_test.go @@ -6,11 +6,11 @@ import ( "encoding/json" "testing" - "github.com/lavanet/lava/v2/protocol/lavaprotocol/finalizationverification" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/utils/sigs" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/lavaprotocol/finalizationverification" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/utils/sigs" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" ) diff --git a/protocol/lavaprotocol/reuqest_builder_test.go b/protocol/lavaprotocol/reuqest_builder_test.go index f60a11d462..3cd061e6da 100644 --- a/protocol/lavaprotocol/reuqest_builder_test.go +++ b/protocol/lavaprotocol/reuqest_builder_test.go @@ -4,9 +4,9 @@ import ( "context" "testing" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/utils/sigs" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/utils/sigs" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" "github.com/stretchr/testify/require" ) diff --git a/protocol/lavasession/active_subscription_provider_storage.go b/protocol/lavasession/active_subscription_provider_storage.go index 65f0520cff..3849b7bbdf 100644 --- a/protocol/lavasession/active_subscription_provider_storage.go +++ b/protocol/lavasession/active_subscription_provider_storage.go @@ -3,7 +3,7 @@ package lavasession import ( "sync" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" ) // stores all providers that are currently used to stream subscriptions. diff --git a/protocol/lavasession/common.go b/protocol/lavasession/common.go index 5f5dbed492..9d5845a790 100644 --- a/protocol/lavasession/common.go +++ b/protocol/lavasession/common.go @@ -17,10 +17,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/gogo/status" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/pairing/keeper/scores" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/pairing/keeper/scores" + planstypes "github.com/lavanet/lava/v3/x/plans/types" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/credentials" diff --git a/protocol/lavasession/common_test.go b/protocol/lavasession/common_test.go index c16280118d..660ef08069 100644 --- a/protocol/lavasession/common_test.go +++ b/protocol/lavasession/common_test.go @@ -10,9 +10,9 @@ import ( "testing" "time" - "github.com/lavanet/lava/v2/utils" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/utils" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" "github.com/stretchr/testify/require" "google.golang.org/grpc" "google.golang.org/grpc/credentials" diff --git a/protocol/lavasession/consumer_session_manager.go b/protocol/lavasession/consumer_session_manager.go index 397c1301f8..fca5f44afb 100644 --- a/protocol/lavasession/consumer_session_manager.go +++ b/protocol/lavasession/consumer_session_manager.go @@ -10,13 +10,13 @@ import ( "time" sdkerrors "cosmossdk.io/errors" - "github.com/lavanet/lava/v2/protocol/common" - metrics "github.com/lavanet/lava/v2/protocol/metrics" - "github.com/lavanet/lava/v2/protocol/provideroptimizer" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/rand" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/common" + metrics "github.com/lavanet/lava/v3/protocol/metrics" + "github.com/lavanet/lava/v3/protocol/provideroptimizer" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/rand" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "google.golang.org/grpc" "google.golang.org/grpc/metadata" ) diff --git a/protocol/lavasession/consumer_session_manager_test.go b/protocol/lavasession/consumer_session_manager_test.go index ad44b5010e..b22f0c2e61 100644 --- a/protocol/lavasession/consumer_session_manager_test.go +++ b/protocol/lavasession/consumer_session_manager_test.go @@ -12,13 +12,13 @@ import ( "testing" "time" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/provideroptimizer" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/lavaslices" - "github.com/lavanet/lava/v2/utils/rand" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/provideroptimizer" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/lavaslices" + "github.com/lavanet/lava/v3/utils/rand" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" "google.golang.org/grpc" "google.golang.org/grpc/credentials" diff --git a/protocol/lavasession/consumer_types.go b/protocol/lavasession/consumer_types.go index 77a50ca685..ef9b61e829 100644 --- a/protocol/lavasession/consumer_types.go +++ b/protocol/lavasession/consumer_types.go @@ -8,11 +8,11 @@ import ( "time" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/protocol/provideroptimizer" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/rand" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/protocol/provideroptimizer" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/rand" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" "google.golang.org/grpc" "google.golang.org/grpc/connectivity" ) diff --git a/protocol/lavasession/end_to_end_lavasession_test.go b/protocol/lavasession/end_to_end_lavasession_test.go index 393fa6f416..0b434855b6 100644 --- a/protocol/lavasession/end_to_end_lavasession_test.go +++ b/protocol/lavasession/end_to_end_lavasession_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/lavanet/lava/v2/protocol/common" + "github.com/lavanet/lava/v3/protocol/common" "github.com/stretchr/testify/require" ) diff --git a/protocol/lavasession/provider_session_manager.go b/protocol/lavasession/provider_session_manager.go index cc805168b4..2050400202 100644 --- a/protocol/lavasession/provider_session_manager.go +++ b/protocol/lavasession/provider_session_manager.go @@ -5,9 +5,9 @@ import ( "sync" "sync/atomic" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/lavaslices" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/lavaslices" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" ) type ProviderSessionManager struct { diff --git a/protocol/lavasession/provider_session_manager_test.go b/protocol/lavasession/provider_session_manager_test.go index 16d4efb9d6..aa53a57114 100644 --- a/protocol/lavasession/provider_session_manager_test.go +++ b/protocol/lavasession/provider_session_manager_test.go @@ -7,10 +7,10 @@ import ( "testing" "time" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/rand" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/rand" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" "github.com/stretchr/testify/require" ) diff --git a/protocol/lavasession/provider_types.go b/protocol/lavasession/provider_types.go index df9dcc7634..a0576f106a 100644 --- a/protocol/lavasession/provider_types.go +++ b/protocol/lavasession/provider_types.go @@ -7,9 +7,9 @@ import ( "sync" "sync/atomic" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcclient" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/utils" ) type ProviderSessionsEpochData struct { diff --git a/protocol/lavasession/reported_providers.go b/protocol/lavasession/reported_providers.go index 25d7efb9de..5164670d44 100644 --- a/protocol/lavasession/reported_providers.go +++ b/protocol/lavasession/reported_providers.go @@ -4,9 +4,9 @@ import ( "sync" "time" - metrics "github.com/lavanet/lava/v2/protocol/metrics" - "github.com/lavanet/lava/v2/utils" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + metrics "github.com/lavanet/lava/v3/protocol/metrics" + "github.com/lavanet/lava/v3/utils" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" ) const ( diff --git a/protocol/lavasession/single_consumer_session.go b/protocol/lavasession/single_consumer_session.go index 92d698ed56..7aa0dc1304 100644 --- a/protocol/lavasession/single_consumer_session.go +++ b/protocol/lavasession/single_consumer_session.go @@ -7,8 +7,8 @@ import ( "time" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" ) type SingleConsumerSession struct { diff --git a/protocol/lavasession/single_provider_session.go b/protocol/lavasession/single_provider_session.go index 256cd94e2b..3ea299d3c3 100644 --- a/protocol/lavasession/single_provider_session.go +++ b/protocol/lavasession/single_provider_session.go @@ -6,7 +6,7 @@ import ( "sync/atomic" "time" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" ) const ( diff --git a/protocol/lavasession/used_providers.go b/protocol/lavasession/used_providers.go index b1d72de953..caf3c78d8e 100644 --- a/protocol/lavasession/used_providers.go +++ b/protocol/lavasession/used_providers.go @@ -5,7 +5,7 @@ import ( "sync" "time" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" ) const MaximumNumberOfSelectionLockAttempts = 500 diff --git a/protocol/loadtest/testing.go b/protocol/loadtest/testing.go index 2b1ddd6b54..f067fc0001 100644 --- a/protocol/loadtest/testing.go +++ b/protocol/loadtest/testing.go @@ -13,7 +13,7 @@ import ( "time" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" "github.com/spf13/cobra" "github.com/spf13/viper" ) diff --git a/protocol/metrics/consumer_referrer_client.go b/protocol/metrics/consumer_referrer_client.go index da4be0d72b..dffb098a64 100644 --- a/protocol/metrics/consumer_referrer_client.go +++ b/protocol/metrics/consumer_referrer_client.go @@ -6,7 +6,7 @@ import ( "github.com/goccy/go-json" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" ) const ( diff --git a/protocol/metrics/consumer_relayserver_client.go b/protocol/metrics/consumer_relayserver_client.go index be74610f21..649270abec 100644 --- a/protocol/metrics/consumer_relayserver_client.go +++ b/protocol/metrics/consumer_relayserver_client.go @@ -10,7 +10,7 @@ import ( "github.com/goccy/go-json" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" ) type ConsumerRelayServerClient struct { diff --git a/protocol/metrics/consumer_reports_client.go b/protocol/metrics/consumer_reports_client.go index e575596295..0694b488e1 100644 --- a/protocol/metrics/consumer_reports_client.go +++ b/protocol/metrics/consumer_reports_client.go @@ -6,8 +6,8 @@ import ( "github.com/goccy/go-json" - "github.com/lavanet/lava/v2/utils" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" ) const ( diff --git a/protocol/metrics/consumer_reports_client_test.go b/protocol/metrics/consumer_reports_client_test.go index ca86c9c1fc..af9da90753 100644 --- a/protocol/metrics/consumer_reports_client_test.go +++ b/protocol/metrics/consumer_reports_client_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" "github.com/stretchr/testify/require" ) diff --git a/protocol/metrics/health_metrics.go b/protocol/metrics/health_metrics.go index 9643666f4c..a5d614a913 100644 --- a/protocol/metrics/health_metrics.go +++ b/protocol/metrics/health_metrics.go @@ -3,7 +3,7 @@ package metrics import ( "net/http" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp" ) diff --git a/protocol/metrics/metricsService.go b/protocol/metrics/metricsService.go index 5a69987564..e5fc41b37a 100644 --- a/protocol/metrics/metricsService.go +++ b/protocol/metrics/metricsService.go @@ -9,7 +9,7 @@ import ( "github.com/goccy/go-json" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" ) type AggregatedMetric struct { diff --git a/protocol/metrics/metrics_consumer_manager.go b/protocol/metrics/metrics_consumer_manager.go index 24a6fd9eda..2f3337e432 100644 --- a/protocol/metrics/metrics_consumer_manager.go +++ b/protocol/metrics/metrics_consumer_manager.go @@ -7,8 +7,8 @@ import ( "sync/atomic" "time" - "github.com/lavanet/lava/v2/utils" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp" ) diff --git a/protocol/metrics/metrics_provider.go b/protocol/metrics/metrics_provider.go index 38aae4f2ae..b5c3f0761b 100644 --- a/protocol/metrics/metrics_provider.go +++ b/protocol/metrics/metrics_provider.go @@ -3,7 +3,7 @@ package metrics import ( "sync" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" "github.com/prometheus/client_golang/prometheus" ) diff --git a/protocol/metrics/metrics_provider_manager.go b/protocol/metrics/metrics_provider_manager.go index 420f31f897..b71b90e664 100644 --- a/protocol/metrics/metrics_provider_manager.go +++ b/protocol/metrics/metrics_provider_manager.go @@ -7,8 +7,8 @@ import ( "sync/atomic" "time" - "github.com/lavanet/lava/v2/utils" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/utils" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp" ) diff --git a/protocol/metrics/queue_sender.go b/protocol/metrics/queue_sender.go index ad311f9eeb..8a266112a0 100644 --- a/protocol/metrics/queue_sender.go +++ b/protocol/metrics/queue_sender.go @@ -11,7 +11,7 @@ import ( "github.com/goccy/go-json" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" ) type QueueSender struct { diff --git a/protocol/metrics/relays_monitor.go b/protocol/metrics/relays_monitor.go index 09c6545995..542da952cb 100644 --- a/protocol/metrics/relays_monitor.go +++ b/protocol/metrics/relays_monitor.go @@ -6,7 +6,7 @@ import ( "sync/atomic" "time" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" ) type RelaysMonitor struct { diff --git a/protocol/metrics/rpcconsumerlogs.go b/protocol/metrics/rpcconsumerlogs.go index 74a066dffa..606ce8f114 100644 --- a/protocol/metrics/rpcconsumerlogs.go +++ b/protocol/metrics/rpcconsumerlogs.go @@ -12,9 +12,9 @@ import ( "github.com/gofiber/fiber/v2" "github.com/gofiber/websocket/v2" "github.com/joho/godotenv" - "github.com/lavanet/lava/v2/protocol/parser" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/rand" + "github.com/lavanet/lava/v3/protocol/parser" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/rand" "github.com/newrelic/go-agent/v3/newrelic" "google.golang.org/grpc/metadata" ) diff --git a/protocol/metrics/rpcconsumerlogs_test.go b/protocol/metrics/rpcconsumerlogs_test.go index a8482eb93c..ae3d96d260 100644 --- a/protocol/metrics/rpcconsumerlogs_test.go +++ b/protocol/metrics/rpcconsumerlogs_test.go @@ -9,7 +9,7 @@ import ( "github.com/gofiber/fiber/v2" "github.com/gofiber/websocket/v2" websocket2 "github.com/gorilla/websocket" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" "github.com/stretchr/testify/assert" ) diff --git a/protocol/monitoring/alerting.go b/protocol/monitoring/alerting.go index 6cf686100f..4ed3c256e4 100644 --- a/protocol/monitoring/alerting.go +++ b/protocol/monitoring/alerting.go @@ -11,8 +11,8 @@ import ( "github.com/goccy/go-json" "github.com/dgraph-io/ristretto" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/sigs" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/sigs" ) const ( diff --git a/protocol/monitoring/health.go b/protocol/monitoring/health.go index 64209c8531..e801b9bdf3 100644 --- a/protocol/monitoring/health.go +++ b/protocol/monitoring/health.go @@ -11,20 +11,20 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/gogo/status" - lvutil "github.com/lavanet/lava/v2/ecosystem/lavavisor/pkg/util" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavaprotocol/protocolerrors" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/rpcprovider" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/rand" - dualstakingtypes "github.com/lavanet/lava/v2/x/dualstaking/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - protocoltypes "github.com/lavanet/lava/v2/x/protocol/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" - subscriptiontypes "github.com/lavanet/lava/v2/x/subscription/types" + lvutil "github.com/lavanet/lava/v3/ecosystem/lavavisor/pkg/util" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavaprotocol/protocolerrors" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/rpcprovider" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/rand" + dualstakingtypes "github.com/lavanet/lava/v3/x/dualstaking/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + protocoltypes "github.com/lavanet/lava/v3/x/protocol/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" + subscriptiontypes "github.com/lavanet/lava/v3/x/subscription/types" "github.com/spf13/viper" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/protocol/monitoring/health_cmd.go b/protocol/monitoring/health_cmd.go index 97da35b1a0..6eee354d89 100644 --- a/protocol/monitoring/health_cmd.go +++ b/protocol/monitoring/health_cmd.go @@ -13,12 +13,12 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/config" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/app" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/metrics" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/rand" + "github.com/lavanet/lava/v3/app" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/metrics" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/rand" "github.com/spf13/cobra" "github.com/spf13/viper" ) @@ -68,7 +68,7 @@ func CreateHealthCobraCommand() *cobra.Command { Short: `start monitoring the health of the protocol processes defined in the config`, Long: `config_file if a path to a yml file`, Example: `health config/health_examples/health_config.yml -example health config files can be found in https://github.com/lavanet/lava/v2/blob/main/config/health_examples +example health config files can be found in https://github.com/lavanet/lava/blob/main/config/health_examples subscription_addresses: - lava@... - lava@... diff --git a/protocol/monitoring/health_results.go b/protocol/monitoring/health_results.go index 22bd452da2..e6e6671f74 100644 --- a/protocol/monitoring/health_results.go +++ b/protocol/monitoring/health_results.go @@ -4,9 +4,9 @@ import ( "sync" "time" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/utils/lavaslices" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/utils/lavaslices" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) type HealthResults struct { diff --git a/protocol/parser/parser.go b/protocol/parser/parser.go index 7921dd3de8..19cff573f5 100644 --- a/protocol/parser/parser.go +++ b/protocol/parser/parser.go @@ -11,9 +11,9 @@ import ( "github.com/itchyny/gojq" sdkerrors "cosmossdk.io/errors" - "github.com/lavanet/lava/v2/utils" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/utils" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) const ( diff --git a/protocol/parser/parser_test.go b/protocol/parser/parser_test.go index c08db60dd8..b90e2cd226 100644 --- a/protocol/parser/parser_test.go +++ b/protocol/parser/parser_test.go @@ -6,8 +6,8 @@ import ( "reflect" "testing" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" ) diff --git a/protocol/performance/cache.go b/protocol/performance/cache.go index 0150e8b5f1..172344e029 100644 --- a/protocol/performance/cache.go +++ b/protocol/performance/cache.go @@ -4,8 +4,8 @@ import ( "context" "time" - "github.com/lavanet/lava/v2/protocol/lavasession" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/protocol/lavasession" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" ) type Cache struct { diff --git a/protocol/performance/connection/connection_cmd.go b/protocol/performance/connection/connection_cmd.go index f79cd10ce8..b76b94b83a 100644 --- a/protocol/performance/connection/connection_cmd.go +++ b/protocol/performance/connection/connection_cmd.go @@ -9,10 +9,10 @@ import ( "time" "github.com/improbable-eng/grpc-web/go/grpcweb" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/utils" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/utils" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" "github.com/spf13/cobra" "github.com/spf13/viper" "golang.org/x/net/http2" diff --git a/protocol/performance/connection/prober.go b/protocol/performance/connection/prober.go index 08b07ea090..e5abadba4c 100644 --- a/protocol/performance/connection/prober.go +++ b/protocol/performance/connection/prober.go @@ -5,9 +5,9 @@ import ( "fmt" "math/rand" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/utils" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/utils" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" "google.golang.org/grpc" "google.golang.org/grpc/metadata" ) diff --git a/protocol/performance/connection/server.go b/protocol/performance/connection/server.go index 895a152cd7..4349ebbf9a 100644 --- a/protocol/performance/connection/server.go +++ b/protocol/performance/connection/server.go @@ -4,9 +4,9 @@ import ( "context" "fmt" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/utils" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/utils" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" ) type RelayerConnectionServer struct { diff --git a/protocol/performance/pprofServer.go b/protocol/performance/pprofServer.go index 4c555003eb..95b786d059 100644 --- a/protocol/performance/pprofServer.go +++ b/protocol/performance/pprofServer.go @@ -5,7 +5,7 @@ import ( "github.com/gofiber/fiber/v2" fiberpprof "github.com/gofiber/fiber/v2/middleware/pprof" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" ) const ( diff --git a/protocol/performance/validators/validators.go b/protocol/performance/validators/validators.go index 02a05534fc..ba406ec77e 100644 --- a/protocol/performance/validators/validators.go +++ b/protocol/performance/validators/validators.go @@ -21,9 +21,9 @@ import ( "github.com/cosmos/cosmos-sdk/version" slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/lavanet/lava/v2/app" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/rand" + "github.com/lavanet/lava/v3/app" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/rand" "github.com/spf13/cobra" "github.com/spf13/viper" ) diff --git a/protocol/provideroptimizer/provider_optimizer.go b/protocol/provideroptimizer/provider_optimizer.go index b7cfd2413a..6936c87fb5 100644 --- a/protocol/provideroptimizer/provider_optimizer.go +++ b/protocol/provideroptimizer/provider_optimizer.go @@ -8,12 +8,12 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/dgraph-io/ristretto" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/lavaslices" - "github.com/lavanet/lava/v2/utils/rand" - "github.com/lavanet/lava/v2/utils/score" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/lavaslices" + "github.com/lavanet/lava/v3/utils/rand" + "github.com/lavanet/lava/v3/utils/score" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" "gonum.org/v1/gonum/mathext" ) diff --git a/protocol/provideroptimizer/provider_optimizer_test.go b/protocol/provideroptimizer/provider_optimizer_test.go index e2f4b5974d..31a4df2f53 100644 --- a/protocol/provideroptimizer/provider_optimizer_test.go +++ b/protocol/provideroptimizer/provider_optimizer_test.go @@ -7,9 +7,9 @@ import ( "testing" "time" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/rand" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/rand" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" ) diff --git a/protocol/rpcconsumer/consumer_consistency.go b/protocol/rpcconsumer/consumer_consistency.go index 09fbcaa2c5..b1d8ba171f 100644 --- a/protocol/rpcconsumer/consumer_consistency.go +++ b/protocol/rpcconsumer/consumer_consistency.go @@ -4,8 +4,8 @@ import ( "time" "github.com/dgraph-io/ristretto" - common "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/utils" + common "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/utils" ) // this class handles seen block values in requests diff --git a/protocol/rpcconsumer/consumer_consistency_test.go b/protocol/rpcconsumer/consumer_consistency_test.go index 82263e12df..3fdb3cd9fc 100644 --- a/protocol/rpcconsumer/consumer_consistency_test.go +++ b/protocol/rpcconsumer/consumer_consistency_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - common "github.com/lavanet/lava/v2/protocol/common" + common "github.com/lavanet/lava/v3/protocol/common" "github.com/stretchr/testify/require" ) diff --git a/protocol/rpcconsumer/consumer_state_tracker_mock.go b/protocol/rpcconsumer/consumer_state_tracker_mock.go index 23d477b995..3e07da7bc5 100644 --- a/protocol/rpcconsumer/consumer_state_tracker_mock.go +++ b/protocol/rpcconsumer/consumer_state_tracker_mock.go @@ -13,13 +13,13 @@ import ( context "context" reflect "reflect" - common "github.com/lavanet/lava/v2/protocol/common" - finalizationconsensus "github.com/lavanet/lava/v2/protocol/lavaprotocol/finalizationconsensus" - lavasession "github.com/lavanet/lava/v2/protocol/lavasession" - updaters "github.com/lavanet/lava/v2/protocol/statetracker/updaters" - types "github.com/lavanet/lava/v2/x/conflict/types" - types0 "github.com/lavanet/lava/v2/x/plans/types" - types1 "github.com/lavanet/lava/v2/x/protocol/types" + common "github.com/lavanet/lava/v3/protocol/common" + finalizationconsensus "github.com/lavanet/lava/v3/protocol/lavaprotocol/finalizationconsensus" + lavasession "github.com/lavanet/lava/v3/protocol/lavasession" + updaters "github.com/lavanet/lava/v3/protocol/statetracker/updaters" + types "github.com/lavanet/lava/v3/x/conflict/types" + types0 "github.com/lavanet/lava/v3/x/plans/types" + types1 "github.com/lavanet/lava/v3/x/protocol/types" gomock "go.uber.org/mock/gomock" ) diff --git a/protocol/rpcconsumer/policies_map.go b/protocol/rpcconsumer/policies_map.go index c4a31766ca..543b71330b 100644 --- a/protocol/rpcconsumer/policies_map.go +++ b/protocol/rpcconsumer/policies_map.go @@ -3,8 +3,8 @@ package rpcconsumer import ( "sync" - "github.com/lavanet/lava/v2/protocol/statetracker/updaters" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/protocol/statetracker/updaters" + "github.com/lavanet/lava/v3/utils" ) type syncMapPolicyUpdaters struct { diff --git a/protocol/rpcconsumer/relay_errors.go b/protocol/rpcconsumer/relay_errors.go index 174b01bba5..fabe404b72 100644 --- a/protocol/rpcconsumer/relay_errors.go +++ b/protocol/rpcconsumer/relay_errors.go @@ -6,8 +6,8 @@ import ( "strconv" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/utils" ) type RelayErrors struct { diff --git a/protocol/rpcconsumer/relay_errors_test.go b/protocol/rpcconsumer/relay_errors_test.go index 0f26ee3857..53bd41e134 100644 --- a/protocol/rpcconsumer/relay_errors_test.go +++ b/protocol/rpcconsumer/relay_errors_test.go @@ -5,7 +5,7 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/protocol/common" + "github.com/lavanet/lava/v3/protocol/common" "github.com/stretchr/testify/require" ) diff --git a/protocol/rpcconsumer/relay_processor.go b/protocol/rpcconsumer/relay_processor.go index 65fffc4637..3eb50e49b7 100644 --- a/protocol/rpcconsumer/relay_processor.go +++ b/protocol/rpcconsumer/relay_processor.go @@ -11,11 +11,11 @@ import ( "sync/atomic" sdktypes "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavaprotocol" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavaprotocol" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/utils" ) type Selection int diff --git a/protocol/rpcconsumer/relay_processor_test.go b/protocol/rpcconsumer/relay_processor_test.go index 847001836f..8a27219861 100644 --- a/protocol/rpcconsumer/relay_processor_test.go +++ b/protocol/rpcconsumer/relay_processor_test.go @@ -7,13 +7,13 @@ import ( "testing" "time" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/protocol/chainlib/extensionslib" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavaprotocol" - "github.com/lavanet/lava/v2/protocol/lavasession" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/protocol/chainlib/extensionslib" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavaprotocol" + "github.com/lavanet/lava/v3/protocol/lavasession" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" ) diff --git a/protocol/rpcconsumer/relayer_client_mock.go b/protocol/rpcconsumer/relayer_client_mock.go index 987cbf603b..a40e5f1565 100644 --- a/protocol/rpcconsumer/relayer_client_mock.go +++ b/protocol/rpcconsumer/relayer_client_mock.go @@ -13,7 +13,7 @@ import ( context "context" reflect "reflect" - types "github.com/lavanet/lava/v2/x/pairing/types" + types "github.com/lavanet/lava/v3/x/pairing/types" gomock "go.uber.org/mock/gomock" grpc "google.golang.org/grpc" metadata "google.golang.org/grpc/metadata" diff --git a/protocol/rpcconsumer/results_manager.go b/protocol/rpcconsumer/results_manager.go index 69f421f070..6664ba6b35 100644 --- a/protocol/rpcconsumer/results_manager.go +++ b/protocol/rpcconsumer/results_manager.go @@ -4,10 +4,10 @@ import ( "fmt" "sync" - "github.com/lavanet/lava/v2/protocol/chainlib" - common "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/utils" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib" + common "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/utils" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) type ResultsManager interface { diff --git a/protocol/rpcconsumer/rpcconsumer.go b/protocol/rpcconsumer/rpcconsumer.go index 231f90562e..cd5e9eb4e7 100644 --- a/protocol/rpcconsumer/rpcconsumer.go +++ b/protocol/rpcconsumer/rpcconsumer.go @@ -16,25 +16,25 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/app" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavaprotocol/finalizationconsensus" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/metrics" - "github.com/lavanet/lava/v2/protocol/performance" - "github.com/lavanet/lava/v2/protocol/provideroptimizer" - "github.com/lavanet/lava/v2/protocol/rpcprovider" - "github.com/lavanet/lava/v2/protocol/statetracker" - "github.com/lavanet/lava/v2/protocol/statetracker/updaters" - "github.com/lavanet/lava/v2/protocol/upgrade" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/rand" - "github.com/lavanet/lava/v2/utils/sigs" - conflicttypes "github.com/lavanet/lava/v2/x/conflict/types" - plantypes "github.com/lavanet/lava/v2/x/plans/types" - protocoltypes "github.com/lavanet/lava/v2/x/protocol/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/app" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavaprotocol/finalizationconsensus" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/metrics" + "github.com/lavanet/lava/v3/protocol/performance" + "github.com/lavanet/lava/v3/protocol/provideroptimizer" + "github.com/lavanet/lava/v3/protocol/rpcprovider" + "github.com/lavanet/lava/v3/protocol/statetracker" + "github.com/lavanet/lava/v3/protocol/statetracker/updaters" + "github.com/lavanet/lava/v3/protocol/upgrade" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/rand" + "github.com/lavanet/lava/v3/utils/sigs" + conflicttypes "github.com/lavanet/lava/v3/x/conflict/types" + plantypes "github.com/lavanet/lava/v3/x/plans/types" + protocoltypes "github.com/lavanet/lava/v3/x/protocol/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/spf13/cobra" "github.com/spf13/viper" ) diff --git a/protocol/rpcconsumer/rpcconsumer_server.go b/protocol/rpcconsumer/rpcconsumer_server.go index 80a0cf0637..c301e30764 100644 --- a/protocol/rpcconsumer/rpcconsumer_server.go +++ b/protocol/rpcconsumer/rpcconsumer_server.go @@ -14,25 +14,25 @@ import ( sdkerrors "cosmossdk.io/errors" "github.com/btcsuite/btcd/btcec/v2" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" - "github.com/lavanet/lava/v2/protocol/chainlib/extensionslib" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavaprotocol" - "github.com/lavanet/lava/v2/protocol/lavaprotocol/finalizationconsensus" - "github.com/lavanet/lava/v2/protocol/lavaprotocol/finalizationverification" - "github.com/lavanet/lava/v2/protocol/lavaprotocol/protocolerrors" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/metrics" - "github.com/lavanet/lava/v2/protocol/performance" - "github.com/lavanet/lava/v2/protocol/upgrade" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/protocopy" - "github.com/lavanet/lava/v2/utils/rand" - conflicttypes "github.com/lavanet/lava/v2/x/conflict/types" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - plantypes "github.com/lavanet/lava/v2/x/plans/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcclient" + "github.com/lavanet/lava/v3/protocol/chainlib/extensionslib" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavaprotocol" + "github.com/lavanet/lava/v3/protocol/lavaprotocol/finalizationconsensus" + "github.com/lavanet/lava/v3/protocol/lavaprotocol/finalizationverification" + "github.com/lavanet/lava/v3/protocol/lavaprotocol/protocolerrors" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/metrics" + "github.com/lavanet/lava/v3/protocol/performance" + "github.com/lavanet/lava/v3/protocol/upgrade" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/protocopy" + "github.com/lavanet/lava/v3/utils/rand" + conflicttypes "github.com/lavanet/lava/v3/x/conflict/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + plantypes "github.com/lavanet/lava/v3/x/plans/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "google.golang.org/grpc" "google.golang.org/grpc/metadata" ) diff --git a/protocol/rpcconsumer/rpcconsumer_server_test.go b/protocol/rpcconsumer/rpcconsumer_server_test.go index 91ddaf5e94..639e03cb5d 100644 --- a/protocol/rpcconsumer/rpcconsumer_server_test.go +++ b/protocol/rpcconsumer/rpcconsumer_server_test.go @@ -7,18 +7,18 @@ import ( btcSecp256k1 "github.com/btcsuite/btcd/btcec/v2" "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/protocol/chainlib/extensionslib" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavaprotocol/finalizationconsensus" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/metrics" - "github.com/lavanet/lava/v2/protocol/provideroptimizer" - "github.com/lavanet/lava/v2/utils/rand" - "github.com/lavanet/lava/v2/utils/sigs" - conflicttypes "github.com/lavanet/lava/v2/x/conflict/types" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/protocol/chainlib/extensionslib" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavaprotocol/finalizationconsensus" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/metrics" + "github.com/lavanet/lava/v3/protocol/provideroptimizer" + "github.com/lavanet/lava/v3/utils/rand" + "github.com/lavanet/lava/v3/utils/sigs" + conflicttypes "github.com/lavanet/lava/v3/x/conflict/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" grpc "google.golang.org/grpc" diff --git a/protocol/rpcconsumer/testing.go b/protocol/rpcconsumer/testing.go index 7560dd6b99..fffc60d214 100644 --- a/protocol/rpcconsumer/testing.go +++ b/protocol/rpcconsumer/testing.go @@ -10,15 +10,15 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/version" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy" - "github.com/lavanet/lava/v2/protocol/chaintracker" - commonlib "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/rpcprovider" - "github.com/lavanet/lava/v2/protocol/statetracker/updaters" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/rand" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy" + "github.com/lavanet/lava/v3/protocol/chaintracker" + commonlib "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/rpcprovider" + "github.com/lavanet/lava/v3/protocol/statetracker/updaters" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/rand" "github.com/spf13/cobra" "github.com/spf13/viper" ) diff --git a/protocol/rpcprovider/chain_tackers.go b/protocol/rpcprovider/chain_tackers.go index 39c49db789..95a43a5ea1 100644 --- a/protocol/rpcprovider/chain_tackers.go +++ b/protocol/rpcprovider/chain_tackers.go @@ -3,8 +3,8 @@ package rpcprovider import ( "sync" - "github.com/lavanet/lava/v2/protocol/chaintracker" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/protocol/chaintracker" + "github.com/lavanet/lava/v3/utils" ) type ChainTrackers struct { diff --git a/protocol/rpcprovider/cors_test.go b/protocol/rpcprovider/cors_test.go index 69f4e16e3f..a1dc460c2b 100644 --- a/protocol/rpcprovider/cors_test.go +++ b/protocol/rpcprovider/cors_test.go @@ -16,7 +16,7 @@ import ( "testing" "time" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" "github.com/stretchr/testify/require" ) diff --git a/protocol/rpcprovider/provider_listener.go b/protocol/rpcprovider/provider_listener.go index 65a7ccb358..30eb0cda62 100644 --- a/protocol/rpcprovider/provider_listener.go +++ b/protocol/rpcprovider/provider_listener.go @@ -10,12 +10,12 @@ import ( "github.com/gogo/status" "github.com/improbable-eng/grpc-web/go/grpcweb" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavaprotocol/protocolerrors" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/utils" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavaprotocol/protocolerrors" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/utils" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" "golang.org/x/net/http2" "golang.org/x/net/http2/h2c" grpc "google.golang.org/grpc" diff --git a/protocol/rpcprovider/provider_listener_mock.go b/protocol/rpcprovider/provider_listener_mock.go index 504a056858..504626fd03 100644 --- a/protocol/rpcprovider/provider_listener_mock.go +++ b/protocol/rpcprovider/provider_listener_mock.go @@ -12,7 +12,7 @@ import ( context "context" reflect "reflect" - types "github.com/lavanet/lava/v2/x/pairing/types" + types "github.com/lavanet/lava/v3/x/pairing/types" gomock "go.uber.org/mock/gomock" ) diff --git a/protocol/rpcprovider/provider_state_machine.go b/protocol/rpcprovider/provider_state_machine.go index 44a126af1d..ad2ca35e06 100644 --- a/protocol/rpcprovider/provider_state_machine.go +++ b/protocol/rpcprovider/provider_state_machine.go @@ -4,12 +4,12 @@ import ( "context" "time" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavaprotocol" - "github.com/lavanet/lava/v2/utils" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcclient" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavaprotocol" + "github.com/lavanet/lava/v3/utils" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" ) type RelaySender interface { diff --git a/protocol/rpcprovider/provider_state_machine_test.go b/protocol/rpcprovider/provider_state_machine_test.go index eebaa77c10..4649a7426f 100644 --- a/protocol/rpcprovider/provider_state_machine_test.go +++ b/protocol/rpcprovider/provider_state_machine_test.go @@ -6,11 +6,11 @@ import ( "time" "github.com/golang/mock/gomock" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavaprotocol" - types "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcclient" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavaprotocol" + types "github.com/lavanet/lava/v3/x/pairing/types" "github.com/stretchr/testify/require" ) diff --git a/protocol/rpcprovider/reliabilitymanager/reliability_manager.go b/protocol/rpcprovider/reliabilitymanager/reliability_manager.go index 77f22dbecd..6f6e719c0f 100644 --- a/protocol/rpcprovider/reliabilitymanager/reliability_manager.go +++ b/protocol/rpcprovider/reliabilitymanager/reliability_manager.go @@ -10,15 +10,15 @@ import ( "github.com/goccy/go-json" terderminttypes "github.com/cometbft/cometbft/abci/types" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/protocol/chainlib/extensionslib" - "github.com/lavanet/lava/v2/protocol/chaintracker" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/rand" - "github.com/lavanet/lava/v2/utils/sigs" - conflicttypes "github.com/lavanet/lava/v2/x/conflict/types" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/protocol/chainlib/extensionslib" + "github.com/lavanet/lava/v3/protocol/chaintracker" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/rand" + "github.com/lavanet/lava/v3/utils/sigs" + conflicttypes "github.com/lavanet/lava/v3/x/conflict/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "golang.org/x/exp/slices" ) diff --git a/protocol/rpcprovider/reliabilitymanager/reliability_manager_test.go b/protocol/rpcprovider/reliabilitymanager/reliability_manager_test.go index a6c5a0edda..87813af9be 100644 --- a/protocol/rpcprovider/reliabilitymanager/reliability_manager_test.go +++ b/protocol/rpcprovider/reliabilitymanager/reliability_manager_test.go @@ -10,20 +10,20 @@ import ( terderminttypes "github.com/cometbft/cometbft/abci/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/protocol/chainlib/extensionslib" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavaprotocol" - "github.com/lavanet/lava/v2/protocol/lavaprotocol/finalizationverification" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/rpcprovider/reliabilitymanager" - "github.com/lavanet/lava/v2/protocol/statetracker" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/sigs" - conflicttypes "github.com/lavanet/lava/v2/x/conflict/types" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/protocol/chainlib/extensionslib" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavaprotocol" + "github.com/lavanet/lava/v3/protocol/lavaprotocol/finalizationverification" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/rpcprovider/reliabilitymanager" + "github.com/lavanet/lava/v3/protocol/statetracker" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/sigs" + conflicttypes "github.com/lavanet/lava/v3/x/conflict/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" ) diff --git a/protocol/rpcprovider/rewardserver/reward_db.go b/protocol/rpcprovider/rewardserver/reward_db.go index 609310b802..81c4bdcbc5 100644 --- a/protocol/rpcprovider/rewardserver/reward_db.go +++ b/protocol/rpcprovider/rewardserver/reward_db.go @@ -9,8 +9,8 @@ import ( "github.com/goccy/go-json" - "github.com/lavanet/lava/v2/utils" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" ) const ( diff --git a/protocol/rpcprovider/rewardserver/reward_db_test.go b/protocol/rpcprovider/rewardserver/reward_db_test.go index 3cea3e9341..9f6b16716d 100644 --- a/protocol/rpcprovider/rewardserver/reward_db_test.go +++ b/protocol/rpcprovider/rewardserver/reward_db_test.go @@ -7,9 +7,9 @@ import ( tmproto "github.com/cometbft/cometbft/proto/tendermint/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/protocol/rpcprovider/rewardserver" - "github.com/lavanet/lava/v2/testutil/common" - "github.com/lavanet/lava/v2/utils/sigs" + "github.com/lavanet/lava/v3/protocol/rpcprovider/rewardserver" + "github.com/lavanet/lava/v3/testutil/common" + "github.com/lavanet/lava/v3/utils/sigs" "github.com/stretchr/testify/require" ) diff --git a/protocol/rpcprovider/rewardserver/reward_server.go b/protocol/rpcprovider/rewardserver/reward_server.go index 292b4f4649..76cf7673fb 100644 --- a/protocol/rpcprovider/rewardserver/reward_server.go +++ b/protocol/rpcprovider/rewardserver/reward_server.go @@ -11,14 +11,14 @@ import ( terderminttypes "github.com/cometbft/cometbft/abci/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/metrics" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/lavaslices" - "github.com/lavanet/lava/v2/utils/rand" - "github.com/lavanet/lava/v2/utils/sigs" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/metrics" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/lavaslices" + "github.com/lavanet/lava/v3/utils/rand" + "github.com/lavanet/lava/v3/utils/sigs" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" ) const ( diff --git a/protocol/rpcprovider/rewardserver/reward_server_test.go b/protocol/rpcprovider/rewardserver/reward_server_test.go index b495d368b1..e3c8bd3fe1 100644 --- a/protocol/rpcprovider/rewardserver/reward_server_test.go +++ b/protocol/rpcprovider/rewardserver/reward_server_test.go @@ -7,16 +7,16 @@ import ( "testing" "time" - "github.com/lavanet/lava/v2/testutil/common" - "github.com/lavanet/lava/v2/utils/rand" - "github.com/lavanet/lava/v2/utils/sigs" + "github.com/lavanet/lava/v3/testutil/common" + "github.com/lavanet/lava/v3/utils/rand" + "github.com/lavanet/lava/v3/utils/sigs" "golang.org/x/net/context" terderminttypes "github.com/cometbft/cometbft/abci/types" tmproto "github.com/cometbft/cometbft/proto/tendermint/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" "github.com/stretchr/testify/require" ) diff --git a/protocol/rpcprovider/rpcprovider.go b/protocol/rpcprovider/rpcprovider.go index e6cd4fbc7e..554d7cfbad 100644 --- a/protocol/rpcprovider/rpcprovider.go +++ b/protocol/rpcprovider/rpcprovider.go @@ -16,26 +16,26 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/app" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy" - "github.com/lavanet/lava/v2/protocol/chaintracker" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/metrics" - "github.com/lavanet/lava/v2/protocol/performance" - "github.com/lavanet/lava/v2/protocol/rpcprovider/reliabilitymanager" - "github.com/lavanet/lava/v2/protocol/rpcprovider/rewardserver" - "github.com/lavanet/lava/v2/protocol/statetracker" - "github.com/lavanet/lava/v2/protocol/statetracker/updaters" - "github.com/lavanet/lava/v2/protocol/upgrade" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/rand" - "github.com/lavanet/lava/v2/utils/sigs" - epochstorage "github.com/lavanet/lava/v2/x/epochstorage/types" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - protocoltypes "github.com/lavanet/lava/v2/x/protocol/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/app" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy" + "github.com/lavanet/lava/v3/protocol/chaintracker" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/metrics" + "github.com/lavanet/lava/v3/protocol/performance" + "github.com/lavanet/lava/v3/protocol/rpcprovider/reliabilitymanager" + "github.com/lavanet/lava/v3/protocol/rpcprovider/rewardserver" + "github.com/lavanet/lava/v3/protocol/statetracker" + "github.com/lavanet/lava/v3/protocol/statetracker/updaters" + "github.com/lavanet/lava/v3/protocol/upgrade" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/rand" + "github.com/lavanet/lava/v3/utils/sigs" + epochstorage "github.com/lavanet/lava/v3/x/epochstorage/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + protocoltypes "github.com/lavanet/lava/v3/x/protocol/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/spf13/cobra" "github.com/spf13/viper" ) diff --git a/protocol/rpcprovider/rpcprovider_server.go b/protocol/rpcprovider/rpcprovider_server.go index 9c71410c3b..181a4d355e 100644 --- a/protocol/rpcprovider/rpcprovider_server.go +++ b/protocol/rpcprovider/rpcprovider_server.go @@ -15,24 +15,24 @@ import ( "github.com/btcsuite/btcd/btcec/v2" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/gogo/status" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/protocol/chainlib/extensionslib" - "github.com/lavanet/lava/v2/protocol/chaintracker" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavaprotocol" - "github.com/lavanet/lava/v2/protocol/lavaprotocol/protocolerrors" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/metrics" - "github.com/lavanet/lava/v2/protocol/performance" - "github.com/lavanet/lava/v2/protocol/provideroptimizer" - rewardserver "github.com/lavanet/lava/v2/protocol/rpcprovider/rewardserver" - "github.com/lavanet/lava/v2/protocol/upgrade" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/lavaslices" - "github.com/lavanet/lava/v2/utils/protocopy" - "github.com/lavanet/lava/v2/utils/sigs" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/protocol/chainlib/extensionslib" + "github.com/lavanet/lava/v3/protocol/chaintracker" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavaprotocol" + "github.com/lavanet/lava/v3/protocol/lavaprotocol/protocolerrors" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/metrics" + "github.com/lavanet/lava/v3/protocol/performance" + "github.com/lavanet/lava/v3/protocol/provideroptimizer" + rewardserver "github.com/lavanet/lava/v3/protocol/rpcprovider/rewardserver" + "github.com/lavanet/lava/v3/protocol/upgrade" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/lavaslices" + "github.com/lavanet/lava/v3/utils/protocopy" + "github.com/lavanet/lava/v3/utils/sigs" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" grpc "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" diff --git a/protocol/rpcprovider/rpcprovider_server_test.go b/protocol/rpcprovider/rpcprovider_server_test.go index cde8d9263b..88efa5ca7d 100644 --- a/protocol/rpcprovider/rpcprovider_server_test.go +++ b/protocol/rpcprovider/rpcprovider_server_test.go @@ -8,11 +8,11 @@ import ( "testing" "time" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/protocol/chaintracker" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/rpcprovider/reliabilitymanager" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/protocol/chaintracker" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/rpcprovider/reliabilitymanager" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" ) diff --git a/protocol/rpcprovider/spec_validator.go b/protocol/rpcprovider/spec_validator.go index d0582e895b..a19756d293 100644 --- a/protocol/rpcprovider/spec_validator.go +++ b/protocol/rpcprovider/spec_validator.go @@ -5,10 +5,10 @@ import ( "sync" "time" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/utils" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/utils" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) const ( diff --git a/protocol/rpcprovider/spec_validator_test.go b/protocol/rpcprovider/spec_validator_test.go index b486be576c..c567266c26 100644 --- a/protocol/rpcprovider/spec_validator_test.go +++ b/protocol/rpcprovider/spec_validator_test.go @@ -6,9 +6,9 @@ import ( "testing" "time" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/protocol/lavasession" - testcommon "github.com/lavanet/lava/v2/testutil/common" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/protocol/lavasession" + testcommon "github.com/lavanet/lava/v3/testutil/common" "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" ) diff --git a/protocol/rpcprovider/testing.go b/protocol/rpcprovider/testing.go index 0dc2b8fabc..c7921aea24 100644 --- a/protocol/rpcprovider/testing.go +++ b/protocol/rpcprovider/testing.go @@ -15,18 +15,18 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/version" "github.com/gogo/status" - lvutil "github.com/lavanet/lava/v2/ecosystem/lavavisor/pkg/util" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/rand" - "github.com/lavanet/lava/v2/utils/sigs" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - pairingcli "github.com/lavanet/lava/v2/x/pairing/client/cli" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - protocoltypes "github.com/lavanet/lava/v2/x/protocol/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + lvutil "github.com/lavanet/lava/v3/ecosystem/lavavisor/pkg/util" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/rand" + "github.com/lavanet/lava/v3/utils/sigs" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + pairingcli "github.com/lavanet/lava/v3/x/pairing/client/cli" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + protocoltypes "github.com/lavanet/lava/v3/x/protocol/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/spf13/cobra" "github.com/spf13/viper" "golang.org/x/exp/slices" diff --git a/protocol/statetracker/consumer_state_tracker.go b/protocol/statetracker/consumer_state_tracker.go index d074602ec9..1f61a5f616 100644 --- a/protocol/statetracker/consumer_state_tracker.go +++ b/protocol/statetracker/consumer_state_tracker.go @@ -6,16 +6,16 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/lavanet/lava/v2/protocol/chaintracker" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavaprotocol/finalizationconsensus" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/metrics" - updaters "github.com/lavanet/lava/v2/protocol/statetracker/updaters" - "github.com/lavanet/lava/v2/utils" - conflicttypes "github.com/lavanet/lava/v2/x/conflict/types" - plantypes "github.com/lavanet/lava/v2/x/plans/types" - protocoltypes "github.com/lavanet/lava/v2/x/protocol/types" + "github.com/lavanet/lava/v3/protocol/chaintracker" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavaprotocol/finalizationconsensus" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/metrics" + updaters "github.com/lavanet/lava/v3/protocol/statetracker/updaters" + "github.com/lavanet/lava/v3/utils" + conflicttypes "github.com/lavanet/lava/v3/x/conflict/types" + plantypes "github.com/lavanet/lava/v3/x/plans/types" + protocoltypes "github.com/lavanet/lava/v3/x/protocol/types" ) type ConsumerTxSenderInf interface { diff --git a/protocol/statetracker/emergency_tracker.go b/protocol/statetracker/emergency_tracker.go index bd9af8ed7d..b03f7b458a 100644 --- a/protocol/statetracker/emergency_tracker.go +++ b/protocol/statetracker/emergency_tracker.go @@ -4,8 +4,8 @@ import ( "sync" "time" - "github.com/lavanet/lava/v2/utils" - downtimev1 "github.com/lavanet/lava/v2/x/downtime/v1" + "github.com/lavanet/lava/v3/utils" + downtimev1 "github.com/lavanet/lava/v3/x/downtime/v1" ) const maxEpochsToStore = 3 diff --git a/protocol/statetracker/emergency_tracker_test.go b/protocol/statetracker/emergency_tracker_test.go index d21d3a7577..cc8589067f 100644 --- a/protocol/statetracker/emergency_tracker_test.go +++ b/protocol/statetracker/emergency_tracker_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - downtimev1 "github.com/lavanet/lava/v2/x/downtime/v1" + downtimev1 "github.com/lavanet/lava/v3/x/downtime/v1" "github.com/stretchr/testify/require" ) diff --git a/protocol/statetracker/events.go b/protocol/statetracker/events.go index 4cba2764bc..ff4b8dcccd 100644 --- a/protocol/statetracker/events.go +++ b/protocol/statetracker/events.go @@ -21,15 +21,15 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" "github.com/cosmos/cosmos-sdk/version" - "github.com/lavanet/lava/v2/app" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/protocol/chaintracker" - "github.com/lavanet/lava/v2/protocol/rpcprovider/rewardserver" - updaters "github.com/lavanet/lava/v2/protocol/statetracker/updaters" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/rand" - "github.com/lavanet/lava/v2/utils/sigs" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/app" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/protocol/chaintracker" + "github.com/lavanet/lava/v3/protocol/rpcprovider/rewardserver" + updaters "github.com/lavanet/lava/v3/protocol/statetracker/updaters" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/rand" + "github.com/lavanet/lava/v3/utils/sigs" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" "github.com/spf13/cobra" ) diff --git a/protocol/statetracker/provider_state_tracker.go b/protocol/statetracker/provider_state_tracker.go index c3839b8979..f91041589e 100644 --- a/protocol/statetracker/provider_state_tracker.go +++ b/protocol/statetracker/provider_state_tracker.go @@ -6,14 +6,14 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/lavanet/lava/v2/protocol/chaintracker" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/metrics" - "github.com/lavanet/lava/v2/protocol/rpcprovider/reliabilitymanager" - updaters "github.com/lavanet/lava/v2/protocol/statetracker/updaters" - "github.com/lavanet/lava/v2/utils" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - protocoltypes "github.com/lavanet/lava/v2/x/protocol/types" + "github.com/lavanet/lava/v3/protocol/chaintracker" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/metrics" + "github.com/lavanet/lava/v3/protocol/rpcprovider/reliabilitymanager" + updaters "github.com/lavanet/lava/v3/protocol/statetracker/updaters" + "github.com/lavanet/lava/v3/utils" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + protocoltypes "github.com/lavanet/lava/v3/x/protocol/types" ) // ProviderStateTracker PST is a class for tracking provider data from the lava blockchain, such as epoch changes. diff --git a/protocol/statetracker/state_tracker.go b/protocol/statetracker/state_tracker.go index 224c953ece..96c833781f 100644 --- a/protocol/statetracker/state_tracker.go +++ b/protocol/statetracker/state_tracker.go @@ -7,13 +7,13 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/protocol/chaintracker" - "github.com/lavanet/lava/v2/protocol/lavasession" - updaters "github.com/lavanet/lava/v2/protocol/statetracker/updaters" - "github.com/lavanet/lava/v2/utils" - specutils "github.com/lavanet/lava/v2/utils/keeper" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/protocol/chaintracker" + "github.com/lavanet/lava/v3/protocol/lavasession" + updaters "github.com/lavanet/lava/v3/protocol/statetracker/updaters" + "github.com/lavanet/lava/v3/utils" + specutils "github.com/lavanet/lava/v3/utils/keeper" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) const ( diff --git a/protocol/statetracker/tx_sender.go b/protocol/statetracker/tx_sender.go index ba411a3674..95adefddd4 100644 --- a/protocol/statetracker/tx_sender.go +++ b/protocol/statetracker/tx_sender.go @@ -18,13 +18,13 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" typestx "github.com/cosmos/cosmos-sdk/types/tx" "github.com/cosmos/cosmos-sdk/x/feegrant" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/rpcprovider/reliabilitymanager" - updaters "github.com/lavanet/lava/v2/protocol/statetracker/updaters" - "github.com/lavanet/lava/v2/utils" - commontypes "github.com/lavanet/lava/v2/utils/common/types" - conflicttypes "github.com/lavanet/lava/v2/x/conflict/types" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/rpcprovider/reliabilitymanager" + updaters "github.com/lavanet/lava/v3/protocol/statetracker/updaters" + "github.com/lavanet/lava/v3/utils" + commontypes "github.com/lavanet/lava/v3/utils/common/types" + conflicttypes "github.com/lavanet/lava/v3/x/conflict/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" ) const ( diff --git a/protocol/statetracker/updaters/downtime_params_updater.go b/protocol/statetracker/updaters/downtime_params_updater.go index 06018e54c3..7f01da443d 100644 --- a/protocol/statetracker/updaters/downtime_params_updater.go +++ b/protocol/statetracker/updaters/downtime_params_updater.go @@ -5,8 +5,8 @@ import ( "sync" "time" - "github.com/lavanet/lava/v2/utils" - downtimev1 "github.com/lavanet/lava/v2/x/downtime/v1" + "github.com/lavanet/lava/v3/utils" + downtimev1 "github.com/lavanet/lava/v3/x/downtime/v1" ) const ( diff --git a/protocol/statetracker/updaters/epoch_updater.go b/protocol/statetracker/updaters/epoch_updater.go index d82f8181de..41d3fb4ed1 100644 --- a/protocol/statetracker/updaters/epoch_updater.go +++ b/protocol/statetracker/updaters/epoch_updater.go @@ -4,7 +4,7 @@ import ( "sync" "time" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" "golang.org/x/net/context" ) diff --git a/protocol/statetracker/updaters/event_tracker.go b/protocol/statetracker/updaters/event_tracker.go index 15bcae168f..7902935fb3 100644 --- a/protocol/statetracker/updaters/event_tracker.go +++ b/protocol/statetracker/updaters/event_tracker.go @@ -10,12 +10,12 @@ import ( ctypes "github.com/cometbft/cometbft/rpc/core/types" "github.com/cosmos/cosmos-sdk/client" - "github.com/lavanet/lava/v2/protocol/rpcprovider/reliabilitymanager" - "github.com/lavanet/lava/v2/protocol/rpcprovider/rewardserver" - "github.com/lavanet/lava/v2/utils" - conflicttypes "github.com/lavanet/lava/v2/x/conflict/types" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/rpcprovider/reliabilitymanager" + "github.com/lavanet/lava/v3/protocol/rpcprovider/rewardserver" + "github.com/lavanet/lava/v3/utils" + conflicttypes "github.com/lavanet/lava/v3/x/conflict/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) const ( diff --git a/protocol/statetracker/updaters/finalization_consensus_updater.go b/protocol/statetracker/updaters/finalization_consensus_updater.go index 384829df76..e038626b4c 100644 --- a/protocol/statetracker/updaters/finalization_consensus_updater.go +++ b/protocol/statetracker/updaters/finalization_consensus_updater.go @@ -5,8 +5,8 @@ import ( "sync" "time" - "github.com/lavanet/lava/v2/protocol/lavaprotocol/finalizationconsensus" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/protocol/lavaprotocol/finalizationconsensus" + "github.com/lavanet/lava/v3/utils" ) const ( diff --git a/protocol/statetracker/updaters/pairing_updater.go b/protocol/statetracker/updaters/pairing_updater.go index ba8f65603e..36aec826d0 100644 --- a/protocol/statetracker/updaters/pairing_updater.go +++ b/protocol/statetracker/updaters/pairing_updater.go @@ -7,10 +7,10 @@ import ( "time" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/utils" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/utils" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" "golang.org/x/net/context" ) diff --git a/protocol/statetracker/updaters/pairing_updater_test.go b/protocol/statetracker/updaters/pairing_updater_test.go index fb4f574512..8cd5627f61 100644 --- a/protocol/statetracker/updaters/pairing_updater_test.go +++ b/protocol/statetracker/updaters/pairing_updater_test.go @@ -5,10 +5,10 @@ import ( "testing" "github.com/golang/mock/gomock" - "github.com/lavanet/lava/v2/protocol/common" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/utils/rand" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/protocol/common" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/utils/rand" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" "github.com/stretchr/testify/require" ) diff --git a/protocol/statetracker/updaters/payment_updater.go b/protocol/statetracker/updaters/payment_updater.go index edda32ca1e..d8696d0eb6 100644 --- a/protocol/statetracker/updaters/payment_updater.go +++ b/protocol/statetracker/updaters/payment_updater.go @@ -3,8 +3,8 @@ package updaters import ( "sync" - "github.com/lavanet/lava/v2/protocol/rpcprovider/rewardserver" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/protocol/rpcprovider/rewardserver" + "github.com/lavanet/lava/v3/utils" "golang.org/x/net/context" ) diff --git a/protocol/statetracker/updaters/policy_updater.go b/protocol/statetracker/updaters/policy_updater.go index 7a356d0298..a204890f50 100644 --- a/protocol/statetracker/updaters/policy_updater.go +++ b/protocol/statetracker/updaters/policy_updater.go @@ -5,10 +5,10 @@ import ( "sync" "time" - chainlib "github.com/lavanet/lava/v2/protocol/chainlib" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/utils" - plantypes "github.com/lavanet/lava/v2/x/plans/types" + chainlib "github.com/lavanet/lava/v3/protocol/chainlib" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/utils" + plantypes "github.com/lavanet/lava/v3/x/plans/types" ) const ( diff --git a/protocol/statetracker/updaters/spec_updater.go b/protocol/statetracker/updaters/spec_updater.go index 453f9f3f5b..6e1647e645 100644 --- a/protocol/statetracker/updaters/spec_updater.go +++ b/protocol/statetracker/updaters/spec_updater.go @@ -7,9 +7,9 @@ import ( "sync/atomic" "time" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/utils" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/utils" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) const ( diff --git a/protocol/statetracker/updaters/state_query.go b/protocol/statetracker/updaters/state_query.go index 135edf0c73..5dc1973eb6 100644 --- a/protocol/statetracker/updaters/state_query.go +++ b/protocol/statetracker/updaters/state_query.go @@ -6,18 +6,18 @@ import ( "strconv" "time" - downtimev1 "github.com/lavanet/lava/v2/x/downtime/v1" + downtimev1 "github.com/lavanet/lava/v3/x/downtime/v1" "github.com/cosmos/cosmos-sdk/client" "github.com/dgraph-io/ristretto" - reliabilitymanager "github.com/lavanet/lava/v2/protocol/rpcprovider/reliabilitymanager" - "github.com/lavanet/lava/v2/utils" - conflicttypes "github.com/lavanet/lava/v2/x/conflict/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - plantypes "github.com/lavanet/lava/v2/x/plans/types" - protocoltypes "github.com/lavanet/lava/v2/x/protocol/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + reliabilitymanager "github.com/lavanet/lava/v3/protocol/rpcprovider/reliabilitymanager" + "github.com/lavanet/lava/v3/utils" + conflicttypes "github.com/lavanet/lava/v3/x/conflict/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + plantypes "github.com/lavanet/lava/v3/x/plans/types" + protocoltypes "github.com/lavanet/lava/v3/x/protocol/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "google.golang.org/grpc" "google.golang.org/grpc/metadata" ) diff --git a/protocol/statetracker/updaters/updaters_mock.go b/protocol/statetracker/updaters/updaters_mock.go index 002299d90b..06d47acd1d 100644 --- a/protocol/statetracker/updaters/updaters_mock.go +++ b/protocol/statetracker/updaters/updaters_mock.go @@ -8,8 +8,8 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - lavasession "github.com/lavanet/lava/v2/protocol/lavasession" - types "github.com/lavanet/lava/v2/x/epochstorage/types" + lavasession "github.com/lavanet/lava/v3/protocol/lavasession" + types "github.com/lavanet/lava/v3/x/epochstorage/types" context "golang.org/x/net/context" ) diff --git a/protocol/statetracker/updaters/version_updater.go b/protocol/statetracker/updaters/version_updater.go index 14826f71ef..e9e1de86e7 100644 --- a/protocol/statetracker/updaters/version_updater.go +++ b/protocol/statetracker/updaters/version_updater.go @@ -5,8 +5,8 @@ import ( "sync" "time" - "github.com/lavanet/lava/v2/utils" - protocoltypes "github.com/lavanet/lava/v2/x/protocol/types" + "github.com/lavanet/lava/v3/utils" + protocoltypes "github.com/lavanet/lava/v3/x/protocol/types" ) const ( diff --git a/protocol/statetracker/updaters/vote_updater.go b/protocol/statetracker/updaters/vote_updater.go index 4a68c2ad14..a3a25c87a0 100644 --- a/protocol/statetracker/updaters/vote_updater.go +++ b/protocol/statetracker/updaters/vote_updater.go @@ -3,9 +3,9 @@ package updaters import ( "sync" - "github.com/lavanet/lava/v2/protocol/lavasession" - "github.com/lavanet/lava/v2/protocol/rpcprovider/reliabilitymanager" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/protocol/lavasession" + "github.com/lavanet/lava/v3/protocol/rpcprovider/reliabilitymanager" + "github.com/lavanet/lava/v3/utils" "golang.org/x/net/context" ) diff --git a/protocol/upgrade/protocol_version.go b/protocol/upgrade/protocol_version.go index 1982bb8a9a..34bd0c1346 100644 --- a/protocol/upgrade/protocol_version.go +++ b/protocol/upgrade/protocol_version.go @@ -4,9 +4,9 @@ import ( "strconv" "strings" - "github.com/lavanet/lava/v2/protocol/statetracker/updaters" - "github.com/lavanet/lava/v2/utils" - protocoltypes "github.com/lavanet/lava/v2/x/protocol/types" + "github.com/lavanet/lava/v3/protocol/statetracker/updaters" + "github.com/lavanet/lava/v3/utils" + protocoltypes "github.com/lavanet/lava/v3/x/protocol/types" ) type ProtocolVersion struct { diff --git a/scripts/protocgen.sh b/scripts/protocgen.sh index 3ad976e766..dd94d98422 100755 --- a/scripts/protocgen.sh +++ b/scripts/protocgen.sh @@ -33,5 +33,5 @@ done cd .. # move proto files to the right places -cp -r github.com/lavanet/lava/v2/* ./ +cp -r github.com/lavanet/lava/v3/* ./ rm -rf github.com diff --git a/testutil/common/common.go b/testutil/common/common.go index cf4fb2f074..b793e34757 100644 --- a/testutil/common/common.go +++ b/testutil/common/common.go @@ -7,14 +7,14 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/utils/sigs" - conflicttypes "github.com/lavanet/lava/v2/x/conflict/types" - conflictconstruct "github.com/lavanet/lava/v2/x/conflict/types/construct" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" - subscriptiontypes "github.com/lavanet/lava/v2/x/subscription/types" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/utils/sigs" + conflicttypes "github.com/lavanet/lava/v3/x/conflict/types" + conflictconstruct "github.com/lavanet/lava/v3/x/conflict/types/construct" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" + subscriptiontypes "github.com/lavanet/lava/v3/x/subscription/types" "github.com/stretchr/testify/require" ) diff --git a/testutil/common/mock.go b/testutil/common/mock.go index 0a5f9a1bdc..c20db79410 100644 --- a/testutil/common/mock.go +++ b/testutil/common/mock.go @@ -2,9 +2,9 @@ package common import ( sdk "github.com/cosmos/cosmos-sdk/types" - commonconsts "github.com/lavanet/lava/v2/testutil/common/consts" - plantypes "github.com/lavanet/lava/v2/x/plans/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + commonconsts "github.com/lavanet/lava/v3/testutil/common/consts" + plantypes "github.com/lavanet/lava/v3/x/plans/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) func CreateMockSpec() spectypes.Spec { diff --git a/testutil/common/tester.go b/testutil/common/tester.go index d6437ac909..74a268f60a 100644 --- a/testutil/common/tester.go +++ b/testutil/common/tester.go @@ -14,21 +14,21 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/utils" - specutils "github.com/lavanet/lava/v2/utils/keeper" - "github.com/lavanet/lava/v2/utils/lavaslices" - "github.com/lavanet/lava/v2/utils/sigs" - dualstakingante "github.com/lavanet/lava/v2/x/dualstaking/ante" - dualstakingtypes "github.com/lavanet/lava/v2/x/dualstaking/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - fixationstoretypes "github.com/lavanet/lava/v2/x/fixationstore/types" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" - projectstypes "github.com/lavanet/lava/v2/x/projects/types" - rewardstypes "github.com/lavanet/lava/v2/x/rewards/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" - subscriptiontypes "github.com/lavanet/lava/v2/x/subscription/types" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/utils" + specutils "github.com/lavanet/lava/v3/utils/keeper" + "github.com/lavanet/lava/v3/utils/lavaslices" + "github.com/lavanet/lava/v3/utils/sigs" + dualstakingante "github.com/lavanet/lava/v3/x/dualstaking/ante" + dualstakingtypes "github.com/lavanet/lava/v3/x/dualstaking/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + fixationstoretypes "github.com/lavanet/lava/v3/x/fixationstore/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" + projectstypes "github.com/lavanet/lava/v3/x/projects/types" + rewardstypes "github.com/lavanet/lava/v3/x/rewards/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" + subscriptiontypes "github.com/lavanet/lava/v3/x/subscription/types" "github.com/stretchr/testify/require" ) diff --git a/testutil/e2e/paymentE2E.go b/testutil/e2e/paymentE2E.go index 08ac04495f..c63d1f1a1e 100644 --- a/testutil/e2e/paymentE2E.go +++ b/testutil/e2e/paymentE2E.go @@ -13,14 +13,14 @@ import ( "time" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/cmd/lavad/cmd" - commonconsts "github.com/lavanet/lava/v2/testutil/common/consts" - e2esdk "github.com/lavanet/lava/v2/testutil/e2e/sdk" - "github.com/lavanet/lava/v2/utils" - dualstakingTypes "github.com/lavanet/lava/v2/x/dualstaking/types" - epochStorageTypes "github.com/lavanet/lava/v2/x/epochstorage/types" - pairingTypes "github.com/lavanet/lava/v2/x/pairing/types" - subscriptionTypes "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/cmd/lavad/cmd" + commonconsts "github.com/lavanet/lava/v3/testutil/common/consts" + e2esdk "github.com/lavanet/lava/v3/testutil/e2e/sdk" + "github.com/lavanet/lava/v3/utils" + dualstakingTypes "github.com/lavanet/lava/v3/x/dualstaking/types" + epochStorageTypes "github.com/lavanet/lava/v3/x/epochstorage/types" + pairingTypes "github.com/lavanet/lava/v3/x/pairing/types" + subscriptionTypes "github.com/lavanet/lava/v3/x/subscription/types" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" ) diff --git a/testutil/e2e/protocolE2E.go b/testutil/e2e/protocolE2E.go index d4cc6f00b5..1fcc7a0616 100644 --- a/testutil/e2e/protocolE2E.go +++ b/testutil/e2e/protocolE2E.go @@ -30,14 +30,14 @@ import ( "github.com/ethereum/go-ethereum/ethclient" "github.com/ethereum/go-ethereum/rpc" "github.com/gorilla/websocket" - commonconsts "github.com/lavanet/lava/v2/testutil/common/consts" - "github.com/lavanet/lava/v2/testutil/e2e/sdk" - "github.com/lavanet/lava/v2/utils" - epochStorageTypes "github.com/lavanet/lava/v2/x/epochstorage/types" - pairingTypes "github.com/lavanet/lava/v2/x/pairing/types" - planTypes "github.com/lavanet/lava/v2/x/plans/types" - specTypes "github.com/lavanet/lava/v2/x/spec/types" - subscriptionTypes "github.com/lavanet/lava/v2/x/subscription/types" + commonconsts "github.com/lavanet/lava/v3/testutil/common/consts" + "github.com/lavanet/lava/v3/testutil/e2e/sdk" + "github.com/lavanet/lava/v3/utils" + epochStorageTypes "github.com/lavanet/lava/v3/x/epochstorage/types" + pairingTypes "github.com/lavanet/lava/v3/x/pairing/types" + planTypes "github.com/lavanet/lava/v3/x/plans/types" + specTypes "github.com/lavanet/lava/v3/x/spec/types" + subscriptionTypes "github.com/lavanet/lava/v3/x/subscription/types" "golang.org/x/exp/slices" "google.golang.org/grpc" "google.golang.org/grpc/credentials" diff --git a/testutil/e2e/proxy/proxy.go b/testutil/e2e/proxy/proxy.go index 1ad6c09412..0fb68c6e18 100644 --- a/testutil/e2e/proxy/proxy.go +++ b/testutil/e2e/proxy/proxy.go @@ -11,8 +11,8 @@ import ( "time" "github.com/gorilla/websocket" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcInterfaceMessages" - "github.com/lavanet/lava/v2/protocol/chainlib/chainproxy/rpcclient" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcInterfaceMessages" + "github.com/lavanet/lava/v3/protocol/chainlib/chainproxy/rpcclient" ) // var mockFolder string = "testutil/e2e/proxy/mockMaps/" diff --git a/testutil/e2e/sdk/e2e.go b/testutil/e2e/sdk/e2e.go index 934584f5b7..c7e5147b44 100644 --- a/testutil/e2e/sdk/e2e.go +++ b/testutil/e2e/sdk/e2e.go @@ -12,8 +12,8 @@ import ( "strings" "sync" - "github.com/lavanet/lava/v2/utils" - pairingTypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + pairingTypes "github.com/lavanet/lava/v3/x/pairing/types" "golang.org/x/exp/slices" "google.golang.org/grpc" ) diff --git a/testutil/e2e/sdkE2E.go b/testutil/e2e/sdkE2E.go index d3f66d350d..0af0bc8321 100644 --- a/testutil/e2e/sdkE2E.go +++ b/testutil/e2e/sdkE2E.go @@ -10,10 +10,10 @@ import ( "strings" "time" - commonconsts "github.com/lavanet/lava/v2/testutil/common/consts" - "github.com/lavanet/lava/v2/testutil/e2e/sdk" - "github.com/lavanet/lava/v2/utils" - epochStorageTypes "github.com/lavanet/lava/v2/x/epochstorage/types" + commonconsts "github.com/lavanet/lava/v3/testutil/common/consts" + "github.com/lavanet/lava/v3/testutil/e2e/sdk" + "github.com/lavanet/lava/v3/utils" + epochStorageTypes "github.com/lavanet/lava/v3/x/epochstorage/types" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" ) diff --git a/testutil/keeper/conflict.go b/testutil/keeper/conflict.go index 1387433e2e..fadb72bc0f 100644 --- a/testutil/keeper/conflict.go +++ b/testutil/keeper/conflict.go @@ -10,9 +10,9 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" typesparams "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/lavanet/lava/v2/x/conflict/keeper" - "github.com/lavanet/lava/v2/x/conflict/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/conflict/keeper" + "github.com/lavanet/lava/v3/x/conflict/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" "github.com/stretchr/testify/require" ) diff --git a/testutil/keeper/dualstaking.go b/testutil/keeper/dualstaking.go index f6d96801ca..c1c848ee5f 100644 --- a/testutil/keeper/dualstaking.go +++ b/testutil/keeper/dualstaking.go @@ -12,12 +12,12 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" typesparams "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/lavanet/lava/v2/x/dualstaking/keeper" - "github.com/lavanet/lava/v2/x/dualstaking/types" - epochstoragekeeper "github.com/lavanet/lava/v2/x/epochstorage/keeper" - fixationkeeper "github.com/lavanet/lava/v2/x/fixationstore/keeper" - speckeeper "github.com/lavanet/lava/v2/x/spec/keeper" - timerstorekeeper "github.com/lavanet/lava/v2/x/timerstore/keeper" + "github.com/lavanet/lava/v3/x/dualstaking/keeper" + "github.com/lavanet/lava/v3/x/dualstaking/types" + epochstoragekeeper "github.com/lavanet/lava/v3/x/epochstorage/keeper" + fixationkeeper "github.com/lavanet/lava/v3/x/fixationstore/keeper" + speckeeper "github.com/lavanet/lava/v3/x/spec/keeper" + timerstorekeeper "github.com/lavanet/lava/v3/x/timerstore/keeper" "github.com/stretchr/testify/require" ) diff --git a/testutil/keeper/epochstorage.go b/testutil/keeper/epochstorage.go index 8a0682cd86..1b0a0f5a52 100644 --- a/testutil/keeper/epochstorage.go +++ b/testutil/keeper/epochstorage.go @@ -12,8 +12,8 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" typesparams "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/lavanet/lava/v2/x/epochstorage/keeper" - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/epochstorage/keeper" + "github.com/lavanet/lava/v3/x/epochstorage/types" "github.com/stretchr/testify/require" ) diff --git a/testutil/keeper/keepers_init.go b/testutil/keeper/keepers_init.go index e1431d84f8..03a6f5f336 100644 --- a/testutil/keeper/keepers_init.go +++ b/testutil/keeper/keepers_init.go @@ -31,38 +31,38 @@ import ( slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - commonconsts "github.com/lavanet/lava/v2/testutil/common/consts" - "github.com/lavanet/lava/v2/utils/sigs" - conflictkeeper "github.com/lavanet/lava/v2/x/conflict/keeper" - conflicttypes "github.com/lavanet/lava/v2/x/conflict/types" - downtimekeeper "github.com/lavanet/lava/v2/x/downtime/keeper" - downtimemoduletypes "github.com/lavanet/lava/v2/x/downtime/types" - downtimev1 "github.com/lavanet/lava/v2/x/downtime/v1" - dualstakingkeeper "github.com/lavanet/lava/v2/x/dualstaking/keeper" - dualstakingtypes "github.com/lavanet/lava/v2/x/dualstaking/types" - epochstoragekeeper "github.com/lavanet/lava/v2/x/epochstorage/keeper" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - fixationkeeper "github.com/lavanet/lava/v2/x/fixationstore/keeper" - fixationtypes "github.com/lavanet/lava/v2/x/fixationstore/types" - "github.com/lavanet/lava/v2/x/pairing" - pairingkeeper "github.com/lavanet/lava/v2/x/pairing/keeper" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - "github.com/lavanet/lava/v2/x/plans" - planskeeper "github.com/lavanet/lava/v2/x/plans/keeper" - planstypes "github.com/lavanet/lava/v2/x/plans/types" - projectskeeper "github.com/lavanet/lava/v2/x/projects/keeper" - projectstypes "github.com/lavanet/lava/v2/x/projects/types" - protocolkeeper "github.com/lavanet/lava/v2/x/protocol/keeper" - protocoltypes "github.com/lavanet/lava/v2/x/protocol/types" - rewardskeeper "github.com/lavanet/lava/v2/x/rewards/keeper" - rewardstypes "github.com/lavanet/lava/v2/x/rewards/types" - "github.com/lavanet/lava/v2/x/spec" - speckeeper "github.com/lavanet/lava/v2/x/spec/keeper" - spectypes "github.com/lavanet/lava/v2/x/spec/types" - subscriptionkeeper "github.com/lavanet/lava/v2/x/subscription/keeper" - subscriptiontypes "github.com/lavanet/lava/v2/x/subscription/types" - timerstorekeeper "github.com/lavanet/lava/v2/x/timerstore/keeper" - timerstoretypes "github.com/lavanet/lava/v2/x/timerstore/types" + commonconsts "github.com/lavanet/lava/v3/testutil/common/consts" + "github.com/lavanet/lava/v3/utils/sigs" + conflictkeeper "github.com/lavanet/lava/v3/x/conflict/keeper" + conflicttypes "github.com/lavanet/lava/v3/x/conflict/types" + downtimekeeper "github.com/lavanet/lava/v3/x/downtime/keeper" + downtimemoduletypes "github.com/lavanet/lava/v3/x/downtime/types" + downtimev1 "github.com/lavanet/lava/v3/x/downtime/v1" + dualstakingkeeper "github.com/lavanet/lava/v3/x/dualstaking/keeper" + dualstakingtypes "github.com/lavanet/lava/v3/x/dualstaking/types" + epochstoragekeeper "github.com/lavanet/lava/v3/x/epochstorage/keeper" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + fixationkeeper "github.com/lavanet/lava/v3/x/fixationstore/keeper" + fixationtypes "github.com/lavanet/lava/v3/x/fixationstore/types" + "github.com/lavanet/lava/v3/x/pairing" + pairingkeeper "github.com/lavanet/lava/v3/x/pairing/keeper" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + "github.com/lavanet/lava/v3/x/plans" + planskeeper "github.com/lavanet/lava/v3/x/plans/keeper" + planstypes "github.com/lavanet/lava/v3/x/plans/types" + projectskeeper "github.com/lavanet/lava/v3/x/projects/keeper" + projectstypes "github.com/lavanet/lava/v3/x/projects/types" + protocolkeeper "github.com/lavanet/lava/v3/x/protocol/keeper" + protocoltypes "github.com/lavanet/lava/v3/x/protocol/types" + rewardskeeper "github.com/lavanet/lava/v3/x/rewards/keeper" + rewardstypes "github.com/lavanet/lava/v3/x/rewards/types" + "github.com/lavanet/lava/v3/x/spec" + speckeeper "github.com/lavanet/lava/v3/x/spec/keeper" + spectypes "github.com/lavanet/lava/v3/x/spec/types" + subscriptionkeeper "github.com/lavanet/lava/v3/x/subscription/keeper" + subscriptiontypes "github.com/lavanet/lava/v3/x/subscription/types" + timerstorekeeper "github.com/lavanet/lava/v3/x/timerstore/keeper" + timerstoretypes "github.com/lavanet/lava/v3/x/timerstore/types" "github.com/stretchr/testify/require" ) diff --git a/testutil/keeper/pairing.go b/testutil/keeper/pairing.go index 65da2b4408..876fb8be5e 100644 --- a/testutil/keeper/pairing.go +++ b/testutil/keeper/pairing.go @@ -12,13 +12,13 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" typesparams "github.com/cosmos/cosmos-sdk/x/params/types" - epochstoragemodule "github.com/lavanet/lava/v2/x/epochstorage" - epochstoragekeeper "github.com/lavanet/lava/v2/x/epochstorage/keeper" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - fixationkeeper "github.com/lavanet/lava/v2/x/fixationstore/keeper" - "github.com/lavanet/lava/v2/x/pairing/keeper" - "github.com/lavanet/lava/v2/x/pairing/types" - timerstorekeeper "github.com/lavanet/lava/v2/x/timerstore/keeper" + epochstoragemodule "github.com/lavanet/lava/v3/x/epochstorage" + epochstoragekeeper "github.com/lavanet/lava/v3/x/epochstorage/keeper" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + fixationkeeper "github.com/lavanet/lava/v3/x/fixationstore/keeper" + "github.com/lavanet/lava/v3/x/pairing/keeper" + "github.com/lavanet/lava/v3/x/pairing/types" + timerstorekeeper "github.com/lavanet/lava/v3/x/timerstore/keeper" "github.com/stretchr/testify/require" ) diff --git a/testutil/keeper/plan.go b/testutil/keeper/plan.go index 2ec763a51f..b9ec9e51a7 100644 --- a/testutil/keeper/plan.go +++ b/testutil/keeper/plan.go @@ -12,12 +12,12 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" typesparams "github.com/cosmos/cosmos-sdk/x/params/types" - epochstoragekeeper "github.com/lavanet/lava/v2/x/epochstorage/keeper" - fixationkeeper "github.com/lavanet/lava/v2/x/fixationstore/keeper" - "github.com/lavanet/lava/v2/x/plans/keeper" - "github.com/lavanet/lava/v2/x/plans/types" - speckeeper "github.com/lavanet/lava/v2/x/spec/keeper" - timerstorekeeper "github.com/lavanet/lava/v2/x/timerstore/keeper" + epochstoragekeeper "github.com/lavanet/lava/v3/x/epochstorage/keeper" + fixationkeeper "github.com/lavanet/lava/v3/x/fixationstore/keeper" + "github.com/lavanet/lava/v3/x/plans/keeper" + "github.com/lavanet/lava/v3/x/plans/types" + speckeeper "github.com/lavanet/lava/v3/x/spec/keeper" + timerstorekeeper "github.com/lavanet/lava/v3/x/timerstore/keeper" "github.com/stretchr/testify/require" ) diff --git a/testutil/keeper/projects.go b/testutil/keeper/projects.go index e2030f74c1..2dab70b6f8 100644 --- a/testutil/keeper/projects.go +++ b/testutil/keeper/projects.go @@ -12,11 +12,11 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" typesparams "github.com/cosmos/cosmos-sdk/x/params/types" - epochstoragekeeper "github.com/lavanet/lava/v2/x/epochstorage/keeper" - fixationkeeper "github.com/lavanet/lava/v2/x/fixationstore/keeper" - "github.com/lavanet/lava/v2/x/projects/keeper" - "github.com/lavanet/lava/v2/x/projects/types" - timerstorekeeper "github.com/lavanet/lava/v2/x/timerstore/keeper" + epochstoragekeeper "github.com/lavanet/lava/v3/x/epochstorage/keeper" + fixationkeeper "github.com/lavanet/lava/v3/x/fixationstore/keeper" + "github.com/lavanet/lava/v3/x/projects/keeper" + "github.com/lavanet/lava/v3/x/projects/types" + timerstorekeeper "github.com/lavanet/lava/v3/x/timerstore/keeper" "github.com/stretchr/testify/require" ) diff --git a/testutil/keeper/protocol.go b/testutil/keeper/protocol.go index 40faf6bec3..5d19affa39 100644 --- a/testutil/keeper/protocol.go +++ b/testutil/keeper/protocol.go @@ -14,8 +14,8 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" typesparams "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/lavanet/lava/v2/x/protocol/keeper" - "github.com/lavanet/lava/v2/x/protocol/types" + "github.com/lavanet/lava/v3/x/protocol/keeper" + "github.com/lavanet/lava/v3/x/protocol/types" "github.com/stretchr/testify/require" ) diff --git a/testutil/keeper/rewards.go b/testutil/keeper/rewards.go index 73b0a36ead..8d828b3b1f 100644 --- a/testutil/keeper/rewards.go +++ b/testutil/keeper/rewards.go @@ -18,13 +18,13 @@ import ( typesparams "github.com/cosmos/cosmos-sdk/x/params/types" stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - downtimekeeper "github.com/lavanet/lava/v2/x/downtime/keeper" - downtimemoduletypes "github.com/lavanet/lava/v2/x/downtime/types" - v1 "github.com/lavanet/lava/v2/x/downtime/v1" - epochstoragekeeper "github.com/lavanet/lava/v2/x/epochstorage/keeper" - "github.com/lavanet/lava/v2/x/rewards/keeper" - "github.com/lavanet/lava/v2/x/rewards/types" - timerstorekeeper "github.com/lavanet/lava/v2/x/timerstore/keeper" + downtimekeeper "github.com/lavanet/lava/v3/x/downtime/keeper" + downtimemoduletypes "github.com/lavanet/lava/v3/x/downtime/types" + v1 "github.com/lavanet/lava/v3/x/downtime/v1" + epochstoragekeeper "github.com/lavanet/lava/v3/x/epochstorage/keeper" + "github.com/lavanet/lava/v3/x/rewards/keeper" + "github.com/lavanet/lava/v3/x/rewards/types" + timerstorekeeper "github.com/lavanet/lava/v3/x/timerstore/keeper" "github.com/stretchr/testify/require" ) diff --git a/testutil/keeper/subscription.go b/testutil/keeper/subscription.go index bfcdacfef6..a1be7f77a0 100644 --- a/testutil/keeper/subscription.go +++ b/testutil/keeper/subscription.go @@ -12,14 +12,14 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" typesparams "github.com/cosmos/cosmos-sdk/x/params/types" - dualstakingkeeper "github.com/lavanet/lava/v2/x/dualstaking/keeper" - epochstoragekeeper "github.com/lavanet/lava/v2/x/epochstorage/keeper" - fixationkeeper "github.com/lavanet/lava/v2/x/fixationstore/keeper" - planskeeper "github.com/lavanet/lava/v2/x/plans/keeper" - projectskeeper "github.com/lavanet/lava/v2/x/projects/keeper" - "github.com/lavanet/lava/v2/x/subscription/keeper" - "github.com/lavanet/lava/v2/x/subscription/types" - timerstorekeeper "github.com/lavanet/lava/v2/x/timerstore/keeper" + dualstakingkeeper "github.com/lavanet/lava/v3/x/dualstaking/keeper" + epochstoragekeeper "github.com/lavanet/lava/v3/x/epochstorage/keeper" + fixationkeeper "github.com/lavanet/lava/v3/x/fixationstore/keeper" + planskeeper "github.com/lavanet/lava/v3/x/plans/keeper" + projectskeeper "github.com/lavanet/lava/v3/x/projects/keeper" + "github.com/lavanet/lava/v3/x/subscription/keeper" + "github.com/lavanet/lava/v3/x/subscription/types" + timerstorekeeper "github.com/lavanet/lava/v3/x/timerstore/keeper" "github.com/stretchr/testify/require" ) diff --git a/testutil/network/network.go b/testutil/network/network.go index 329ec07a56..c3ff8bcd2f 100644 --- a/testutil/network/network.go +++ b/testutil/network/network.go @@ -20,7 +20,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/lavanet/lava/v2/app" + "github.com/lavanet/lava/v3/app" ) type ( diff --git a/utils/address.go b/utils/address.go index 9fe29d6aaa..d284ad818d 100644 --- a/utils/address.go +++ b/utils/address.go @@ -3,7 +3,7 @@ package utils import ( "github.com/cosmos/cosmos-sdk/client" sdk "github.com/cosmos/cosmos-sdk/types" - commontypes "github.com/lavanet/lava/v2/utils/common/types" + commontypes "github.com/lavanet/lava/v3/utils/common/types" ) func IsBech32Address(addr string) bool { diff --git a/utils/cli/multisend.go b/utils/cli/multisend.go index 60261a4e59..c69c3aa2f1 100644 --- a/utils/cli/multisend.go +++ b/utils/cli/multisend.go @@ -17,7 +17,7 @@ import ( authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" "github.com/spf13/cobra" ) diff --git a/utils/keeper/spec.go b/utils/keeper/spec.go index 2b254b085d..32735b78cb 100644 --- a/utils/keeper/spec.go +++ b/utils/keeper/spec.go @@ -17,9 +17,9 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" typesparams "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/lavanet/lava/v2/x/spec/client/utils" - "github.com/lavanet/lava/v2/x/spec/keeper" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/x/spec/client/utils" + "github.com/lavanet/lava/v3/x/spec/keeper" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" ) diff --git a/utils/lavalog_test.go b/utils/lavalog_test.go index ef47a89788..ca40e30422 100644 --- a/utils/lavalog_test.go +++ b/utils/lavalog_test.go @@ -4,7 +4,7 @@ import ( "testing" sdkerrors "cosmossdk.io/errors" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" "github.com/stretchr/testify/require" ) diff --git a/utils/maps/maps.go b/utils/maps/maps.go index 293646c458..4658ebf3f3 100644 --- a/utils/maps/maps.go +++ b/utils/maps/maps.go @@ -1,7 +1,7 @@ package maps import ( - "github.com/lavanet/lava/v2/utils/lavaslices" + "github.com/lavanet/lava/v3/utils/lavaslices" "golang.org/x/exp/constraints" ) diff --git a/utils/protocopy/proto_copy.go b/utils/protocopy/proto_copy.go index 8e7dcf2727..5abceb97fa 100644 --- a/utils/protocopy/proto_copy.go +++ b/utils/protocopy/proto_copy.go @@ -1,7 +1,7 @@ package protocopy import ( - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" ) type protoTypeOut interface { diff --git a/utils/protocopy/proto_copy_test.go b/utils/protocopy/proto_copy_test.go index 20ba5f4864..823f5b06c8 100644 --- a/utils/protocopy/proto_copy_test.go +++ b/utils/protocopy/proto_copy_test.go @@ -3,7 +3,7 @@ package protocopy import ( "testing" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" "github.com/stretchr/testify/require" ) diff --git a/utils/sigs/sigs.go b/utils/sigs/sigs.go index b7e2bd39c6..cb737a5844 100644 --- a/utils/sigs/sigs.go +++ b/utils/sigs/sigs.go @@ -25,7 +25,7 @@ import ( "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" ) type Account struct { diff --git a/x/conflict/client/cli/query.go b/x/conflict/client/cli/query.go index f9369a880b..2123cc991d 100644 --- a/x/conflict/client/cli/query.go +++ b/x/conflict/client/cli/query.go @@ -10,7 +10,7 @@ import ( // "github.com/cosmos/cosmos-sdk/client/flags" // sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/x/conflict/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/conflict/client/cli/query_conflict_vote.go b/x/conflict/client/cli/query_conflict_vote.go index a989172ac8..85bd0e3333 100644 --- a/x/conflict/client/cli/query_conflict_vote.go +++ b/x/conflict/client/cli/query_conflict_vote.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/x/conflict/types" "github.com/spf13/cobra" ) diff --git a/x/conflict/client/cli/query_conflict_vote_test.go b/x/conflict/client/cli/query_conflict_vote_test.go index ba0f004e45..eadc1ff18e 100644 --- a/x/conflict/client/cli/query_conflict_vote_test.go +++ b/x/conflict/client/cli/query_conflict_vote_test.go @@ -12,10 +12,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/lavanet/lava/v2/testutil/network" - "github.com/lavanet/lava/v2/testutil/nullify" - "github.com/lavanet/lava/v2/x/conflict/client/cli" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/testutil/network" + "github.com/lavanet/lava/v3/testutil/nullify" + "github.com/lavanet/lava/v3/x/conflict/client/cli" + "github.com/lavanet/lava/v3/x/conflict/types" ) // Prevent strconv unused error diff --git a/x/conflict/client/cli/query_consumer_conflicts.go b/x/conflict/client/cli/query_consumer_conflicts.go index 054e5b4d6a..17bcd5d166 100644 --- a/x/conflict/client/cli/query_consumer_conflicts.go +++ b/x/conflict/client/cli/query_consumer_conflicts.go @@ -3,8 +3,8 @@ package cli import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/conflict/types" "github.com/spf13/cobra" ) diff --git a/x/conflict/client/cli/query_params.go b/x/conflict/client/cli/query_params.go index a357ed2389..54b61b4fd3 100644 --- a/x/conflict/client/cli/query_params.go +++ b/x/conflict/client/cli/query_params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/x/conflict/types" "github.com/spf13/cobra" ) diff --git a/x/conflict/client/cli/query_provider_conflicts.go b/x/conflict/client/cli/query_provider_conflicts.go index 7a61453212..c299b9cd6a 100644 --- a/x/conflict/client/cli/query_provider_conflicts.go +++ b/x/conflict/client/cli/query_provider_conflicts.go @@ -3,8 +3,8 @@ package cli import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/conflict/types" "github.com/spf13/cobra" ) diff --git a/x/conflict/client/cli/tx.go b/x/conflict/client/cli/tx.go index 24f79c6c9b..cef4c40147 100644 --- a/x/conflict/client/cli/tx.go +++ b/x/conflict/client/cli/tx.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" // "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/x/conflict/types" ) var DefaultRelativePacketTimeoutTimestamp = uint64((time.Duration(10) * time.Minute).Nanoseconds()) diff --git a/x/conflict/client/cli/tx_conflict_vote_commit.go b/x/conflict/client/cli/tx_conflict_vote_commit.go index 6a854625bd..f66a1feb40 100644 --- a/x/conflict/client/cli/tx_conflict_vote_commit.go +++ b/x/conflict/client/cli/tx_conflict_vote_commit.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/x/conflict/types" "github.com/spf13/cobra" ) diff --git a/x/conflict/client/cli/tx_conflict_vote_reveal.go b/x/conflict/client/cli/tx_conflict_vote_reveal.go index e2522882a2..e035d66dd6 100644 --- a/x/conflict/client/cli/tx_conflict_vote_reveal.go +++ b/x/conflict/client/cli/tx_conflict_vote_reveal.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/x/conflict/types" "github.com/spf13/cast" "github.com/spf13/cobra" ) diff --git a/x/conflict/client/cli/tx_detection.go b/x/conflict/client/cli/tx_detection.go index 6669d74620..12e60e8da2 100644 --- a/x/conflict/client/cli/tx_detection.go +++ b/x/conflict/client/cli/tx_detection.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/x/conflict/types" "github.com/spf13/cobra" ) diff --git a/x/conflict/genesis.go b/x/conflict/genesis.go index f1369c26ec..c50527a21f 100644 --- a/x/conflict/genesis.go +++ b/x/conflict/genesis.go @@ -2,8 +2,8 @@ package conflict import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/conflict/keeper" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/x/conflict/keeper" + "github.com/lavanet/lava/v3/x/conflict/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/conflict/genesis_test.go b/x/conflict/genesis_test.go index 0bd923fab8..ece34c0eef 100644 --- a/x/conflict/genesis_test.go +++ b/x/conflict/genesis_test.go @@ -3,10 +3,10 @@ package conflict_test import ( "testing" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/testutil/nullify" - "github.com/lavanet/lava/v2/x/conflict" - "github.com/lavanet/lava/v2/x/conflict/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/testutil/nullify" + "github.com/lavanet/lava/v3/x/conflict" + "github.com/lavanet/lava/v3/x/conflict/types" "github.com/stretchr/testify/require" ) diff --git a/x/conflict/handler.go b/x/conflict/handler.go index 6872196bf4..3ca99b0d85 100644 --- a/x/conflict/handler.go +++ b/x/conflict/handler.go @@ -6,8 +6,8 @@ import ( sdkerrors "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/x/conflict/keeper" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/x/conflict/keeper" + "github.com/lavanet/lava/v3/x/conflict/types" ) // NewHandler ... diff --git a/x/conflict/keeper/conflict.go b/x/conflict/keeper/conflict.go index 473c8d07d0..a3e6e31a1a 100644 --- a/x/conflict/keeper/conflict.go +++ b/x/conflict/keeper/conflict.go @@ -6,13 +6,13 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/lavaslices" - "github.com/lavanet/lava/v2/utils/maps" - "github.com/lavanet/lava/v2/utils/sigs" - "github.com/lavanet/lava/v2/x/conflict/types" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/lavaslices" + "github.com/lavanet/lava/v3/utils/maps" + "github.com/lavanet/lava/v3/utils/sigs" + "github.com/lavanet/lava/v3/x/conflict/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) func (k Keeper) ValidateFinalizationConflict(ctx sdk.Context, conflictData *types.FinalizationConflict, clientAddr sdk.AccAddress) error { diff --git a/x/conflict/keeper/conflict_test.go b/x/conflict/keeper/conflict_test.go index 7fa1024974..adeaf26d63 100644 --- a/x/conflict/keeper/conflict_test.go +++ b/x/conflict/keeper/conflict_test.go @@ -4,9 +4,9 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/testutil/common" - "github.com/lavanet/lava/v2/x/conflict/keeper" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/testutil/common" + "github.com/lavanet/lava/v3/x/conflict/keeper" + "github.com/lavanet/lava/v3/x/conflict/types" "github.com/stretchr/testify/require" ) diff --git a/x/conflict/keeper/conflict_vote.go b/x/conflict/keeper/conflict_vote.go index ed8bb5cfa8..810c701b2a 100644 --- a/x/conflict/keeper/conflict_vote.go +++ b/x/conflict/keeper/conflict_vote.go @@ -3,7 +3,7 @@ package keeper import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/x/conflict/types" ) // SetConflictVote set a specific conflictVote in the store from its index diff --git a/x/conflict/keeper/conflict_vote_test.go b/x/conflict/keeper/conflict_vote_test.go index 79f8ce61f2..f8458b6bb5 100644 --- a/x/conflict/keeper/conflict_vote_test.go +++ b/x/conflict/keeper/conflict_vote_test.go @@ -5,10 +5,10 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/testutil/nullify" - "github.com/lavanet/lava/v2/x/conflict/keeper" - "github.com/lavanet/lava/v2/x/conflict/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/testutil/nullify" + "github.com/lavanet/lava/v3/x/conflict/keeper" + "github.com/lavanet/lava/v3/x/conflict/types" "github.com/stretchr/testify/require" ) diff --git a/x/conflict/keeper/grpc_query.go b/x/conflict/keeper/grpc_query.go index 11c171ef99..504ce3baf0 100644 --- a/x/conflict/keeper/grpc_query.go +++ b/x/conflict/keeper/grpc_query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/x/conflict/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/conflict/keeper/grpc_query_conflict_vote.go b/x/conflict/keeper/grpc_query_conflict_vote.go index fda470ad67..c798c27fff 100644 --- a/x/conflict/keeper/grpc_query_conflict_vote.go +++ b/x/conflict/keeper/grpc_query_conflict_vote.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/x/conflict/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/conflict/keeper/grpc_query_conflict_vote_test.go b/x/conflict/keeper/grpc_query_conflict_vote_test.go index 647d16fbd6..9db99447fb 100644 --- a/x/conflict/keeper/grpc_query_conflict_vote_test.go +++ b/x/conflict/keeper/grpc_query_conflict_vote_test.go @@ -10,9 +10,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/testutil/nullify" - "github.com/lavanet/lava/v2/x/conflict/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/testutil/nullify" + "github.com/lavanet/lava/v3/x/conflict/types" ) // Prevent strconv unused error diff --git a/x/conflict/keeper/grpc_query_consumer_conflicts.go b/x/conflict/keeper/grpc_query_consumer_conflicts.go index 0d58245cad..33c48909d3 100644 --- a/x/conflict/keeper/grpc_query_consumer_conflicts.go +++ b/x/conflict/keeper/grpc_query_consumer_conflicts.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/x/conflict/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/conflict/keeper/grpc_query_consumer_conflicts_test.go b/x/conflict/keeper/grpc_query_consumer_conflicts_test.go index 6d5cc852e8..88717d200c 100644 --- a/x/conflict/keeper/grpc_query_consumer_conflicts_test.go +++ b/x/conflict/keeper/grpc_query_consumer_conflicts_test.go @@ -5,8 +5,8 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/conflict/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/conflict/types" "github.com/stretchr/testify/require" ) diff --git a/x/conflict/keeper/grpc_query_params.go b/x/conflict/keeper/grpc_query_params.go index 8199d47198..248457fcbe 100644 --- a/x/conflict/keeper/grpc_query_params.go +++ b/x/conflict/keeper/grpc_query_params.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/x/conflict/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/conflict/keeper/grpc_query_params_test.go b/x/conflict/keeper/grpc_query_params_test.go index 1fc431bde9..32e5742f40 100644 --- a/x/conflict/keeper/grpc_query_params_test.go +++ b/x/conflict/keeper/grpc_query_params_test.go @@ -4,8 +4,8 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/conflict/types" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/conflict/types" "github.com/stretchr/testify/require" ) diff --git a/x/conflict/keeper/grpc_query_provider_conflicts.go b/x/conflict/keeper/grpc_query_provider_conflicts.go index 6a9b5b721d..f011da5275 100644 --- a/x/conflict/keeper/grpc_query_provider_conflicts.go +++ b/x/conflict/keeper/grpc_query_provider_conflicts.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/x/conflict/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/conflict/keeper/grpc_query_provider_conflicts_test.go b/x/conflict/keeper/grpc_query_provider_conflicts_test.go index d99872824b..fc43419fe2 100644 --- a/x/conflict/keeper/grpc_query_provider_conflicts_test.go +++ b/x/conflict/keeper/grpc_query_provider_conflicts_test.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/conflict/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/conflict/types" ) // Prevent strconv unused error diff --git a/x/conflict/keeper/keeper.go b/x/conflict/keeper/keeper.go index 389dea3a7b..89094670f9 100644 --- a/x/conflict/keeper/keeper.go +++ b/x/conflict/keeper/keeper.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/x/conflict/types" ) type ( diff --git a/x/conflict/keeper/migrations.go b/x/conflict/keeper/migrations.go index 8ecffc7954..5aaf4934cb 100644 --- a/x/conflict/keeper/migrations.go +++ b/x/conflict/keeper/migrations.go @@ -2,7 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - v5 "github.com/lavanet/lava/v2/x/conflict/migrations/v5" + v5 "github.com/lavanet/lava/v3/x/conflict/migrations/v5" ) type Migrator struct { diff --git a/x/conflict/keeper/msg_server.go b/x/conflict/keeper/msg_server.go index a05c5bdce8..8ac8dbe84f 100644 --- a/x/conflict/keeper/msg_server.go +++ b/x/conflict/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/x/conflict/types" ) type msgServer struct { diff --git a/x/conflict/keeper/msg_server_conflict_vote_commit.go b/x/conflict/keeper/msg_server_conflict_vote_commit.go index 4e3884eb9e..4c263230bf 100644 --- a/x/conflict/keeper/msg_server_conflict_vote_commit.go +++ b/x/conflict/keeper/msg_server_conflict_vote_commit.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/conflict/types" ) func (k msgServer) ConflictVoteCommit(goCtx context.Context, msg *types.MsgConflictVoteCommit) (*types.MsgConflictVoteCommitResponse, error) { diff --git a/x/conflict/keeper/msg_server_conflict_vote_reveal.go b/x/conflict/keeper/msg_server_conflict_vote_reveal.go index 0c132d570e..a27bc4e12c 100644 --- a/x/conflict/keeper/msg_server_conflict_vote_reveal.go +++ b/x/conflict/keeper/msg_server_conflict_vote_reveal.go @@ -6,9 +6,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/sigs" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/sigs" + "github.com/lavanet/lava/v3/x/conflict/types" ) func (k msgServer) ConflictVoteReveal(goCtx context.Context, msg *types.MsgConflictVoteReveal) (*types.MsgConflictVoteRevealResponse, error) { diff --git a/x/conflict/keeper/msg_server_detection.go b/x/conflict/keeper/msg_server_detection.go index 50d1354fce..e9d262062d 100644 --- a/x/conflict/keeper/msg_server_detection.go +++ b/x/conflict/keeper/msg_server_detection.go @@ -8,9 +8,9 @@ import ( "strings" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/conflict/types" - pairingfilters "github.com/lavanet/lava/v2/x/pairing/keeper/filters" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/conflict/types" + pairingfilters "github.com/lavanet/lava/v3/x/pairing/keeper/filters" "golang.org/x/exp/slices" ) diff --git a/x/conflict/keeper/msg_server_detection_test.go b/x/conflict/keeper/msg_server_detection_test.go index 2c3f0c920d..a6709b1211 100644 --- a/x/conflict/keeper/msg_server_detection_test.go +++ b/x/conflict/keeper/msg_server_detection_test.go @@ -5,15 +5,15 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/testutil/common" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/lavaslices" - "github.com/lavanet/lava/v2/utils/sigs" - conflicttypes "github.com/lavanet/lava/v2/x/conflict/types" - conflictconstruct "github.com/lavanet/lava/v2/x/conflict/types/construct" - "github.com/lavanet/lava/v2/x/pairing/types" - plantypes "github.com/lavanet/lava/v2/x/plans/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/testutil/common" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/lavaslices" + "github.com/lavanet/lava/v3/utils/sigs" + conflicttypes "github.com/lavanet/lava/v3/x/conflict/types" + conflictconstruct "github.com/lavanet/lava/v3/x/conflict/types/construct" + "github.com/lavanet/lava/v3/x/pairing/types" + plantypes "github.com/lavanet/lava/v3/x/plans/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" ) diff --git a/x/conflict/keeper/msg_server_test.go b/x/conflict/keeper/msg_server_test.go index 808b3c51b8..9b61dd7d83 100644 --- a/x/conflict/keeper/msg_server_test.go +++ b/x/conflict/keeper/msg_server_test.go @@ -5,9 +5,9 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/conflict/keeper" - "github.com/lavanet/lava/v2/x/conflict/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/conflict/keeper" + "github.com/lavanet/lava/v3/x/conflict/types" ) func setupMsgServer(t testing.TB) (types.MsgServer, context.Context) { diff --git a/x/conflict/keeper/params.go b/x/conflict/keeper/params.go index 1bb7c907a7..07201b6dd6 100644 --- a/x/conflict/keeper/params.go +++ b/x/conflict/keeper/params.go @@ -2,7 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/x/conflict/types" ) // GetParams get all parameters as types.Params diff --git a/x/conflict/keeper/params_test.go b/x/conflict/keeper/params_test.go index e4ce0f51cd..1ca4277249 100644 --- a/x/conflict/keeper/params_test.go +++ b/x/conflict/keeper/params_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/conflict/types" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/conflict/types" "github.com/stretchr/testify/require" ) diff --git a/x/conflict/keeper/vote.go b/x/conflict/keeper/vote.go index 461821e65e..0555b92222 100644 --- a/x/conflict/keeper/vote.go +++ b/x/conflict/keeper/vote.go @@ -6,8 +6,8 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/conflict/types" "golang.org/x/exp/slices" ) diff --git a/x/conflict/keeper/vote_test.go b/x/conflict/keeper/vote_test.go index 13f3a131d9..4df3650f17 100644 --- a/x/conflict/keeper/vote_test.go +++ b/x/conflict/keeper/vote_test.go @@ -3,12 +3,12 @@ package keeper_test import ( "testing" - "github.com/lavanet/lava/v2/testutil/common" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/rand" - "github.com/lavanet/lava/v2/utils/sigs" - conflicttypes "github.com/lavanet/lava/v2/x/conflict/types" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/testutil/common" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/rand" + "github.com/lavanet/lava/v3/utils/sigs" + conflicttypes "github.com/lavanet/lava/v3/x/conflict/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" "github.com/stretchr/testify/require" ) diff --git a/x/conflict/migrations/v5/migrations.go b/x/conflict/migrations/v5/migrations.go index b515481c2f..d69d539f11 100644 --- a/x/conflict/migrations/v5/migrations.go +++ b/x/conflict/migrations/v5/migrations.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/types" ) const ( diff --git a/x/conflict/module.go b/x/conflict/module.go index 5c1bd71438..06e533c5b0 100644 --- a/x/conflict/module.go +++ b/x/conflict/module.go @@ -16,9 +16,9 @@ import ( cdctypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/lavanet/lava/v2/x/conflict/client/cli" - "github.com/lavanet/lava/v2/x/conflict/keeper" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/x/conflict/client/cli" + "github.com/lavanet/lava/v3/x/conflict/keeper" + "github.com/lavanet/lava/v3/x/conflict/types" ) var ( diff --git a/x/conflict/module_simulation.go b/x/conflict/module_simulation.go index 3373bb86ce..9cfed97f9a 100644 --- a/x/conflict/module_simulation.go +++ b/x/conflict/module_simulation.go @@ -11,9 +11,9 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/lavanet/lava/v2/testutil/sample" - conflictsimulation "github.com/lavanet/lava/v2/x/conflict/simulation" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/testutil/sample" + conflictsimulation "github.com/lavanet/lava/v3/x/conflict/simulation" + "github.com/lavanet/lava/v3/x/conflict/types" ) // avoid unused import issue diff --git a/x/conflict/simulation/conflict_vote_commit.go b/x/conflict/simulation/conflict_vote_commit.go index 036482fd64..4b32e498f0 100644 --- a/x/conflict/simulation/conflict_vote_commit.go +++ b/x/conflict/simulation/conflict_vote_commit.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/lavanet/lava/v2/x/conflict/keeper" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/x/conflict/keeper" + "github.com/lavanet/lava/v3/x/conflict/types" ) func SimulateMsgConflictVoteCommit( diff --git a/x/conflict/simulation/conflict_vote_reveal.go b/x/conflict/simulation/conflict_vote_reveal.go index adc5f4889a..f7261a940d 100644 --- a/x/conflict/simulation/conflict_vote_reveal.go +++ b/x/conflict/simulation/conflict_vote_reveal.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/lavanet/lava/v2/x/conflict/keeper" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/x/conflict/keeper" + "github.com/lavanet/lava/v3/x/conflict/types" ) func SimulateMsgConflictVoteReveal( diff --git a/x/conflict/simulation/detection.go b/x/conflict/simulation/detection.go index 1fafedd35b..1fc80120b9 100644 --- a/x/conflict/simulation/detection.go +++ b/x/conflict/simulation/detection.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/lavanet/lava/v2/x/conflict/keeper" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/x/conflict/keeper" + "github.com/lavanet/lava/v3/x/conflict/types" ) func SimulateMsgDetection( diff --git a/x/conflict/types/conflict_data.pb.go b/x/conflict/types/conflict_data.pb.go index 799227e31a..b7cd2b4d03 100644 --- a/x/conflict/types/conflict_data.pb.go +++ b/x/conflict/types/conflict_data.pb.go @@ -7,7 +7,7 @@ import ( fmt "fmt" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" - types "github.com/lavanet/lava/v2/x/pairing/types" + types "github.com/lavanet/lava/v3/x/pairing/types" io "io" math "math" math_bits "math/bits" diff --git a/x/conflict/types/construct/types.go b/x/conflict/types/construct/types.go index 25beccc076..51d692cd72 100644 --- a/x/conflict/types/construct/types.go +++ b/x/conflict/types/construct/types.go @@ -1,9 +1,9 @@ package construct import ( - "github.com/lavanet/lava/v2/utils/sigs" - "github.com/lavanet/lava/v2/x/conflict/types" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils/sigs" + "github.com/lavanet/lava/v3/x/conflict/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" ) func ConstructReplyMetadata(reply *pairingtypes.RelayReply, req *pairingtypes.RelayRequest) *types.ReplyMetadata { diff --git a/x/conflict/types/expected_keepers.go b/x/conflict/types/expected_keepers.go index d1c9d9a9ae..2750df0032 100644 --- a/x/conflict/types/expected_keepers.go +++ b/x/conflict/types/expected_keepers.go @@ -3,9 +3,9 @@ package types import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - projectstypes "github.com/lavanet/lava/v2/x/projects/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + projectstypes "github.com/lavanet/lava/v3/x/projects/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) type PairingKeeper interface { diff --git a/x/conflict/types/genesis_test.go b/x/conflict/types/genesis_test.go index b3e5741f9e..a2fbdaaebd 100644 --- a/x/conflict/types/genesis_test.go +++ b/x/conflict/types/genesis_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "github.com/lavanet/lava/v2/x/conflict/types" + "github.com/lavanet/lava/v3/x/conflict/types" "github.com/stretchr/testify/require" ) diff --git a/x/conflict/types/message_conflict_vote_commit_test.go b/x/conflict/types/message_conflict_vote_commit_test.go index 8e9a5587bd..d145a9c99f 100644 --- a/x/conflict/types/message_conflict_vote_commit_test.go +++ b/x/conflict/types/message_conflict_vote_commit_test.go @@ -4,7 +4,7 @@ import ( "testing" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/testutil/sample" + "github.com/lavanet/lava/v3/testutil/sample" "github.com/stretchr/testify/require" ) diff --git a/x/conflict/types/message_conflict_vote_reveal_test.go b/x/conflict/types/message_conflict_vote_reveal_test.go index 36bed287fe..fc4dd97f6d 100644 --- a/x/conflict/types/message_conflict_vote_reveal_test.go +++ b/x/conflict/types/message_conflict_vote_reveal_test.go @@ -4,7 +4,7 @@ import ( "testing" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/testutil/sample" + "github.com/lavanet/lava/v3/testutil/sample" "github.com/stretchr/testify/require" ) diff --git a/x/conflict/types/message_detection_test.go b/x/conflict/types/message_detection_test.go index 8d94ecdf2a..8e364117bf 100644 --- a/x/conflict/types/message_detection_test.go +++ b/x/conflict/types/message_detection_test.go @@ -4,7 +4,7 @@ import ( "testing" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/testutil/sample" + "github.com/lavanet/lava/v3/testutil/sample" "github.com/stretchr/testify/require" ) diff --git a/x/conflict/types/relay_finalization.go b/x/conflict/types/relay_finalization.go index d594d85d29..66e75df0f1 100644 --- a/x/conflict/types/relay_finalization.go +++ b/x/conflict/types/relay_finalization.go @@ -6,9 +6,9 @@ import ( tendermintcrypto "github.com/cometbft/cometbft/crypto" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/sigs" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/sigs" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" ) func NewRelayFinalizationFromReplyMetadataAndRelayRequest(reply ReplyMetadata, req pairingtypes.RelayRequest, consumerAddr sdk.AccAddress) RelayFinalization { diff --git a/x/conflict/types/types.go b/x/conflict/types/types.go index 91173c0748..f6719d9409 100644 --- a/x/conflict/types/types.go +++ b/x/conflict/types/types.go @@ -2,7 +2,7 @@ package types import ( tendermintcrypto "github.com/cometbft/cometbft/crypto" - "github.com/lavanet/lava/v2/utils/sigs" + "github.com/lavanet/lava/v3/utils/sigs" ) const ( diff --git a/x/downtime/client/cli/query.go b/x/downtime/client/cli/query.go index f45387d177..15f51a2052 100644 --- a/x/downtime/client/cli/query.go +++ b/x/downtime/client/cli/query.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/downtime/types" - v1 "github.com/lavanet/lava/v2/x/downtime/v1" + "github.com/lavanet/lava/v3/x/downtime/types" + v1 "github.com/lavanet/lava/v3/x/downtime/v1" "github.com/spf13/cobra" ) diff --git a/x/downtime/client/cli/tx.go b/x/downtime/client/cli/tx.go index 64f0e25ed3..2a6f528b56 100644 --- a/x/downtime/client/cli/tx.go +++ b/x/downtime/client/cli/tx.go @@ -3,7 +3,7 @@ package cli import ( "fmt" - "github.com/lavanet/lava/v2/x/downtime/types" + "github.com/lavanet/lava/v3/x/downtime/types" "github.com/spf13/cobra" ) diff --git a/x/downtime/keeper/keeper.go b/x/downtime/keeper/keeper.go index 09d367b81c..0682225953 100644 --- a/x/downtime/keeper/keeper.go +++ b/x/downtime/keeper/keeper.go @@ -10,8 +10,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" gogowellknown "github.com/gogo/protobuf/types" - "github.com/lavanet/lava/v2/x/downtime/types" - v1 "github.com/lavanet/lava/v2/x/downtime/v1" + "github.com/lavanet/lava/v3/x/downtime/types" + v1 "github.com/lavanet/lava/v3/x/downtime/v1" ) type EpochStorageKeeper interface { diff --git a/x/downtime/keeper/keeper_test.go b/x/downtime/keeper/keeper_test.go index 3c3b7b41b7..90e649c447 100644 --- a/x/downtime/keeper/keeper_test.go +++ b/x/downtime/keeper/keeper_test.go @@ -5,9 +5,9 @@ import ( "time" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/app" - v1 "github.com/lavanet/lava/v2/x/downtime/v1" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/app" + v1 "github.com/lavanet/lava/v3/x/downtime/v1" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" "github.com/stretchr/testify/require" ) diff --git a/x/downtime/keeper/query_server.go b/x/downtime/keeper/query_server.go index c61eedfa95..e13616ae63 100644 --- a/x/downtime/keeper/query_server.go +++ b/x/downtime/keeper/query_server.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - v1 "github.com/lavanet/lava/v2/x/downtime/v1" + v1 "github.com/lavanet/lava/v3/x/downtime/v1" ) var _ v1.QueryServer = queryServer{} diff --git a/x/downtime/keeper/query_server_test.go b/x/downtime/keeper/query_server_test.go index dd75600e45..0f307451b9 100644 --- a/x/downtime/keeper/query_server_test.go +++ b/x/downtime/keeper/query_server_test.go @@ -6,10 +6,10 @@ import ( "time" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/app" - "github.com/lavanet/lava/v2/x/downtime/keeper" - v1 "github.com/lavanet/lava/v2/x/downtime/v1" - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/app" + "github.com/lavanet/lava/v3/x/downtime/keeper" + v1 "github.com/lavanet/lava/v3/x/downtime/v1" + "github.com/lavanet/lava/v3/x/epochstorage/types" "github.com/stretchr/testify/require" ) diff --git a/x/downtime/module.go b/x/downtime/module.go index 097ff5cdfd..847b258dd4 100644 --- a/x/downtime/module.go +++ b/x/downtime/module.go @@ -11,10 +11,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" "github.com/grpc-ecosystem/grpc-gateway/runtime" - "github.com/lavanet/lava/v2/x/downtime/client/cli" - "github.com/lavanet/lava/v2/x/downtime/keeper" - "github.com/lavanet/lava/v2/x/downtime/types" - v1 "github.com/lavanet/lava/v2/x/downtime/v1" + "github.com/lavanet/lava/v3/x/downtime/client/cli" + "github.com/lavanet/lava/v3/x/downtime/keeper" + "github.com/lavanet/lava/v3/x/downtime/types" + v1 "github.com/lavanet/lava/v3/x/downtime/v1" "github.com/spf13/cobra" ) diff --git a/x/dualstaking/ante/disable_redelegation_hooks.go b/x/dualstaking/ante/disable_redelegation_hooks.go index f1a0d10511..b1e51d1cab 100644 --- a/x/dualstaking/ante/disable_redelegation_hooks.go +++ b/x/dualstaking/ante/disable_redelegation_hooks.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/x/authz" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/dualstaking/keeper" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/dualstaking/keeper" ) // RedelegationFlager sets the dualstaking redelegation flag when needed. diff --git a/x/dualstaking/ante/disable_redelegation_hooks_test.go b/x/dualstaking/ante/disable_redelegation_hooks_test.go index ded204030b..b13da36bf2 100644 --- a/x/dualstaking/ante/disable_redelegation_hooks_test.go +++ b/x/dualstaking/ante/disable_redelegation_hooks_test.go @@ -6,9 +6,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/authz" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/lavanet/lava/v2/testutil/common" - commontypes "github.com/lavanet/lava/v2/utils/common/types" - "github.com/lavanet/lava/v2/x/dualstaking/ante" + "github.com/lavanet/lava/v3/testutil/common" + commontypes "github.com/lavanet/lava/v3/utils/common/types" + "github.com/lavanet/lava/v3/x/dualstaking/ante" "github.com/stretchr/testify/require" ) diff --git a/x/dualstaking/client/cli/query.go b/x/dualstaking/client/cli/query.go index 20bc8d90d7..c6db834104 100644 --- a/x/dualstaking/client/cli/query.go +++ b/x/dualstaking/client/cli/query.go @@ -10,7 +10,7 @@ import ( // "github.com/cosmos/cosmos-sdk/client/flags" // sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/x/dualstaking/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/dualstaking/client/cli/query_delegator_providers.go b/x/dualstaking/client/cli/query_delegator_providers.go index ab8f0b9bf0..07a1e57411 100644 --- a/x/dualstaking/client/cli/query_delegator_providers.go +++ b/x/dualstaking/client/cli/query_delegator_providers.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/dualstaking/types" ) const WithPendingDelegatorsFlagName = "with-pending" diff --git a/x/dualstaking/client/cli/query_delegator_rewards.go b/x/dualstaking/client/cli/query_delegator_rewards.go index 82d2805012..333418596b 100644 --- a/x/dualstaking/client/cli/query_delegator_rewards.go +++ b/x/dualstaking/client/cli/query_delegator_rewards.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/dualstaking/types" ) const ( diff --git a/x/dualstaking/client/cli/query_params.go b/x/dualstaking/client/cli/query_params.go index 3e6c76bfc2..20adbfa204 100644 --- a/x/dualstaking/client/cli/query_params.go +++ b/x/dualstaking/client/cli/query_params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/x/dualstaking/types" ) func CmdQueryParams() *cobra.Command { diff --git a/x/dualstaking/client/cli/query_provider_delegators.go b/x/dualstaking/client/cli/query_provider_delegators.go index dffcbc1c1f..84947c84df 100644 --- a/x/dualstaking/client/cli/query_provider_delegators.go +++ b/x/dualstaking/client/cli/query_provider_delegators.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/dualstaking/types" ) func CmdQueryProviderDelegators() *cobra.Command { diff --git a/x/dualstaking/client/cli/tx.go b/x/dualstaking/client/cli/tx.go index eaf9c47c85..1caeff6fa5 100644 --- a/x/dualstaking/client/cli/tx.go +++ b/x/dualstaking/client/cli/tx.go @@ -7,7 +7,7 @@ import ( "github.com/spf13/cobra" "github.com/cosmos/cosmos-sdk/client" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/x/dualstaking/types" ) var DefaultRelativePacketTimeoutTimestamp = uint64((time.Duration(10) * time.Minute).Nanoseconds()) diff --git a/x/dualstaking/client/cli/tx_claim_rewards.go b/x/dualstaking/client/cli/tx_claim_rewards.go index 094fe38c32..da40ad0b0a 100644 --- a/x/dualstaking/client/cli/tx_claim_rewards.go +++ b/x/dualstaking/client/cli/tx_claim_rewards.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/dualstaking/types" "github.com/spf13/cobra" ) diff --git a/x/dualstaking/client/cli/tx_delegate.go b/x/dualstaking/client/cli/tx_delegate.go index 431707b6f7..fd57bd95d2 100644 --- a/x/dualstaking/client/cli/tx_delegate.go +++ b/x/dualstaking/client/cli/tx_delegate.go @@ -9,8 +9,8 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/dualstaking/types" "github.com/spf13/cobra" ) diff --git a/x/dualstaking/client/cli/tx_redelegate.go b/x/dualstaking/client/cli/tx_redelegate.go index e027a00a51..109e48030d 100644 --- a/x/dualstaking/client/cli/tx_redelegate.go +++ b/x/dualstaking/client/cli/tx_redelegate.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/dualstaking/types" "github.com/spf13/cobra" ) diff --git a/x/dualstaking/client/cli/tx_unbond.go b/x/dualstaking/client/cli/tx_unbond.go index e0a6ff9ec5..49c9fe6e55 100644 --- a/x/dualstaking/client/cli/tx_unbond.go +++ b/x/dualstaking/client/cli/tx_unbond.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/dualstaking/types" "github.com/spf13/cobra" ) diff --git a/x/dualstaking/genesis.go b/x/dualstaking/genesis.go index 8845e12132..5b6fecf674 100644 --- a/x/dualstaking/genesis.go +++ b/x/dualstaking/genesis.go @@ -2,8 +2,8 @@ package dualstaking import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/dualstaking/keeper" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/x/dualstaking/keeper" + "github.com/lavanet/lava/v3/x/dualstaking/types" ) // InitGenesis initializes the module's state from a provided genesis state. diff --git a/x/dualstaking/genesis_test.go b/x/dualstaking/genesis_test.go index b052655942..33087b7290 100644 --- a/x/dualstaking/genesis_test.go +++ b/x/dualstaking/genesis_test.go @@ -3,10 +3,10 @@ package dualstaking_test import ( "testing" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/testutil/nullify" - "github.com/lavanet/lava/v2/x/dualstaking" - "github.com/lavanet/lava/v2/x/dualstaking/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/testutil/nullify" + "github.com/lavanet/lava/v3/x/dualstaking" + "github.com/lavanet/lava/v3/x/dualstaking/types" "github.com/stretchr/testify/require" ) diff --git a/x/dualstaking/handler.go b/x/dualstaking/handler.go index 45daf773c6..3e0e9cc374 100644 --- a/x/dualstaking/handler.go +++ b/x/dualstaking/handler.go @@ -6,8 +6,8 @@ import ( sdkerrors "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/x/dualstaking/keeper" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/x/dualstaking/keeper" + "github.com/lavanet/lava/v3/x/dualstaking/types" ) // NewHandler ... diff --git a/x/dualstaking/keeper/balance.go b/x/dualstaking/keeper/balance.go index b8571250d0..92292835ab 100644 --- a/x/dualstaking/keeper/balance.go +++ b/x/dualstaking/keeper/balance.go @@ -2,8 +2,8 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - commontypes "github.com/lavanet/lava/v2/utils/common/types" + "github.com/lavanet/lava/v3/utils" + commontypes "github.com/lavanet/lava/v3/utils/common/types" ) func (k Keeper) BalanceDelegator(ctx sdk.Context, delegator sdk.AccAddress) (int, error) { diff --git a/x/dualstaking/keeper/delegate.go b/x/dualstaking/keeper/delegate.go index d95ac248cf..55ce98d461 100644 --- a/x/dualstaking/keeper/delegate.go +++ b/x/dualstaking/keeper/delegate.go @@ -22,11 +22,11 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - commontypes "github.com/lavanet/lava/v2/utils/common/types" - lavaslices "github.com/lavanet/lava/v2/utils/lavaslices" - "github.com/lavanet/lava/v2/x/dualstaking/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/utils" + commontypes "github.com/lavanet/lava/v3/utils/common/types" + lavaslices "github.com/lavanet/lava/v3/utils/lavaslices" + "github.com/lavanet/lava/v3/x/dualstaking/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" "golang.org/x/exp/slices" ) diff --git a/x/dualstaking/keeper/delegate_test.go b/x/dualstaking/keeper/delegate_test.go index e3a442f4ee..20ba822e4f 100644 --- a/x/dualstaking/keeper/delegate_test.go +++ b/x/dualstaking/keeper/delegate_test.go @@ -5,8 +5,8 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/testutil/common" - commontypes "github.com/lavanet/lava/v2/utils/common/types" + "github.com/lavanet/lava/v3/testutil/common" + commontypes "github.com/lavanet/lava/v3/utils/common/types" "github.com/stretchr/testify/require" ) diff --git a/x/dualstaking/keeper/delegator_reward.go b/x/dualstaking/keeper/delegator_reward.go index 26142e8a48..3bff7afe86 100644 --- a/x/dualstaking/keeper/delegator_reward.go +++ b/x/dualstaking/keeper/delegator_reward.go @@ -6,11 +6,11 @@ import ( "cosmossdk.io/math" "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/lavaslices" - "github.com/lavanet/lava/v2/x/dualstaking/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/lavaslices" + "github.com/lavanet/lava/v3/x/dualstaking/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) // SetDelegatorReward set a specific DelegatorReward in the store from its index diff --git a/x/dualstaking/keeper/delegator_reward_test.go b/x/dualstaking/keeper/delegator_reward_test.go index 97ac4d32d8..ca684a3f60 100644 --- a/x/dualstaking/keeper/delegator_reward_test.go +++ b/x/dualstaking/keeper/delegator_reward_test.go @@ -5,10 +5,10 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/testutil/nullify" - "github.com/lavanet/lava/v2/x/dualstaking/keeper" - "github.com/lavanet/lava/v2/x/dualstaking/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/testutil/nullify" + "github.com/lavanet/lava/v3/x/dualstaking/keeper" + "github.com/lavanet/lava/v3/x/dualstaking/types" "github.com/stretchr/testify/require" ) diff --git a/x/dualstaking/keeper/grpc_query_delegator_providers.go b/x/dualstaking/keeper/grpc_query_delegator_providers.go index 98730d7d93..172a6e6d65 100644 --- a/x/dualstaking/keeper/grpc_query_delegator_providers.go +++ b/x/dualstaking/keeper/grpc_query_delegator_providers.go @@ -5,8 +5,8 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/dualstaking/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/dualstaking/keeper/grpc_query_delegator_providers_test.go b/x/dualstaking/keeper/grpc_query_delegator_providers_test.go index e5e5a11f3d..a8688e6eee 100644 --- a/x/dualstaking/keeper/grpc_query_delegator_providers_test.go +++ b/x/dualstaking/keeper/grpc_query_delegator_providers_test.go @@ -4,8 +4,8 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/testutil/common" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/testutil/common" + "github.com/lavanet/lava/v3/x/dualstaking/types" "github.com/stretchr/testify/require" ) diff --git a/x/dualstaking/keeper/grpc_query_delegator_rewards.go b/x/dualstaking/keeper/grpc_query_delegator_rewards.go index d4c93de1f5..bea3ab4281 100644 --- a/x/dualstaking/keeper/grpc_query_delegator_rewards.go +++ b/x/dualstaking/keeper/grpc_query_delegator_rewards.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/x/dualstaking/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/dualstaking/keeper/grpc_query_provider_delegators.go b/x/dualstaking/keeper/grpc_query_provider_delegators.go index 9f9b65e646..72085ad045 100644 --- a/x/dualstaking/keeper/grpc_query_provider_delegators.go +++ b/x/dualstaking/keeper/grpc_query_provider_delegators.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/x/dualstaking/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/dualstaking/keeper/grpc_query_provider_delegators_test.go b/x/dualstaking/keeper/grpc_query_provider_delegators_test.go index ca5446fc94..4ae641a48e 100644 --- a/x/dualstaking/keeper/grpc_query_provider_delegators_test.go +++ b/x/dualstaking/keeper/grpc_query_provider_delegators_test.go @@ -4,8 +4,8 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/testutil/common" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/testutil/common" + "github.com/lavanet/lava/v3/x/dualstaking/types" "github.com/stretchr/testify/require" ) diff --git a/x/dualstaking/keeper/helpers_test.go b/x/dualstaking/keeper/helpers_test.go index 31ab04597d..9982176a50 100644 --- a/x/dualstaking/keeper/helpers_test.go +++ b/x/dualstaking/keeper/helpers_test.go @@ -4,10 +4,10 @@ import ( "testing" "cosmossdk.io/math" - "github.com/lavanet/lava/v2/testutil/common" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/testutil/common" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" ) diff --git a/x/dualstaking/keeper/hooks.go b/x/dualstaking/keeper/hooks.go index 74737110e4..e693da97f1 100644 --- a/x/dualstaking/keeper/hooks.go +++ b/x/dualstaking/keeper/hooks.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/dualstaking/types" ) // Wrapper struct diff --git a/x/dualstaking/keeper/hooks_test.go b/x/dualstaking/keeper/hooks_test.go index a7000d6c50..9a46c24953 100644 --- a/x/dualstaking/keeper/hooks_test.go +++ b/x/dualstaking/keeper/hooks_test.go @@ -9,11 +9,11 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/lavanet/lava/v2/testutil/common" - "github.com/lavanet/lava/v2/utils" - commontypes "github.com/lavanet/lava/v2/utils/common/types" - "github.com/lavanet/lava/v2/utils/sigs" - dualstakingtypes "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/testutil/common" + "github.com/lavanet/lava/v3/utils" + commontypes "github.com/lavanet/lava/v3/utils/common/types" + "github.com/lavanet/lava/v3/utils/sigs" + dualstakingtypes "github.com/lavanet/lava/v3/x/dualstaking/types" "github.com/stretchr/testify/require" "golang.org/x/exp/slices" ) diff --git a/x/dualstaking/keeper/keeper.go b/x/dualstaking/keeper/keeper.go index f9552ea7eb..4749bb3082 100644 --- a/x/dualstaking/keeper/keeper.go +++ b/x/dualstaking/keeper/keeper.go @@ -10,9 +10,9 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - fixationtypes "github.com/lavanet/lava/v2/x/fixationstore/types" + fixationtypes "github.com/lavanet/lava/v3/x/fixationstore/types" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/x/dualstaking/types" ) type ( diff --git a/x/dualstaking/keeper/migrations.go b/x/dualstaking/keeper/migrations.go index ca4564d49a..3e8254a8d3 100644 --- a/x/dualstaking/keeper/migrations.go +++ b/x/dualstaking/keeper/migrations.go @@ -5,9 +5,9 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - dualstakingv4 "github.com/lavanet/lava/v2/x/dualstaking/migrations/v4" - dualstakingtypes "github.com/lavanet/lava/v2/x/dualstaking/types" - "github.com/lavanet/lava/v2/x/pairing/types" + dualstakingv4 "github.com/lavanet/lava/v3/x/dualstaking/migrations/v4" + dualstakingtypes "github.com/lavanet/lava/v3/x/dualstaking/types" + "github.com/lavanet/lava/v3/x/pairing/types" ) type Migrator struct { diff --git a/x/dualstaking/keeper/msg_server.go b/x/dualstaking/keeper/msg_server.go index 4e00b79ba3..0a1fd6bdaa 100644 --- a/x/dualstaking/keeper/msg_server.go +++ b/x/dualstaking/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/x/dualstaking/types" ) type msgServer struct { diff --git a/x/dualstaking/keeper/msg_server_claim_rewards.go b/x/dualstaking/keeper/msg_server_claim_rewards.go index 2d1163121b..afa529647f 100644 --- a/x/dualstaking/keeper/msg_server_claim_rewards.go +++ b/x/dualstaking/keeper/msg_server_claim_rewards.go @@ -4,9 +4,9 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - commontypes "github.com/lavanet/lava/v2/utils/common/types" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/utils" + commontypes "github.com/lavanet/lava/v3/utils/common/types" + "github.com/lavanet/lava/v3/x/dualstaking/types" ) func (k msgServer) ClaimRewards(goCtx context.Context, msg *types.MsgClaimRewards) (*types.MsgClaimRewardsResponse, error) { diff --git a/x/dualstaking/keeper/msg_server_delegate.go b/x/dualstaking/keeper/msg_server_delegate.go index 070e714ae7..0ce56b460a 100644 --- a/x/dualstaking/keeper/msg_server_delegate.go +++ b/x/dualstaking/keeper/msg_server_delegate.go @@ -6,9 +6,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/lavanet/lava/v2/utils" - commontypes "github.com/lavanet/lava/v2/utils/common/types" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/utils" + commontypes "github.com/lavanet/lava/v3/utils/common/types" + "github.com/lavanet/lava/v3/x/dualstaking/types" ) func (k msgServer) Delegate(goCtx context.Context, msg *types.MsgDelegate) (*types.MsgDelegateResponse, error) { diff --git a/x/dualstaking/keeper/msg_server_redelegate.go b/x/dualstaking/keeper/msg_server_redelegate.go index 0a25fd4165..4e3c112b17 100644 --- a/x/dualstaking/keeper/msg_server_redelegate.go +++ b/x/dualstaking/keeper/msg_server_redelegate.go @@ -4,9 +4,9 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - commontypes "github.com/lavanet/lava/v2/utils/common/types" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/utils" + commontypes "github.com/lavanet/lava/v3/utils/common/types" + "github.com/lavanet/lava/v3/x/dualstaking/types" ) func (k msgServer) Redelegate(goCtx context.Context, msg *types.MsgRedelegate) (*types.MsgRedelegateResponse, error) { diff --git a/x/dualstaking/keeper/msg_server_test.go b/x/dualstaking/keeper/msg_server_test.go index e6010a1964..95e1be4373 100644 --- a/x/dualstaking/keeper/msg_server_test.go +++ b/x/dualstaking/keeper/msg_server_test.go @@ -5,9 +5,9 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/dualstaking/keeper" - "github.com/lavanet/lava/v2/x/dualstaking/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/dualstaking/keeper" + "github.com/lavanet/lava/v3/x/dualstaking/types" "github.com/stretchr/testify/require" ) diff --git a/x/dualstaking/keeper/msg_server_unbond.go b/x/dualstaking/keeper/msg_server_unbond.go index b6c354a955..d195fbf80e 100644 --- a/x/dualstaking/keeper/msg_server_unbond.go +++ b/x/dualstaking/keeper/msg_server_unbond.go @@ -4,9 +4,9 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - commontypes "github.com/lavanet/lava/v2/utils/common/types" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/utils" + commontypes "github.com/lavanet/lava/v3/utils/common/types" + "github.com/lavanet/lava/v3/x/dualstaking/types" ) func (k msgServer) Unbond(goCtx context.Context, msg *types.MsgUnbond) (*types.MsgUnbondResponse, error) { diff --git a/x/dualstaking/keeper/params.go b/x/dualstaking/keeper/params.go index bda905cba9..1fc16bfef7 100644 --- a/x/dualstaking/keeper/params.go +++ b/x/dualstaking/keeper/params.go @@ -2,7 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/x/dualstaking/types" ) // GetParams get all parameters as types.Params diff --git a/x/dualstaking/keeper/params_test.go b/x/dualstaking/keeper/params_test.go index 8469712eb6..d9e4f7c8a4 100644 --- a/x/dualstaking/keeper/params_test.go +++ b/x/dualstaking/keeper/params_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/dualstaking/types" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/dualstaking/types" "github.com/stretchr/testify/require" ) diff --git a/x/dualstaking/keeper/query.go b/x/dualstaking/keeper/query.go index 34161a9014..4db2a24f82 100644 --- a/x/dualstaking/keeper/query.go +++ b/x/dualstaking/keeper/query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/x/dualstaking/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/dualstaking/keeper/query_params.go b/x/dualstaking/keeper/query_params.go index 993c08c6da..8c007c0529 100644 --- a/x/dualstaking/keeper/query_params.go +++ b/x/dualstaking/keeper/query_params.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/x/dualstaking/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/dualstaking/keeper/query_params_test.go b/x/dualstaking/keeper/query_params_test.go index e51c2c2c97..f2d722a7c8 100644 --- a/x/dualstaking/keeper/query_params_test.go +++ b/x/dualstaking/keeper/query_params_test.go @@ -4,8 +4,8 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/dualstaking/types" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/dualstaking/types" "github.com/stretchr/testify/require" ) diff --git a/x/dualstaking/keeper/slashing.go b/x/dualstaking/keeper/slashing.go index 2c1c3e3dcd..00ae89c77f 100644 --- a/x/dualstaking/keeper/slashing.go +++ b/x/dualstaking/keeper/slashing.go @@ -3,8 +3,8 @@ package keeper import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/dualstaking/types" ) // balance delegators dualstaking after potential validators slashing diff --git a/x/dualstaking/module.go b/x/dualstaking/module.go index e71b104208..977359096f 100644 --- a/x/dualstaking/module.go +++ b/x/dualstaking/module.go @@ -17,9 +17,9 @@ import ( cdctypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/lavanet/lava/v2/x/dualstaking/client/cli" - "github.com/lavanet/lava/v2/x/dualstaking/keeper" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/x/dualstaking/client/cli" + "github.com/lavanet/lava/v3/x/dualstaking/keeper" + "github.com/lavanet/lava/v3/x/dualstaking/types" ) var ( diff --git a/x/dualstaking/module_simulation.go b/x/dualstaking/module_simulation.go index 4380646950..f191eafb13 100644 --- a/x/dualstaking/module_simulation.go +++ b/x/dualstaking/module_simulation.go @@ -8,9 +8,9 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/lavanet/lava/v2/testutil/sample" - dualstakingsimulation "github.com/lavanet/lava/v2/x/dualstaking/simulation" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/testutil/sample" + dualstakingsimulation "github.com/lavanet/lava/v3/x/dualstaking/simulation" + "github.com/lavanet/lava/v3/x/dualstaking/types" ) // avoid unused import issue diff --git a/x/dualstaking/simulation/claim_rewards.go b/x/dualstaking/simulation/claim_rewards.go index 8711414aa2..34dc76ada5 100644 --- a/x/dualstaking/simulation/claim_rewards.go +++ b/x/dualstaking/simulation/claim_rewards.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/lavanet/lava/v2/x/dualstaking/keeper" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/x/dualstaking/keeper" + "github.com/lavanet/lava/v3/x/dualstaking/types" ) func SimulateMsgClaimRewards( diff --git a/x/dualstaking/simulation/delegate.go b/x/dualstaking/simulation/delegate.go index 20c7672a5c..b5cdda6057 100644 --- a/x/dualstaking/simulation/delegate.go +++ b/x/dualstaking/simulation/delegate.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/lavanet/lava/v2/x/dualstaking/keeper" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/x/dualstaking/keeper" + "github.com/lavanet/lava/v3/x/dualstaking/types" ) func SimulateMsgDelegate( diff --git a/x/dualstaking/types/delegate.go b/x/dualstaking/types/delegate.go index 6e1d446d3f..420ebc5f70 100644 --- a/x/dualstaking/types/delegate.go +++ b/x/dualstaking/types/delegate.go @@ -4,8 +4,8 @@ import ( "time" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/lavaslices" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/lavaslices" ) func NewDelegation(delegator, provider, chainID string, blockTime time.Time, tokenDenom string) Delegation { diff --git a/x/dualstaking/types/expected_keepers.go b/x/dualstaking/types/expected_keepers.go index b9804b0e63..cd454a6c2f 100644 --- a/x/dualstaking/types/expected_keepers.go +++ b/x/dualstaking/types/expected_keepers.go @@ -8,9 +8,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - fixationstoretypes "github.com/lavanet/lava/v2/x/fixationstore/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + fixationstoretypes "github.com/lavanet/lava/v3/x/fixationstore/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) // AccountKeeper defines the expected account keeper used for simulations (noalias) diff --git a/x/dualstaking/types/genesis.go b/x/dualstaking/types/genesis.go index 3046d2c9f9..aefa38b541 100644 --- a/x/dualstaking/types/genesis.go +++ b/x/dualstaking/types/genesis.go @@ -3,7 +3,7 @@ package types import ( fmt "fmt" - fixationstoretypes "github.com/lavanet/lava/v2/x/fixationstore/types" + fixationstoretypes "github.com/lavanet/lava/v3/x/fixationstore/types" ) // DefaultIndex is the default global index diff --git a/x/dualstaking/types/genesis.pb.go b/x/dualstaking/types/genesis.pb.go index f49e627b8d..45ab186772 100644 --- a/x/dualstaking/types/genesis.pb.go +++ b/x/dualstaking/types/genesis.pb.go @@ -7,8 +7,8 @@ import ( fmt "fmt" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" - types "github.com/lavanet/lava/v2/x/fixationstore/types" - _ "github.com/lavanet/lava/v2/x/timerstore/types" + types "github.com/lavanet/lava/v3/x/fixationstore/types" + _ "github.com/lavanet/lava/v3/x/timerstore/types" io "io" math "math" math_bits "math/bits" diff --git a/x/dualstaking/types/genesis_test.go b/x/dualstaking/types/genesis_test.go index acdab8eeb6..48751c24af 100644 --- a/x/dualstaking/types/genesis_test.go +++ b/x/dualstaking/types/genesis_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "github.com/lavanet/lava/v2/x/dualstaking/types" + "github.com/lavanet/lava/v3/x/dualstaking/types" "github.com/stretchr/testify/require" ) diff --git a/x/dualstaking/types/message_claim_rewards.go b/x/dualstaking/types/message_claim_rewards.go index 2cbdc85b63..03317addd6 100644 --- a/x/dualstaking/types/message_claim_rewards.go +++ b/x/dualstaking/types/message_claim_rewards.go @@ -4,7 +4,7 @@ import ( sdkerrors "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - commontypes "github.com/lavanet/lava/v2/utils/common/types" + commontypes "github.com/lavanet/lava/v3/utils/common/types" ) const TypeMsgClaimRewards = "claim_rewards" diff --git a/x/dualstaking/types/message_claim_rewards_test.go b/x/dualstaking/types/message_claim_rewards_test.go index 132e917b27..6b5f31f80d 100644 --- a/x/dualstaking/types/message_claim_rewards_test.go +++ b/x/dualstaking/types/message_claim_rewards_test.go @@ -4,7 +4,7 @@ import ( "testing" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/testutil/sample" + "github.com/lavanet/lava/v3/testutil/sample" "github.com/stretchr/testify/require" ) diff --git a/x/dualstaking/types/message_delegate.go b/x/dualstaking/types/message_delegate.go index b1a4083b20..42de9f6c40 100644 --- a/x/dualstaking/types/message_delegate.go +++ b/x/dualstaking/types/message_delegate.go @@ -4,7 +4,7 @@ import ( sdkerrors "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - commontypes "github.com/lavanet/lava/v2/utils/common/types" + commontypes "github.com/lavanet/lava/v3/utils/common/types" ) const TypeMsgDelegate = "delegate" diff --git a/x/dualstaking/types/message_delegate_test.go b/x/dualstaking/types/message_delegate_test.go index 717c01ee8a..c58d392d9d 100644 --- a/x/dualstaking/types/message_delegate_test.go +++ b/x/dualstaking/types/message_delegate_test.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/testutil/sample" - commontypes "github.com/lavanet/lava/v2/utils/common/types" + "github.com/lavanet/lava/v3/testutil/sample" + commontypes "github.com/lavanet/lava/v3/utils/common/types" "github.com/stretchr/testify/require" ) diff --git a/x/dualstaking/types/message_redelegate.go b/x/dualstaking/types/message_redelegate.go index 574987bc91..b354c148a1 100644 --- a/x/dualstaking/types/message_redelegate.go +++ b/x/dualstaking/types/message_redelegate.go @@ -4,7 +4,7 @@ import ( sdkerrors "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - commontypes "github.com/lavanet/lava/v2/utils/common/types" + commontypes "github.com/lavanet/lava/v3/utils/common/types" ) const TypeMsgRedelegate = "redelegate" diff --git a/x/dualstaking/types/message_redelegate_test.go b/x/dualstaking/types/message_redelegate_test.go index cd8247bdc0..164f97457d 100644 --- a/x/dualstaking/types/message_redelegate_test.go +++ b/x/dualstaking/types/message_redelegate_test.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/testutil/sample" - commontypes "github.com/lavanet/lava/v2/utils/common/types" + "github.com/lavanet/lava/v3/testutil/sample" + commontypes "github.com/lavanet/lava/v3/utils/common/types" "github.com/stretchr/testify/require" ) diff --git a/x/dualstaking/types/message_unbond.go b/x/dualstaking/types/message_unbond.go index e1adeccfd5..81b3f10e97 100644 --- a/x/dualstaking/types/message_unbond.go +++ b/x/dualstaking/types/message_unbond.go @@ -4,7 +4,7 @@ import ( sdkerrors "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - commontypes "github.com/lavanet/lava/v2/utils/common/types" + commontypes "github.com/lavanet/lava/v3/utils/common/types" ) const TypeMsgUnbond = "unbond" diff --git a/x/dualstaking/types/message_unbond_test.go b/x/dualstaking/types/message_unbond_test.go index 6b7ccbc499..b18ba40cce 100644 --- a/x/dualstaking/types/message_unbond_test.go +++ b/x/dualstaking/types/message_unbond_test.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/testutil/sample" - commontypes "github.com/lavanet/lava/v2/utils/common/types" + "github.com/lavanet/lava/v3/testutil/sample" + commontypes "github.com/lavanet/lava/v3/utils/common/types" "github.com/stretchr/testify/require" ) diff --git a/x/dualstaking/types/params.go b/x/dualstaking/types/params.go index 19ae863a32..6644bacea6 100644 --- a/x/dualstaking/types/params.go +++ b/x/dualstaking/types/params.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - commontypes "github.com/lavanet/lava/v2/utils/common/types" + commontypes "github.com/lavanet/lava/v3/utils/common/types" "gopkg.in/yaml.v2" ) diff --git a/x/epochstorage/client/cli/query.go b/x/epochstorage/client/cli/query.go index 9483fe52ba..decae416ca 100644 --- a/x/epochstorage/client/cli/query.go +++ b/x/epochstorage/client/cli/query.go @@ -10,7 +10,7 @@ import ( // "github.com/cosmos/cosmos-sdk/client/flags" // sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/epochstorage/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/epochstorage/client/cli/query_epoch_details.go b/x/epochstorage/client/cli/query_epoch_details.go index 5f82f0bc00..95be3d3a23 100644 --- a/x/epochstorage/client/cli/query_epoch_details.go +++ b/x/epochstorage/client/cli/query_epoch_details.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/epochstorage/types" "github.com/spf13/cobra" ) diff --git a/x/epochstorage/client/cli/query_epoch_details_test.go b/x/epochstorage/client/cli/query_epoch_details_test.go index 949df09cf9..5f1c32e820 100644 --- a/x/epochstorage/client/cli/query_epoch_details_test.go +++ b/x/epochstorage/client/cli/query_epoch_details_test.go @@ -9,10 +9,10 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/grpc/status" - "github.com/lavanet/lava/v2/testutil/network" - "github.com/lavanet/lava/v2/testutil/nullify" - "github.com/lavanet/lava/v2/x/epochstorage/client/cli" - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/testutil/network" + "github.com/lavanet/lava/v3/testutil/nullify" + "github.com/lavanet/lava/v3/x/epochstorage/client/cli" + "github.com/lavanet/lava/v3/x/epochstorage/types" ) func networkWithEpochDetailsObjects(t *testing.T) (*network.Network, types.EpochDetails) { diff --git a/x/epochstorage/client/cli/query_fixated_params.go b/x/epochstorage/client/cli/query_fixated_params.go index 61f2dbf232..4fdd338cb1 100644 --- a/x/epochstorage/client/cli/query_fixated_params.go +++ b/x/epochstorage/client/cli/query_fixated_params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/epochstorage/types" "github.com/spf13/cobra" ) diff --git a/x/epochstorage/client/cli/query_fixated_params_test.go b/x/epochstorage/client/cli/query_fixated_params_test.go index 7f01f4d44f..d0aee8617b 100644 --- a/x/epochstorage/client/cli/query_fixated_params_test.go +++ b/x/epochstorage/client/cli/query_fixated_params_test.go @@ -12,10 +12,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/lavanet/lava/v2/testutil/network" - "github.com/lavanet/lava/v2/testutil/nullify" - "github.com/lavanet/lava/v2/x/epochstorage/client/cli" - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/testutil/network" + "github.com/lavanet/lava/v3/testutil/nullify" + "github.com/lavanet/lava/v3/x/epochstorage/client/cli" + "github.com/lavanet/lava/v3/x/epochstorage/types" ) // Prevent strconv unused error diff --git a/x/epochstorage/client/cli/query_params.go b/x/epochstorage/client/cli/query_params.go index cb52965380..d202be1457 100644 --- a/x/epochstorage/client/cli/query_params.go +++ b/x/epochstorage/client/cli/query_params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/epochstorage/types" "github.com/spf13/cobra" ) diff --git a/x/epochstorage/client/cli/query_stake_storage.go b/x/epochstorage/client/cli/query_stake_storage.go index aded4c7144..6b8fb7a647 100644 --- a/x/epochstorage/client/cli/query_stake_storage.go +++ b/x/epochstorage/client/cli/query_stake_storage.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/epochstorage/types" "github.com/spf13/cobra" ) diff --git a/x/epochstorage/client/cli/tx.go b/x/epochstorage/client/cli/tx.go index b51beda9c5..a5ba2b68f8 100644 --- a/x/epochstorage/client/cli/tx.go +++ b/x/epochstorage/client/cli/tx.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" // "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/epochstorage/types" ) var DefaultRelativePacketTimeoutTimestamp = uint64((time.Duration(10) * time.Minute).Nanoseconds()) diff --git a/x/epochstorage/genesis.go b/x/epochstorage/genesis.go index 02716bfd49..7b4b99fb71 100644 --- a/x/epochstorage/genesis.go +++ b/x/epochstorage/genesis.go @@ -5,8 +5,8 @@ import ( "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/epochstorage/keeper" - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/epochstorage/keeper" + "github.com/lavanet/lava/v3/x/epochstorage/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/epochstorage/genesis_test.go b/x/epochstorage/genesis_test.go index b3475479c4..8fa4e0ce0d 100644 --- a/x/epochstorage/genesis_test.go +++ b/x/epochstorage/genesis_test.go @@ -3,10 +3,10 @@ package epochstorage_test import ( "testing" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/testutil/nullify" - "github.com/lavanet/lava/v2/x/epochstorage" - "github.com/lavanet/lava/v2/x/epochstorage/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/testutil/nullify" + "github.com/lavanet/lava/v3/x/epochstorage" + "github.com/lavanet/lava/v3/x/epochstorage/types" "github.com/stretchr/testify/require" ) diff --git a/x/epochstorage/handler.go b/x/epochstorage/handler.go index 319a13b38d..594bafaa4b 100644 --- a/x/epochstorage/handler.go +++ b/x/epochstorage/handler.go @@ -6,8 +6,8 @@ import ( sdkerrors "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/x/epochstorage/keeper" - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/epochstorage/keeper" + "github.com/lavanet/lava/v3/x/epochstorage/types" ) // NewHandler ... diff --git a/x/epochstorage/keeper/epoch_details.go b/x/epochstorage/keeper/epoch_details.go index 524ad6093c..e1d63a061b 100644 --- a/x/epochstorage/keeper/epoch_details.go +++ b/x/epochstorage/keeper/epoch_details.go @@ -5,8 +5,8 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/epochstorage/types" ) // SetEpochDetails set epochDetails in the store diff --git a/x/epochstorage/keeper/epoch_details_test.go b/x/epochstorage/keeper/epoch_details_test.go index c35e20abb0..30fdcfea87 100644 --- a/x/epochstorage/keeper/epoch_details_test.go +++ b/x/epochstorage/keeper/epoch_details_test.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/testutil/nullify" - "github.com/lavanet/lava/v2/x/epochstorage/keeper" - "github.com/lavanet/lava/v2/x/epochstorage/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/testutil/nullify" + "github.com/lavanet/lava/v3/x/epochstorage/keeper" + "github.com/lavanet/lava/v3/x/epochstorage/types" ) func createTestEpochDetails(keeper *keeper.Keeper, ctx sdk.Context) types.EpochDetails { diff --git a/x/epochstorage/keeper/epoch_start.go b/x/epochstorage/keeper/epoch_start.go index 0ea2fdb764..0d04bd3466 100644 --- a/x/epochstorage/keeper/epoch_start.go +++ b/x/epochstorage/keeper/epoch_start.go @@ -5,8 +5,8 @@ import ( "strconv" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/epochstorage/types" ) // Function that calls all the functions that are supposed to run in epoch start diff --git a/x/epochstorage/keeper/fixated_params.go b/x/epochstorage/keeper/fixated_params.go index 7c904a0253..60524261c3 100644 --- a/x/epochstorage/keeper/fixated_params.go +++ b/x/epochstorage/keeper/fixated_params.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/epochstorage/types" ) // SetFixatedParams set a specific fixatedParams in the store from its index diff --git a/x/epochstorage/keeper/fixated_params_test.go b/x/epochstorage/keeper/fixated_params_test.go index cca571094b..26c4dbc0a9 100644 --- a/x/epochstorage/keeper/fixated_params_test.go +++ b/x/epochstorage/keeper/fixated_params_test.go @@ -6,11 +6,11 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - common "github.com/lavanet/lava/v2/testutil/common" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/testutil/nullify" - "github.com/lavanet/lava/v2/x/epochstorage/keeper" - "github.com/lavanet/lava/v2/x/epochstorage/types" + common "github.com/lavanet/lava/v3/testutil/common" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/testutil/nullify" + "github.com/lavanet/lava/v3/x/epochstorage/keeper" + "github.com/lavanet/lava/v3/x/epochstorage/types" "github.com/stretchr/testify/require" ) diff --git a/x/epochstorage/keeper/grpc_query.go b/x/epochstorage/keeper/grpc_query.go index ae0a8198d4..ba26ad670f 100644 --- a/x/epochstorage/keeper/grpc_query.go +++ b/x/epochstorage/keeper/grpc_query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/epochstorage/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/epochstorage/keeper/grpc_query_epoch_details.go b/x/epochstorage/keeper/grpc_query_epoch_details.go index 1e195e6daa..936bdc3b45 100644 --- a/x/epochstorage/keeper/grpc_query_epoch_details.go +++ b/x/epochstorage/keeper/grpc_query_epoch_details.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/epochstorage/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/epochstorage/keeper/grpc_query_epoch_details_test.go b/x/epochstorage/keeper/grpc_query_epoch_details_test.go index 58f7aac62f..652f3c78d3 100644 --- a/x/epochstorage/keeper/grpc_query_epoch_details_test.go +++ b/x/epochstorage/keeper/grpc_query_epoch_details_test.go @@ -8,9 +8,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/testutil/nullify" - "github.com/lavanet/lava/v2/x/epochstorage/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/testutil/nullify" + "github.com/lavanet/lava/v3/x/epochstorage/types" ) func TestEpochDetailsQuery(t *testing.T) { diff --git a/x/epochstorage/keeper/grpc_query_fixated_params.go b/x/epochstorage/keeper/grpc_query_fixated_params.go index 83e5cdc185..1c75d59155 100644 --- a/x/epochstorage/keeper/grpc_query_fixated_params.go +++ b/x/epochstorage/keeper/grpc_query_fixated_params.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/epochstorage/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/epochstorage/keeper/grpc_query_fixated_params_test.go b/x/epochstorage/keeper/grpc_query_fixated_params_test.go index a0f1def02e..0119d5405d 100644 --- a/x/epochstorage/keeper/grpc_query_fixated_params_test.go +++ b/x/epochstorage/keeper/grpc_query_fixated_params_test.go @@ -10,9 +10,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/testutil/nullify" - "github.com/lavanet/lava/v2/x/epochstorage/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/testutil/nullify" + "github.com/lavanet/lava/v3/x/epochstorage/types" ) // Prevent strconv unused error diff --git a/x/epochstorage/keeper/grpc_query_params.go b/x/epochstorage/keeper/grpc_query_params.go index 912e610170..8c55ccc592 100644 --- a/x/epochstorage/keeper/grpc_query_params.go +++ b/x/epochstorage/keeper/grpc_query_params.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/epochstorage/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/epochstorage/keeper/grpc_query_params_test.go b/x/epochstorage/keeper/grpc_query_params_test.go index e9f473bce5..c927a81114 100644 --- a/x/epochstorage/keeper/grpc_query_params_test.go +++ b/x/epochstorage/keeper/grpc_query_params_test.go @@ -4,8 +4,8 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/epochstorage/types" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/epochstorage/types" "github.com/stretchr/testify/require" ) diff --git a/x/epochstorage/keeper/grpc_query_stake_storage.go b/x/epochstorage/keeper/grpc_query_stake_storage.go index 8ddb15bdbb..4f05a5daf6 100644 --- a/x/epochstorage/keeper/grpc_query_stake_storage.go +++ b/x/epochstorage/keeper/grpc_query_stake_storage.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/epochstorage/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/epochstorage/keeper/grpc_query_stake_storage_test.go b/x/epochstorage/keeper/grpc_query_stake_storage_test.go index 59c699a41d..d37f9d2224 100644 --- a/x/epochstorage/keeper/grpc_query_stake_storage_test.go +++ b/x/epochstorage/keeper/grpc_query_stake_storage_test.go @@ -5,10 +5,10 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/testutil/nullify" - "github.com/lavanet/lava/v2/x/epochstorage/keeper" - "github.com/lavanet/lava/v2/x/epochstorage/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/testutil/nullify" + "github.com/lavanet/lava/v3/x/epochstorage/keeper" + "github.com/lavanet/lava/v3/x/epochstorage/types" "github.com/stretchr/testify/require" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/x/epochstorage/keeper/keeper.go b/x/epochstorage/keeper/keeper.go index 3ba3df98a2..999f0932e5 100644 --- a/x/epochstorage/keeper/keeper.go +++ b/x/epochstorage/keeper/keeper.go @@ -11,9 +11,9 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/lavanet/lava/v2/utils" - collcompat "github.com/lavanet/lava/v2/utils/collcompat" - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/utils" + collcompat "github.com/lavanet/lava/v3/utils/collcompat" + "github.com/lavanet/lava/v3/x/epochstorage/types" ) type ( diff --git a/x/epochstorage/keeper/migrations.go b/x/epochstorage/keeper/migrations.go index da1e964239..7fd34bbf7a 100644 --- a/x/epochstorage/keeper/migrations.go +++ b/x/epochstorage/keeper/migrations.go @@ -9,10 +9,10 @@ import ( "cosmossdk.io/collections" "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/epochstorage/types" - v3 "github.com/lavanet/lava/v2/x/epochstorage/types/migrations/v3" - v6 "github.com/lavanet/lava/v2/x/epochstorage/types/migrations/v6" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/epochstorage/types" + v3 "github.com/lavanet/lava/v3/x/epochstorage/types/migrations/v3" + v6 "github.com/lavanet/lava/v3/x/epochstorage/types/migrations/v6" ) type Migrator struct { diff --git a/x/epochstorage/keeper/msg_server.go b/x/epochstorage/keeper/msg_server.go index 9a811f9969..90a744de6c 100644 --- a/x/epochstorage/keeper/msg_server.go +++ b/x/epochstorage/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/epochstorage/types" ) type msgServer struct { diff --git a/x/epochstorage/keeper/msg_server_test.go b/x/epochstorage/keeper/msg_server_test.go index d7f40361f3..8b293afc7d 100644 --- a/x/epochstorage/keeper/msg_server_test.go +++ b/x/epochstorage/keeper/msg_server_test.go @@ -5,9 +5,9 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/epochstorage/keeper" - "github.com/lavanet/lava/v2/x/epochstorage/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/epochstorage/keeper" + "github.com/lavanet/lava/v3/x/epochstorage/types" ) func setupMsgServer(t testing.TB) (types.MsgServer, context.Context) { diff --git a/x/epochstorage/keeper/params.go b/x/epochstorage/keeper/params.go index 609a09fe8b..612dc7f960 100644 --- a/x/epochstorage/keeper/params.go +++ b/x/epochstorage/keeper/params.go @@ -4,8 +4,8 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/epochstorage/types" ) // GetParams get all parameters as types.Params diff --git a/x/epochstorage/keeper/params_test.go b/x/epochstorage/keeper/params_test.go index fe8cb35223..2c8de2fe27 100644 --- a/x/epochstorage/keeper/params_test.go +++ b/x/epochstorage/keeper/params_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/epochstorage/types" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/epochstorage/types" "github.com/stretchr/testify/require" ) diff --git a/x/epochstorage/keeper/stake_entries.go b/x/epochstorage/keeper/stake_entries.go index 0c4a49630f..de35d9d4d4 100644 --- a/x/epochstorage/keeper/stake_entries.go +++ b/x/epochstorage/keeper/stake_entries.go @@ -7,8 +7,8 @@ import ( "cosmossdk.io/collections" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/epochstorage/types" ) /* ########## StakeEntry ############ */ diff --git a/x/epochstorage/keeper/stake_entries_test.go b/x/epochstorage/keeper/stake_entries_test.go index 6ab51ad5a9..91d40c9420 100644 --- a/x/epochstorage/keeper/stake_entries_test.go +++ b/x/epochstorage/keeper/stake_entries_test.go @@ -6,9 +6,9 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/epochstorage/keeper" - "github.com/lavanet/lava/v2/x/epochstorage/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/epochstorage/keeper" + "github.com/lavanet/lava/v3/x/epochstorage/types" "github.com/stretchr/testify/require" ) diff --git a/x/epochstorage/module.go b/x/epochstorage/module.go index 75a6aac06a..8eae4a80a3 100644 --- a/x/epochstorage/module.go +++ b/x/epochstorage/module.go @@ -16,9 +16,9 @@ import ( cdctypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/lavanet/lava/v2/x/epochstorage/client/cli" - "github.com/lavanet/lava/v2/x/epochstorage/keeper" - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/epochstorage/client/cli" + "github.com/lavanet/lava/v3/x/epochstorage/keeper" + "github.com/lavanet/lava/v3/x/epochstorage/types" ) var ( diff --git a/x/epochstorage/module_simulation.go b/x/epochstorage/module_simulation.go index 934134aa09..3e3bc02ff0 100644 --- a/x/epochstorage/module_simulation.go +++ b/x/epochstorage/module_simulation.go @@ -11,9 +11,9 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/lavanet/lava/v2/testutil/sample" - epochstoragesimulation "github.com/lavanet/lava/v2/x/epochstorage/simulation" - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/testutil/sample" + epochstoragesimulation "github.com/lavanet/lava/v3/x/epochstorage/simulation" + "github.com/lavanet/lava/v3/x/epochstorage/types" ) // avoid unused import issue diff --git a/x/epochstorage/types/expected_keepers.go b/x/epochstorage/types/expected_keepers.go index 906c332fe8..d684d958cd 100644 --- a/x/epochstorage/types/expected_keepers.go +++ b/x/epochstorage/types/expected_keepers.go @@ -3,7 +3,7 @@ package types import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) type SpecKeeper interface { diff --git a/x/epochstorage/types/genesis_test.go b/x/epochstorage/types/genesis_test.go index 8e34d45e9a..9aea252088 100644 --- a/x/epochstorage/types/genesis_test.go +++ b/x/epochstorage/types/genesis_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/epochstorage/types" "github.com/stretchr/testify/require" ) diff --git a/x/epochstorage/types/stake_entries.go b/x/epochstorage/types/stake_entries.go index 18e34282c8..d66d792cf6 100644 --- a/x/epochstorage/types/stake_entries.go +++ b/x/epochstorage/types/stake_entries.go @@ -8,7 +8,7 @@ import ( "cosmossdk.io/collections" "cosmossdk.io/collections/indexes" "cosmossdk.io/math" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" ) var ( diff --git a/x/fixationstore/client/cli/query.go b/x/fixationstore/client/cli/query.go index 69bdb726ea..21d4889884 100644 --- a/x/fixationstore/client/cli/query.go +++ b/x/fixationstore/client/cli/query.go @@ -10,7 +10,7 @@ import ( // "github.com/cosmos/cosmos-sdk/client/flags" // sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/fixationstore/types" + "github.com/lavanet/lava/v3/x/fixationstore/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/fixationstore/client/cli/query_all_indices.go b/x/fixationstore/client/cli/query_all_indices.go index 53231273d0..ee0e0562e4 100644 --- a/x/fixationstore/client/cli/query_all_indices.go +++ b/x/fixationstore/client/cli/query_all_indices.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/fixationstore/types" + "github.com/lavanet/lava/v3/x/fixationstore/types" "github.com/spf13/cobra" ) diff --git a/x/fixationstore/client/cli/query_entry.go b/x/fixationstore/client/cli/query_entry.go index 8da2d6792e..576fe7597b 100644 --- a/x/fixationstore/client/cli/query_entry.go +++ b/x/fixationstore/client/cli/query_entry.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/fixationstore/types" + "github.com/lavanet/lava/v3/x/fixationstore/types" "github.com/spf13/cobra" ) diff --git a/x/fixationstore/client/cli/query_store_keys.go b/x/fixationstore/client/cli/query_store_keys.go index 7990562598..51d6ffe3f6 100644 --- a/x/fixationstore/client/cli/query_store_keys.go +++ b/x/fixationstore/client/cli/query_store_keys.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/fixationstore/types" + "github.com/lavanet/lava/v3/x/fixationstore/types" "github.com/spf13/cobra" ) diff --git a/x/fixationstore/client/cli/query_versions.go b/x/fixationstore/client/cli/query_versions.go index ddc34a6e06..00fe55fdbb 100644 --- a/x/fixationstore/client/cli/query_versions.go +++ b/x/fixationstore/client/cli/query_versions.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/fixationstore/types" + "github.com/lavanet/lava/v3/x/fixationstore/types" "github.com/spf13/cobra" ) diff --git a/x/fixationstore/keeper/grpc_query_all_indices.go b/x/fixationstore/keeper/grpc_query_all_indices.go index 903ba27ca5..19b63b01a7 100644 --- a/x/fixationstore/keeper/grpc_query_all_indices.go +++ b/x/fixationstore/keeper/grpc_query_all_indices.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/fixationstore/types" + "github.com/lavanet/lava/v3/x/fixationstore/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/fixationstore/keeper/grpc_query_entry.go b/x/fixationstore/keeper/grpc_query_entry.go index 31daf5d088..de6b7a3f7f 100644 --- a/x/fixationstore/keeper/grpc_query_entry.go +++ b/x/fixationstore/keeper/grpc_query_entry.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/fixationstore/types" + "github.com/lavanet/lava/v3/x/fixationstore/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/fixationstore/keeper/grpc_query_store_keys.go b/x/fixationstore/keeper/grpc_query_store_keys.go index 0dc78b89d5..3101f0d1c7 100644 --- a/x/fixationstore/keeper/grpc_query_store_keys.go +++ b/x/fixationstore/keeper/grpc_query_store_keys.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "github.com/lavanet/lava/v2/x/fixationstore/types" + "github.com/lavanet/lava/v3/x/fixationstore/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/fixationstore/keeper/grpc_query_versions.go b/x/fixationstore/keeper/grpc_query_versions.go index 84aa3eb83f..59e5b9e266 100644 --- a/x/fixationstore/keeper/grpc_query_versions.go +++ b/x/fixationstore/keeper/grpc_query_versions.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/fixationstore/types" + "github.com/lavanet/lava/v3/x/fixationstore/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/fixationstore/keeper/keeper.go b/x/fixationstore/keeper/keeper.go index 600970801b..dbe03e9c41 100644 --- a/x/fixationstore/keeper/keeper.go +++ b/x/fixationstore/keeper/keeper.go @@ -4,8 +4,8 @@ import ( "github.com/cosmos/cosmos-sdk/codec" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/fixationstore/types" - timerstorekeeper "github.com/lavanet/lava/v2/x/timerstore/keeper" + "github.com/lavanet/lava/v3/x/fixationstore/types" + timerstorekeeper "github.com/lavanet/lava/v3/x/timerstore/keeper" ) func NewKeeper(cdc codec.BinaryCodec, tsKeeper *timerstorekeeper.Keeper, getStaleBlocks types.GetStaleBlocks) *Keeper { diff --git a/x/fixationstore/module.go b/x/fixationstore/module.go index e88507fa05..4cc5bd9652 100644 --- a/x/fixationstore/module.go +++ b/x/fixationstore/module.go @@ -8,9 +8,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" "github.com/grpc-ecosystem/grpc-gateway/runtime" - "github.com/lavanet/lava/v2/x/fixationstore/client/cli" - "github.com/lavanet/lava/v2/x/fixationstore/keeper" - "github.com/lavanet/lava/v2/x/fixationstore/types" + "github.com/lavanet/lava/v3/x/fixationstore/client/cli" + "github.com/lavanet/lava/v3/x/fixationstore/keeper" + "github.com/lavanet/lava/v3/x/fixationstore/types" "github.com/spf13/cobra" ) diff --git a/x/fixationstore/types/fixation.go b/x/fixationstore/types/fixation.go index 334c12dddd..51cebdf0fe 100644 --- a/x/fixationstore/types/fixation.go +++ b/x/fixationstore/types/fixation.go @@ -4,7 +4,7 @@ import ( "math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils/common/types" + "github.com/lavanet/lava/v3/utils/common/types" ) // SafeIndex is a sanitized string, i.e. contains only visible ascii characters diff --git a/x/fixationstore/types/fixation.pb.go b/x/fixationstore/types/fixation.pb.go index 1f4455937b..652405931c 100644 --- a/x/fixationstore/types/fixation.pb.go +++ b/x/fixationstore/types/fixation.pb.go @@ -7,7 +7,7 @@ import ( fmt "fmt" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" - types "github.com/lavanet/lava/v2/x/timerstore/types" + types "github.com/lavanet/lava/v3/x/timerstore/types" io "io" math "math" math_bits "math/bits" diff --git a/x/fixationstore/types/fixationstore.go b/x/fixationstore/types/fixationstore.go index a7cfd5f64a..825d6a729b 100644 --- a/x/fixationstore/types/fixationstore.go +++ b/x/fixationstore/types/fixationstore.go @@ -10,8 +10,8 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/utils" - timerstoretypes "github.com/lavanet/lava/v2/x/timerstore/types" + "github.com/lavanet/lava/v3/utils" + timerstoretypes "github.com/lavanet/lava/v3/x/timerstore/types" ) // FixationStore manages lists of entries with versions in the store. diff --git a/x/fixationstore/types/fixationstore_test.go b/x/fixationstore/types/fixationstore_test.go index dfd92d6ca4..2eb837fca1 100644 --- a/x/fixationstore/types/fixationstore_test.go +++ b/x/fixationstore/types/fixationstore_test.go @@ -13,7 +13,7 @@ import ( "github.com/cosmos/cosmos-sdk/store" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - timerstoretypes "github.com/lavanet/lava/v2/x/timerstore/types" + timerstoretypes "github.com/lavanet/lava/v3/x/timerstore/types" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/client/cli/query.go b/x/pairing/client/cli/query.go index b8ec234478..e7cf42bb61 100644 --- a/x/pairing/client/cli/query.go +++ b/x/pairing/client/cli/query.go @@ -10,7 +10,7 @@ import ( // "github.com/cosmos/cosmos-sdk/client/flags" // sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/pairing/client/cli/query_account_info.go b/x/pairing/client/cli/query_account_info.go index 02c5861c95..64dc98f36b 100644 --- a/x/pairing/client/cli/query_account_info.go +++ b/x/pairing/client/cli/query_account_info.go @@ -7,14 +7,14 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/sigs" - dualstakingtypes "github.com/lavanet/lava/v2/x/dualstaking/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - "github.com/lavanet/lava/v2/x/pairing/types" - projecttypes "github.com/lavanet/lava/v2/x/projects/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" - subscriptiontypes "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/sigs" + dualstakingtypes "github.com/lavanet/lava/v3/x/dualstaking/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/pairing/types" + projecttypes "github.com/lavanet/lava/v3/x/projects/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" + subscriptiontypes "github.com/lavanet/lava/v3/x/subscription/types" "github.com/spf13/cobra" ) diff --git a/x/pairing/client/cli/query_debug_query.go b/x/pairing/client/cli/query_debug_query.go index a48a9a9f3e..e596ff3f6a 100644 --- a/x/pairing/client/cli/query_debug_query.go +++ b/x/pairing/client/cli/query_debug_query.go @@ -10,11 +10,11 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/lavanet/lava/v2/utils" - commontypes "github.com/lavanet/lava/v2/utils/common/types" - dualstakingtypes "github.com/lavanet/lava/v2/x/dualstaking/types" - "github.com/lavanet/lava/v2/x/pairing/types" - rewardstypes "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/utils" + commontypes "github.com/lavanet/lava/v3/utils/common/types" + dualstakingtypes "github.com/lavanet/lava/v3/x/dualstaking/types" + "github.com/lavanet/lava/v3/x/pairing/types" + rewardstypes "github.com/lavanet/lava/v3/x/rewards/types" "github.com/spf13/cobra" ) diff --git a/x/pairing/client/cli/query_effective_policy.go b/x/pairing/client/cli/query_effective_policy.go index 1664e45d7b..050c42117a 100644 --- a/x/pairing/client/cli/query_effective_policy.go +++ b/x/pairing/client/cli/query_effective_policy.go @@ -3,9 +3,9 @@ package cli import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/sigs" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/sigs" + "github.com/lavanet/lava/v3/x/pairing/types" "github.com/spf13/cobra" ) diff --git a/x/pairing/client/cli/query_get_pairing.go b/x/pairing/client/cli/query_get_pairing.go index 71becad040..de6ab761c7 100644 --- a/x/pairing/client/cli/query_get_pairing.go +++ b/x/pairing/client/cli/query_get_pairing.go @@ -5,8 +5,8 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/pairing/types" "github.com/spf13/cobra" ) diff --git a/x/pairing/client/cli/query_params.go b/x/pairing/client/cli/query_params.go index c6844365f8..104ea1fdbd 100644 --- a/x/pairing/client/cli/query_params.go +++ b/x/pairing/client/cli/query_params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/types" "github.com/spf13/cobra" ) diff --git a/x/pairing/client/cli/query_provider.go b/x/pairing/client/cli/query_provider.go index f1c6b3e374..5401537286 100644 --- a/x/pairing/client/cli/query_provider.go +++ b/x/pairing/client/cli/query_provider.go @@ -5,8 +5,8 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/pairing/types" "github.com/spf13/cobra" ) diff --git a/x/pairing/client/cli/query_provider_monthly_payout.go b/x/pairing/client/cli/query_provider_monthly_payout.go index 169901b656..796c1556e5 100644 --- a/x/pairing/client/cli/query_provider_monthly_payout.go +++ b/x/pairing/client/cli/query_provider_monthly_payout.go @@ -3,8 +3,8 @@ package cli import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/pairing/types" "github.com/spf13/cobra" ) diff --git a/x/pairing/client/cli/query_provider_pairing_chance.go b/x/pairing/client/cli/query_provider_pairing_chance.go index 1f105217c1..ecbab9388c 100644 --- a/x/pairing/client/cli/query_provider_pairing_chance.go +++ b/x/pairing/client/cli/query_provider_pairing_chance.go @@ -3,9 +3,9 @@ package cli import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/pairing/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/pairing/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" "github.com/spf13/cobra" ) diff --git a/x/pairing/client/cli/query_providers.go b/x/pairing/client/cli/query_providers.go index 96728e7000..192a79a879 100644 --- a/x/pairing/client/cli/query_providers.go +++ b/x/pairing/client/cli/query_providers.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/types" "github.com/spf13/cobra" ) diff --git a/x/pairing/client/cli/query_providers_epoch_cu.go b/x/pairing/client/cli/query_providers_epoch_cu.go index d4e27f5e81..bc8de3f00c 100644 --- a/x/pairing/client/cli/query_providers_epoch_cu.go +++ b/x/pairing/client/cli/query_providers_epoch_cu.go @@ -3,7 +3,7 @@ package cli import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/types" "github.com/spf13/cobra" ) diff --git a/x/pairing/client/cli/query_sdk_pairing.go b/x/pairing/client/cli/query_sdk_pairing.go index 5fb5f1bcc7..85daebb1c5 100644 --- a/x/pairing/client/cli/query_sdk_pairing.go +++ b/x/pairing/client/cli/query_sdk_pairing.go @@ -5,8 +5,8 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/pairing/types" "github.com/spf13/cobra" ) diff --git a/x/pairing/client/cli/query_static_providers_list.go b/x/pairing/client/cli/query_static_providers_list.go index 78df4157af..4328d30179 100644 --- a/x/pairing/client/cli/query_static_providers_list.go +++ b/x/pairing/client/cli/query_static_providers_list.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/types" "github.com/spf13/cobra" ) diff --git a/x/pairing/client/cli/query_subscription_monthly_payout.go b/x/pairing/client/cli/query_subscription_monthly_payout.go index 03bb5187e5..e007fefcd2 100644 --- a/x/pairing/client/cli/query_subscription_monthly_payout.go +++ b/x/pairing/client/cli/query_subscription_monthly_payout.go @@ -3,8 +3,8 @@ package cli import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/pairing/types" "github.com/spf13/cobra" ) diff --git a/x/pairing/client/cli/query_user_entry.go b/x/pairing/client/cli/query_user_entry.go index d95a57d230..7b5caef808 100644 --- a/x/pairing/client/cli/query_user_entry.go +++ b/x/pairing/client/cli/query_user_entry.go @@ -5,8 +5,8 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/pairing/types" "github.com/spf13/cast" "github.com/spf13/cobra" ) diff --git a/x/pairing/client/cli/query_verify_pairing.go b/x/pairing/client/cli/query_verify_pairing.go index 214a6551eb..0c2bd8b640 100644 --- a/x/pairing/client/cli/query_verify_pairing.go +++ b/x/pairing/client/cli/query_verify_pairing.go @@ -5,8 +5,8 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/pairing/types" "github.com/spf13/cast" "github.com/spf13/cobra" ) diff --git a/x/pairing/client/cli/tx.go b/x/pairing/client/cli/tx.go index 38b34dc193..4ee4bb6fd2 100644 --- a/x/pairing/client/cli/tx.go +++ b/x/pairing/client/cli/tx.go @@ -15,12 +15,12 @@ import ( "github.com/spf13/cobra" // "github.com/cosmos/cosmos-sdk/client/flags" - lavautils "github.com/lavanet/lava/v2/utils" - commontypes "github.com/lavanet/lava/v2/utils/common/types" - dualstakingTypes "github.com/lavanet/lava/v2/x/dualstaking/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - "github.com/lavanet/lava/v2/x/pairing/client/utils" - "github.com/lavanet/lava/v2/x/pairing/types" + lavautils "github.com/lavanet/lava/v3/utils" + commontypes "github.com/lavanet/lava/v3/utils/common/types" + dualstakingTypes "github.com/lavanet/lava/v3/x/dualstaking/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/pairing/client/utils" + "github.com/lavanet/lava/v3/x/pairing/types" ) var DefaultRelativePacketTimeoutTimestamp = uint64((time.Duration(10) * time.Minute).Nanoseconds()) diff --git a/x/pairing/client/cli/tx_freeze.go b/x/pairing/client/cli/tx_freeze.go index 69b3f5211b..5d92601d50 100644 --- a/x/pairing/client/cli/tx_freeze.go +++ b/x/pairing/client/cli/tx_freeze.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/pairing/types" "github.com/spf13/cobra" ) diff --git a/x/pairing/client/cli/tx_modify_provider.go b/x/pairing/client/cli/tx_modify_provider.go index 393ee75723..69f4405f9b 100644 --- a/x/pairing/client/cli/tx_modify_provider.go +++ b/x/pairing/client/cli/tx_modify_provider.go @@ -11,12 +11,12 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - commontypes "github.com/lavanet/lava/v2/utils/common/types" - "github.com/lavanet/lava/v2/utils/sigs" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - "github.com/lavanet/lava/v2/x/pairing/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/utils" + commontypes "github.com/lavanet/lava/v3/utils/common/types" + "github.com/lavanet/lava/v3/utils/sigs" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/pairing/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" "github.com/spf13/cobra" ) diff --git a/x/pairing/client/cli/tx_relay_payment.go b/x/pairing/client/cli/tx_relay_payment.go index 8cfdf8bd42..33f2e8d6af 100644 --- a/x/pairing/client/cli/tx_relay_payment.go +++ b/x/pairing/client/cli/tx_relay_payment.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/types" "github.com/spf13/cobra" ) diff --git a/x/pairing/client/cli/tx_simulate_relay_payment.go b/x/pairing/client/cli/tx_simulate_relay_payment.go index 78b9964e28..eb9899401a 100644 --- a/x/pairing/client/cli/tx_simulate_relay_payment.go +++ b/x/pairing/client/cli/tx_simulate_relay_payment.go @@ -9,10 +9,10 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/sigs" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/sigs" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/pairing/types" "github.com/spf13/cobra" ) diff --git a/x/pairing/client/cli/tx_stake_provider.go b/x/pairing/client/cli/tx_stake_provider.go index e8ef034f71..4f77080ab1 100644 --- a/x/pairing/client/cli/tx_stake_provider.go +++ b/x/pairing/client/cli/tx_stake_provider.go @@ -14,12 +14,12 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/feegrant" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/lavanet/lava/v2/utils" - commontypes "github.com/lavanet/lava/v2/utils/common/types" - conflicttypes "github.com/lavanet/lava/v2/x/conflict/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - "github.com/lavanet/lava/v2/x/pairing/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/utils" + commontypes "github.com/lavanet/lava/v3/utils/common/types" + conflicttypes "github.com/lavanet/lava/v3/x/conflict/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/pairing/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" "github.com/spf13/cobra" ) diff --git a/x/pairing/client/cli/tx_unfreeze.go b/x/pairing/client/cli/tx_unfreeze.go index a1b7ca74ea..2bcbec29cb 100644 --- a/x/pairing/client/cli/tx_unfreeze.go +++ b/x/pairing/client/cli/tx_unfreeze.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/types" "github.com/spf13/cobra" ) diff --git a/x/pairing/client/cli/tx_unstake_provider.go b/x/pairing/client/cli/tx_unstake_provider.go index 9e21d04c53..bb0ddbd799 100644 --- a/x/pairing/client/cli/tx_unstake_provider.go +++ b/x/pairing/client/cli/tx_unstake_provider.go @@ -10,10 +10,10 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/feegrant" - "github.com/lavanet/lava/v2/utils" - dualstakingclient "github.com/lavanet/lava/v2/x/dualstaking/client/cli" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + dualstakingclient "github.com/lavanet/lava/v3/x/dualstaking/client/cli" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/pairing/types" "github.com/spf13/cobra" ) diff --git a/x/pairing/client/proposal_handler.go b/x/pairing/client/proposal_handler.go index 786d4c9bf2..561959378f 100644 --- a/x/pairing/client/proposal_handler.go +++ b/x/pairing/client/proposal_handler.go @@ -2,7 +2,7 @@ package client import ( govclient "github.com/cosmos/cosmos-sdk/x/gov/client" - "github.com/lavanet/lava/v2/x/pairing/client/cli" + "github.com/lavanet/lava/v3/x/pairing/client/cli" ) var PairingUnstakeProposal = govclient.NewProposalHandler(cli.NewSubmitUnstakeProposalTxCmd) diff --git a/x/pairing/client/utils/utils.go b/x/pairing/client/utils/utils.go index a9467cc648..1ef0b6a98d 100755 --- a/x/pairing/client/utils/utils.go +++ b/x/pairing/client/utils/utils.go @@ -4,7 +4,7 @@ import ( "os" "github.com/cosmos/cosmos-sdk/codec" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/types" ) type ( diff --git a/x/pairing/genesis.go b/x/pairing/genesis.go index a1c0c190b7..d0b17726bf 100644 --- a/x/pairing/genesis.go +++ b/x/pairing/genesis.go @@ -2,8 +2,8 @@ package pairing import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/pairing/keeper" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/keeper" + "github.com/lavanet/lava/v3/x/pairing/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/pairing/genesis_test.go b/x/pairing/genesis_test.go index b50356dd65..9d5c7407ee 100644 --- a/x/pairing/genesis_test.go +++ b/x/pairing/genesis_test.go @@ -3,10 +3,10 @@ package pairing_test import ( "testing" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/testutil/nullify" - "github.com/lavanet/lava/v2/x/pairing" - "github.com/lavanet/lava/v2/x/pairing/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/testutil/nullify" + "github.com/lavanet/lava/v3/x/pairing" + "github.com/lavanet/lava/v3/x/pairing/types" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/handler.go b/x/pairing/handler.go index 39e8d73443..9f036f9c2b 100644 --- a/x/pairing/handler.go +++ b/x/pairing/handler.go @@ -6,8 +6,8 @@ import ( sdkerrors "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/x/pairing/keeper" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/keeper" + "github.com/lavanet/lava/v3/x/pairing/types" ) // NewHandler ... diff --git a/x/pairing/keeper/badge_used_cu.go b/x/pairing/keeper/badge_used_cu.go index 50ceb20db2..38cb3ff31c 100644 --- a/x/pairing/keeper/badge_used_cu.go +++ b/x/pairing/keeper/badge_used_cu.go @@ -5,9 +5,9 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/pairing/types" - timertypes "github.com/lavanet/lava/v2/x/timerstore/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/pairing/types" + timertypes "github.com/lavanet/lava/v3/x/timerstore/types" ) // SetBadgeUsedCu set a specific badgeUsedCu in the store from its index diff --git a/x/pairing/keeper/badge_used_cu_test.go b/x/pairing/keeper/badge_used_cu_test.go index bfa4d4ec0e..a1f6661414 100644 --- a/x/pairing/keeper/badge_used_cu_test.go +++ b/x/pairing/keeper/badge_used_cu_test.go @@ -5,10 +5,10 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/testutil/nullify" - "github.com/lavanet/lava/v2/x/pairing/keeper" - "github.com/lavanet/lava/v2/x/pairing/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/testutil/nullify" + "github.com/lavanet/lava/v3/x/pairing/keeper" + "github.com/lavanet/lava/v3/x/pairing/types" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/keeper/cu_tracker_test.go b/x/pairing/keeper/cu_tracker_test.go index 7911ce154e..6bd44f3806 100644 --- a/x/pairing/keeper/cu_tracker_test.go +++ b/x/pairing/keeper/cu_tracker_test.go @@ -6,12 +6,12 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/testutil/common" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/utils/lavaslices" - "github.com/lavanet/lava/v2/utils/sigs" - "github.com/lavanet/lava/v2/x/pairing/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/testutil/common" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/utils/lavaslices" + "github.com/lavanet/lava/v3/utils/sigs" + "github.com/lavanet/lava/v3/x/pairing/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/keeper/delegator_rewards_test.go b/x/pairing/keeper/delegator_rewards_test.go index a6aa073fb3..722cdbabef 100644 --- a/x/pairing/keeper/delegator_rewards_test.go +++ b/x/pairing/keeper/delegator_rewards_test.go @@ -5,12 +5,12 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/testutil/common" - "github.com/lavanet/lava/v2/utils/lavaslices" - "github.com/lavanet/lava/v2/utils/sigs" - dualstakingtypes "github.com/lavanet/lava/v2/x/dualstaking/types" - "github.com/lavanet/lava/v2/x/pairing/types" - subscriptiontypes "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/testutil/common" + "github.com/lavanet/lava/v3/utils/lavaslices" + "github.com/lavanet/lava/v3/utils/sigs" + dualstakingtypes "github.com/lavanet/lava/v3/x/dualstaking/types" + "github.com/lavanet/lava/v3/x/pairing/types" + subscriptiontypes "github.com/lavanet/lava/v3/x/subscription/types" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/keeper/discipline.go b/x/pairing/keeper/discipline.go index a37d5d620d..d6db6c2997 100644 --- a/x/pairing/keeper/discipline.go +++ b/x/pairing/keeper/discipline.go @@ -4,7 +4,7 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" ) func (k Keeper) JailEntry(ctx sdk.Context, address string, chainID string, jailStartBlock, jailBlocks uint64, bail sdk.Coin) error { diff --git a/x/pairing/keeper/epoch_cu.go b/x/pairing/keeper/epoch_cu.go index c5f1d3dc24..98c798f8b7 100644 --- a/x/pairing/keeper/epoch_cu.go +++ b/x/pairing/keeper/epoch_cu.go @@ -4,8 +4,8 @@ import ( "github.com/cosmos/cosmos-sdk/store/cachekv" "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/pairing/types" ) // UniqueEpochSession is used to detect double spend attacks diff --git a/x/pairing/keeper/epoch_cu_test.go b/x/pairing/keeper/epoch_cu_test.go index a3314fcf52..aa69bae89e 100644 --- a/x/pairing/keeper/epoch_cu_test.go +++ b/x/pairing/keeper/epoch_cu_test.go @@ -5,10 +5,10 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/testutil/nullify" - "github.com/lavanet/lava/v2/x/pairing/keeper" - "github.com/lavanet/lava/v2/x/pairing/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/testutil/nullify" + "github.com/lavanet/lava/v3/x/pairing/keeper" + "github.com/lavanet/lava/v3/x/pairing/types" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/keeper/epoch_payment.go b/x/pairing/keeper/epoch_payment.go index 598dbaa7bd..488219bbd5 100644 --- a/x/pairing/keeper/epoch_payment.go +++ b/x/pairing/keeper/epoch_payment.go @@ -2,7 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/types" ) // AddEpochPayment adds a new epoch payment and returns the updated CU used between provider and project diff --git a/x/pairing/keeper/filters/addon_filter.go b/x/pairing/keeper/filters/addon_filter.go index 30b8057002..d8be7adb99 100644 --- a/x/pairing/keeper/filters/addon_filter.go +++ b/x/pairing/keeper/filters/addon_filter.go @@ -4,9 +4,9 @@ import ( "sort" sdk "github.com/cosmos/cosmos-sdk/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) type AddonFilter struct { diff --git a/x/pairing/keeper/filters/filter.go b/x/pairing/keeper/filters/filter.go index b7689c46d5..097ccee0cc 100644 --- a/x/pairing/keeper/filters/filter.go +++ b/x/pairing/keeper/filters/filter.go @@ -4,11 +4,11 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - pairingscores "github.com/lavanet/lava/v2/x/pairing/keeper/scores" - "github.com/lavanet/lava/v2/x/pairing/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/utils" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + pairingscores "github.com/lavanet/lava/v3/x/pairing/keeper/scores" + "github.com/lavanet/lava/v3/x/pairing/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" ) // The Filter interface allows creating filters that filter out providers in the pairing process. diff --git a/x/pairing/keeper/filters/filter_test.go b/x/pairing/keeper/filters/filter_test.go index 296461c2de..b32e43b5c2 100644 --- a/x/pairing/keeper/filters/filter_test.go +++ b/x/pairing/keeper/filters/filter_test.go @@ -5,8 +5,8 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/keeper/filters/frozen_providers_filter.go b/x/pairing/keeper/filters/frozen_providers_filter.go index c20b302a63..5dc4bcd5fc 100644 --- a/x/pairing/keeper/filters/frozen_providers_filter.go +++ b/x/pairing/keeper/filters/frozen_providers_filter.go @@ -2,8 +2,8 @@ package filters import ( sdk "github.com/cosmos/cosmos-sdk/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" ) type FrozenProvidersFilter struct{} diff --git a/x/pairing/keeper/filters/geolocation_filter.go b/x/pairing/keeper/filters/geolocation_filter.go index 489427aa19..8d614e0372 100644 --- a/x/pairing/keeper/filters/geolocation_filter.go +++ b/x/pairing/keeper/filters/geolocation_filter.go @@ -2,8 +2,8 @@ package filters import ( sdk "github.com/cosmos/cosmos-sdk/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" ) // TODO: This filter is disabled (InitFilter always returns false) diff --git a/x/pairing/keeper/filters/selected_providers_filter.go b/x/pairing/keeper/filters/selected_providers_filter.go index 1e17f921bb..ec15fcdc5f 100644 --- a/x/pairing/keeper/filters/selected_providers_filter.go +++ b/x/pairing/keeper/filters/selected_providers_filter.go @@ -2,8 +2,8 @@ package filters import ( sdk "github.com/cosmos/cosmos-sdk/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" ) type SelectedProvidersFilter struct { diff --git a/x/pairing/keeper/fixation_test.go b/x/pairing/keeper/fixation_test.go index 474ca2a330..b504bab17b 100644 --- a/x/pairing/keeper/fixation_test.go +++ b/x/pairing/keeper/fixation_test.go @@ -4,9 +4,9 @@ import ( "strconv" "testing" - "github.com/lavanet/lava/v2/testutil/common" - "github.com/lavanet/lava/v2/utils/sigs" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/testutil/common" + "github.com/lavanet/lava/v3/utils/sigs" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/keeper/grpc_query.go b/x/pairing/keeper/grpc_query.go index 75b5485f4f..cc13962edf 100644 --- a/x/pairing/keeper/grpc_query.go +++ b/x/pairing/keeper/grpc_query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/pairing/keeper/grpc_query_effective_policy.go b/x/pairing/keeper/grpc_query_effective_policy.go index 934dfd1804..8a2d5ee29a 100644 --- a/x/pairing/keeper/grpc_query_effective_policy.go +++ b/x/pairing/keeper/grpc_query_effective_policy.go @@ -5,8 +5,8 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/pairing/types" - projectstypes "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/x/pairing/types" + projectstypes "github.com/lavanet/lava/v3/x/projects/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/pairing/keeper/grpc_query_effective_policy_test.go b/x/pairing/keeper/grpc_query_effective_policy_test.go index 8b21fba0e8..a230c4b099 100644 --- a/x/pairing/keeper/grpc_query_effective_policy_test.go +++ b/x/pairing/keeper/grpc_query_effective_policy_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - "github.com/lavanet/lava/v2/testutil/common" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/testutil/common" + planstypes "github.com/lavanet/lava/v3/x/plans/types" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/keeper/grpc_query_get_pairing.go b/x/pairing/keeper/grpc_query_get_pairing.go index 429b1f1ae1..42ab6c3d2d 100644 --- a/x/pairing/keeper/grpc_query_get_pairing.go +++ b/x/pairing/keeper/grpc_query_get_pairing.go @@ -6,9 +6,9 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/pairing/keeper/grpc_query_params.go b/x/pairing/keeper/grpc_query_params.go index c88e6c6b88..3c1bacc8fe 100644 --- a/x/pairing/keeper/grpc_query_params.go +++ b/x/pairing/keeper/grpc_query_params.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/pairing/keeper/grpc_query_params_test.go b/x/pairing/keeper/grpc_query_params_test.go index 759dd9e03c..3fe74bce2a 100644 --- a/x/pairing/keeper/grpc_query_params_test.go +++ b/x/pairing/keeper/grpc_query_params_test.go @@ -4,8 +4,8 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/pairing/types" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/pairing/types" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/keeper/grpc_query_provider.go b/x/pairing/keeper/grpc_query_provider.go index 086b843023..e23711c1f8 100644 --- a/x/pairing/keeper/grpc_query_provider.go +++ b/x/pairing/keeper/grpc_query_provider.go @@ -4,8 +4,8 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - "github.com/lavanet/lava/v2/x/pairing/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/pairing/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/pairing/keeper/grpc_query_provider_monthly_payout.go b/x/pairing/keeper/grpc_query_provider_monthly_payout.go index a21a91bc02..7d5759fffa 100644 --- a/x/pairing/keeper/grpc_query_provider_monthly_payout.go +++ b/x/pairing/keeper/grpc_query_provider_monthly_payout.go @@ -5,10 +5,10 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/pairing/types" - subsciption "github.com/lavanet/lava/v2/x/subscription/keeper" - subsciptiontypes "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/pairing/types" + subsciption "github.com/lavanet/lava/v3/x/subscription/keeper" + subsciptiontypes "github.com/lavanet/lava/v3/x/subscription/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/pairing/keeper/grpc_query_provider_pairing_chance.go b/x/pairing/keeper/grpc_query_provider_pairing_chance.go index 33da88a670..b4081c7581 100644 --- a/x/pairing/keeper/grpc_query_provider_pairing_chance.go +++ b/x/pairing/keeper/grpc_query_provider_pairing_chance.go @@ -5,8 +5,8 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/pairing/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/x/pairing/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/pairing/keeper/grpc_query_providers.go b/x/pairing/keeper/grpc_query_providers.go index ccdb4fec87..182748f4f7 100644 --- a/x/pairing/keeper/grpc_query_providers.go +++ b/x/pairing/keeper/grpc_query_providers.go @@ -4,8 +4,8 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - "github.com/lavanet/lava/v2/x/pairing/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/pairing/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/pairing/keeper/grpc_query_providers_epoch_cu.go b/x/pairing/keeper/grpc_query_providers_epoch_cu.go index eb189e0ec5..296ab3c7dc 100644 --- a/x/pairing/keeper/grpc_query_providers_epoch_cu.go +++ b/x/pairing/keeper/grpc_query_providers_epoch_cu.go @@ -5,7 +5,7 @@ import ( "sort" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/pairing/keeper/grpc_query_static_providers_list.go b/x/pairing/keeper/grpc_query_static_providers_list.go index 68cb318a20..9ed0c061ec 100644 --- a/x/pairing/keeper/grpc_query_static_providers_list.go +++ b/x/pairing/keeper/grpc_query_static_providers_list.go @@ -5,9 +5,9 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/pairing/keeper/grpc_query_subscription_monthly_payout.go b/x/pairing/keeper/grpc_query_subscription_monthly_payout.go index 8552bf29b3..cc1f50ad2d 100644 --- a/x/pairing/keeper/grpc_query_subscription_monthly_payout.go +++ b/x/pairing/keeper/grpc_query_subscription_monthly_payout.go @@ -6,10 +6,10 @@ import ( "sort" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/pairing/types" - subsciption "github.com/lavanet/lava/v2/x/subscription/keeper" - subsciptiontypes "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/pairing/types" + subsciption "github.com/lavanet/lava/v3/x/subscription/keeper" + subsciptiontypes "github.com/lavanet/lava/v3/x/subscription/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/pairing/keeper/grpc_query_user_entry.go b/x/pairing/keeper/grpc_query_user_entry.go index 0c6cb3e960..f100d5f60c 100644 --- a/x/pairing/keeper/grpc_query_user_entry.go +++ b/x/pairing/keeper/grpc_query_user_entry.go @@ -5,9 +5,9 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - "github.com/lavanet/lava/v2/x/pairing/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/pairing/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/pairing/keeper/grpc_query_verify_pairing.go b/x/pairing/keeper/grpc_query_verify_pairing.go index a443804224..bb1deab9a3 100644 --- a/x/pairing/keeper/grpc_query_verify_pairing.go +++ b/x/pairing/keeper/grpc_query_verify_pairing.go @@ -6,7 +6,7 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/pairing/keeper/helpers_test.go b/x/pairing/keeper/helpers_test.go index f8456cffe1..e1509bd73b 100644 --- a/x/pairing/keeper/helpers_test.go +++ b/x/pairing/keeper/helpers_test.go @@ -5,13 +5,13 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/testutil/common" - testutil "github.com/lavanet/lava/v2/testutil/keeper" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" - rewardstypes "github.com/lavanet/lava/v2/x/rewards/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/testutil/common" + testutil "github.com/lavanet/lava/v3/testutil/keeper" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" + rewardstypes "github.com/lavanet/lava/v3/x/rewards/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/keeper/keeper.go b/x/pairing/keeper/keeper.go index 81d96d5492..5451e3da5d 100644 --- a/x/pairing/keeper/keeper.go +++ b/x/pairing/keeper/keeper.go @@ -4,16 +4,16 @@ import ( "fmt" storetypes "github.com/cosmos/cosmos-sdk/store/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - timerstoretypes "github.com/lavanet/lava/v2/x/timerstore/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + timerstoretypes "github.com/lavanet/lava/v3/x/timerstore/types" "github.com/cometbft/cometbft/libs/log" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - fixationtypes "github.com/lavanet/lava/v2/x/fixationstore/types" - "github.com/lavanet/lava/v2/x/pairing/types" + fixationtypes "github.com/lavanet/lava/v3/x/fixationstore/types" + "github.com/lavanet/lava/v3/x/pairing/types" ) type ( diff --git a/x/pairing/keeper/limitConsumer.go b/x/pairing/keeper/limitConsumer.go index 801ad48798..43062c85da 100644 --- a/x/pairing/keeper/limitConsumer.go +++ b/x/pairing/keeper/limitConsumer.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/utils" + planstypes "github.com/lavanet/lava/v3/x/plans/types" ) func (k Keeper) EnforceClientCUsUsageInEpoch(ctx sdk.Context, relayCU, epochAllowedCU, totalCUInEpochForUserProvider uint64, clientAddr sdk.AccAddress, chainID string, epoch uint64) (uint64, error) { diff --git a/x/pairing/keeper/limitConsumer_test.go b/x/pairing/keeper/limitConsumer_test.go index 5d6b63be3e..ada0c67360 100644 --- a/x/pairing/keeper/limitConsumer_test.go +++ b/x/pairing/keeper/limitConsumer_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - "github.com/lavanet/lava/v2/testutil/common" - "github.com/lavanet/lava/v2/utils/sigs" + "github.com/lavanet/lava/v3/testutil/common" + "github.com/lavanet/lava/v3/utils/sigs" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/keeper/migrations.go b/x/pairing/keeper/migrations.go index 3c9420eda8..2d15e795a0 100644 --- a/x/pairing/keeper/migrations.go +++ b/x/pairing/keeper/migrations.go @@ -4,8 +4,8 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - v2 "github.com/lavanet/lava/v2/x/pairing/migrations/v2" + "github.com/lavanet/lava/v3/utils" + v2 "github.com/lavanet/lava/v3/x/pairing/migrations/v2" ) type Migrator struct { diff --git a/x/pairing/keeper/msg_server.go b/x/pairing/keeper/msg_server.go index e8b3964d31..78e6f7d3dc 100644 --- a/x/pairing/keeper/msg_server.go +++ b/x/pairing/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/types" ) type msgServer struct { diff --git a/x/pairing/keeper/msg_server_freeze.go b/x/pairing/keeper/msg_server_freeze.go index 9e343e863a..e8ceb86d35 100644 --- a/x/pairing/keeper/msg_server_freeze.go +++ b/x/pairing/keeper/msg_server_freeze.go @@ -7,9 +7,9 @@ import ( "strings" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - commontypes "github.com/lavanet/lava/v2/utils/common/types" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + commontypes "github.com/lavanet/lava/v3/utils/common/types" + "github.com/lavanet/lava/v3/x/pairing/types" ) func (k msgServer) FreezeProvider(goCtx context.Context, msg *types.MsgFreezeProvider) (*types.MsgFreezeProviderResponse, error) { diff --git a/x/pairing/keeper/msg_server_freeze_test.go b/x/pairing/keeper/msg_server_freeze_test.go index 27192897ed..58d02387c8 100644 --- a/x/pairing/keeper/msg_server_freeze_test.go +++ b/x/pairing/keeper/msg_server_freeze_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - "github.com/lavanet/lava/v2/testutil/common" - "github.com/lavanet/lava/v2/utils/sigs" + "github.com/lavanet/lava/v3/testutil/common" + "github.com/lavanet/lava/v3/utils/sigs" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/keeper/msg_server_relay_payment.go b/x/pairing/keeper/msg_server_relay_payment.go index c3f7c75212..e4321d4494 100644 --- a/x/pairing/keeper/msg_server_relay_payment.go +++ b/x/pairing/keeper/msg_server_relay_payment.go @@ -8,12 +8,12 @@ import ( "time" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - commontypes "github.com/lavanet/lava/v2/utils/common/types" - "github.com/lavanet/lava/v2/utils/sigs" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - "github.com/lavanet/lava/v2/x/pairing/types" - projectstypes "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/utils" + commontypes "github.com/lavanet/lava/v3/utils/common/types" + "github.com/lavanet/lava/v3/utils/sigs" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/pairing/types" + projectstypes "github.com/lavanet/lava/v3/x/projects/types" ) type BadgeData struct { diff --git a/x/pairing/keeper/msg_server_relay_payment_gov_test.go b/x/pairing/keeper/msg_server_relay_payment_gov_test.go index f1b4499bfb..6f1f8713cf 100644 --- a/x/pairing/keeper/msg_server_relay_payment_gov_test.go +++ b/x/pairing/keeper/msg_server_relay_payment_gov_test.go @@ -5,11 +5,11 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/testutil/common" - "github.com/lavanet/lava/v2/utils/lavaslices" - "github.com/lavanet/lava/v2/utils/sigs" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/testutil/common" + "github.com/lavanet/lava/v3/utils/lavaslices" + "github.com/lavanet/lava/v3/utils/sigs" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/keeper/msg_server_relay_payment_test.go b/x/pairing/keeper/msg_server_relay_payment_test.go index 576ae4d5f0..54d11afb53 100644 --- a/x/pairing/keeper/msg_server_relay_payment_test.go +++ b/x/pairing/keeper/msg_server_relay_payment_test.go @@ -4,13 +4,13 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/testutil/common" - commonconsts "github.com/lavanet/lava/v2/testutil/common/consts" - "github.com/lavanet/lava/v2/utils/lavaslices" - "github.com/lavanet/lava/v2/utils/sigs" - "github.com/lavanet/lava/v2/x/pairing/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" - projectstypes "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/testutil/common" + commonconsts "github.com/lavanet/lava/v3/testutil/common/consts" + "github.com/lavanet/lava/v3/utils/lavaslices" + "github.com/lavanet/lava/v3/utils/sigs" + "github.com/lavanet/lava/v3/x/pairing/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" + projectstypes "github.com/lavanet/lava/v3/x/projects/types" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/keeper/msg_server_stake_provider.go b/x/pairing/keeper/msg_server_stake_provider.go index 9a9890f38a..75b4a14e7b 100644 --- a/x/pairing/keeper/msg_server_stake_provider.go +++ b/x/pairing/keeper/msg_server_stake_provider.go @@ -4,8 +4,8 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/pairing/types" ) func (k msgServer) StakeProvider(goCtx context.Context, msg *types.MsgStakeProvider) (*types.MsgStakeProviderResponse, error) { diff --git a/x/pairing/keeper/msg_server_stake_provider_test.go b/x/pairing/keeper/msg_server_stake_provider_test.go index ecdee17001..48b70f1faf 100644 --- a/x/pairing/keeper/msg_server_stake_provider_test.go +++ b/x/pairing/keeper/msg_server_stake_provider_test.go @@ -7,11 +7,11 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/lavanet/lava/v2/testutil/common" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - "github.com/lavanet/lava/v2/x/pairing/client/cli" - "github.com/lavanet/lava/v2/x/pairing/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/testutil/common" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/pairing/client/cli" + "github.com/lavanet/lava/v3/x/pairing/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/keeper/msg_server_stake_unstake_gov_test.go b/x/pairing/keeper/msg_server_stake_unstake_gov_test.go index aa519df090..c8a95d339b 100644 --- a/x/pairing/keeper/msg_server_stake_unstake_gov_test.go +++ b/x/pairing/keeper/msg_server_stake_unstake_gov_test.go @@ -4,7 +4,7 @@ import ( "strconv" "testing" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/keeper/msg_server_test.go b/x/pairing/keeper/msg_server_test.go index 1611552345..c1896c153a 100644 --- a/x/pairing/keeper/msg_server_test.go +++ b/x/pairing/keeper/msg_server_test.go @@ -5,9 +5,9 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/pairing/keeper" - "github.com/lavanet/lava/v2/x/pairing/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/pairing/keeper" + "github.com/lavanet/lava/v3/x/pairing/types" ) // TODO: use or delete this function diff --git a/x/pairing/keeper/msg_server_unfreeze.go b/x/pairing/keeper/msg_server_unfreeze.go index 35bbda74cd..38dcbf618d 100644 --- a/x/pairing/keeper/msg_server_unfreeze.go +++ b/x/pairing/keeper/msg_server_unfreeze.go @@ -5,8 +5,8 @@ import ( "strings" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/pairing/types" ) func (k msgServer) UnfreezeProvider(goCtx context.Context, msg *types.MsgUnfreezeProvider) (*types.MsgUnfreezeProviderResponse, error) { diff --git a/x/pairing/keeper/msg_server_unstake_provider.go b/x/pairing/keeper/msg_server_unstake_provider.go index 09a4fe1866..c072618356 100644 --- a/x/pairing/keeper/msg_server_unstake_provider.go +++ b/x/pairing/keeper/msg_server_unstake_provider.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/types" ) func (k msgServer) UnstakeProvider(goCtx context.Context, msg *types.MsgUnstakeProvider) (*types.MsgUnstakeProviderResponse, error) { diff --git a/x/pairing/keeper/msg_server_unstake_provider_test.go b/x/pairing/keeper/msg_server_unstake_provider_test.go index e58960b196..296dfd4b5b 100644 --- a/x/pairing/keeper/msg_server_unstake_provider_test.go +++ b/x/pairing/keeper/msg_server_unstake_provider_test.go @@ -3,7 +3,7 @@ package keeper_test import ( "testing" - "github.com/lavanet/lava/v2/testutil/common" + "github.com/lavanet/lava/v3/testutil/common" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/keeper/pairing.go b/x/pairing/keeper/pairing.go index 62c91d477f..023eae047d 100644 --- a/x/pairing/keeper/pairing.go +++ b/x/pairing/keeper/pairing.go @@ -7,14 +7,14 @@ import ( cosmosmath "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/lavaslices" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - pairingfilters "github.com/lavanet/lava/v2/x/pairing/keeper/filters" - pairingscores "github.com/lavanet/lava/v2/x/pairing/keeper/scores" - planstypes "github.com/lavanet/lava/v2/x/plans/types" - projectstypes "github.com/lavanet/lava/v2/x/projects/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/lavaslices" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + pairingfilters "github.com/lavanet/lava/v3/x/pairing/keeper/filters" + pairingscores "github.com/lavanet/lava/v3/x/pairing/keeper/scores" + planstypes "github.com/lavanet/lava/v3/x/plans/types" + projectstypes "github.com/lavanet/lava/v3/x/projects/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) func (k Keeper) VerifyPairingData(ctx sdk.Context, chainID string, block uint64) (epoch uint64, providersType spectypes.Spec_ProvidersTypes, errorRet error) { diff --git a/x/pairing/keeper/pairing_cache.go b/x/pairing/keeper/pairing_cache.go index c0fed2c608..5cad220cd6 100644 --- a/x/pairing/keeper/pairing_cache.go +++ b/x/pairing/keeper/pairing_cache.go @@ -3,8 +3,8 @@ package keeper import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - "github.com/lavanet/lava/v2/x/pairing/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/pairing/types" ) func (k Keeper) SetPairingRelayCache(ctx sdk.Context, project string, chainID string, epoch uint64, pairedProviders []epochstoragetypes.StakeEntry, allowedCu uint64) { diff --git a/x/pairing/keeper/pairing_cache_test.go b/x/pairing/keeper/pairing_cache_test.go index 4e2758e3b0..31b6669192 100644 --- a/x/pairing/keeper/pairing_cache_test.go +++ b/x/pairing/keeper/pairing_cache_test.go @@ -3,7 +3,7 @@ package keeper_test import ( "testing" - "github.com/lavanet/lava/v2/testutil/common" + "github.com/lavanet/lava/v3/testutil/common" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/keeper/pairing_immediately_test.go b/x/pairing/keeper/pairing_immediately_test.go index a445bb3d80..260b9b1488 100644 --- a/x/pairing/keeper/pairing_immediately_test.go +++ b/x/pairing/keeper/pairing_immediately_test.go @@ -3,9 +3,9 @@ package keeper_test import ( "testing" - "github.com/lavanet/lava/v2/testutil/common" - "github.com/lavanet/lava/v2/utils/lavaslices" - projectTypes "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/testutil/common" + "github.com/lavanet/lava/v3/utils/lavaslices" + projectTypes "github.com/lavanet/lava/v3/x/projects/types" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/keeper/pairing_next_epoch_time_block.go b/x/pairing/keeper/pairing_next_epoch_time_block.go index 5d242d2274..e454f7114d 100644 --- a/x/pairing/keeper/pairing_next_epoch_time_block.go +++ b/x/pairing/keeper/pairing_next_epoch_time_block.go @@ -7,8 +7,8 @@ import ( "github.com/cometbft/cometbft/rpc/core" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" ) const ( diff --git a/x/pairing/keeper/pairing_subscription_test.go b/x/pairing/keeper/pairing_subscription_test.go index b037d88f39..b46c105e9a 100644 --- a/x/pairing/keeper/pairing_subscription_test.go +++ b/x/pairing/keeper/pairing_subscription_test.go @@ -3,11 +3,11 @@ package keeper_test import ( "testing" - "github.com/lavanet/lava/v2/testutil/common" - "github.com/lavanet/lava/v2/utils/lavaslices" - "github.com/lavanet/lava/v2/utils/sigs" - planstypes "github.com/lavanet/lava/v2/x/plans/types" - projectstypes "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/testutil/common" + "github.com/lavanet/lava/v3/utils/lavaslices" + "github.com/lavanet/lava/v3/utils/sigs" + planstypes "github.com/lavanet/lava/v3/x/plans/types" + projectstypes "github.com/lavanet/lava/v3/x/projects/types" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/keeper/pairing_test.go b/x/pairing/keeper/pairing_test.go index a9cf57336b..f1e607aff0 100644 --- a/x/pairing/keeper/pairing_test.go +++ b/x/pairing/keeper/pairing_test.go @@ -8,16 +8,16 @@ import ( "time" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/testutil/common" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - specutils "github.com/lavanet/lava/v2/utils/keeper" - "github.com/lavanet/lava/v2/utils/lavaslices" - "github.com/lavanet/lava/v2/utils/sigs" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - pairingscores "github.com/lavanet/lava/v2/x/pairing/keeper/scores" - "github.com/lavanet/lava/v2/x/pairing/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/testutil/common" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + specutils "github.com/lavanet/lava/v3/utils/keeper" + "github.com/lavanet/lava/v3/utils/lavaslices" + "github.com/lavanet/lava/v3/utils/sigs" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + pairingscores "github.com/lavanet/lava/v3/x/pairing/keeper/scores" + "github.com/lavanet/lava/v3/x/pairing/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/keeper/params.go b/x/pairing/keeper/params.go index 3b076a6917..b7ca316905 100644 --- a/x/pairing/keeper/params.go +++ b/x/pairing/keeper/params.go @@ -4,8 +4,8 @@ import ( "strconv" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/pairing/types" ) // GetParams get all parameters as types.Params diff --git a/x/pairing/keeper/params_test.go b/x/pairing/keeper/params_test.go index b187cb0581..149c1b22a2 100644 --- a/x/pairing/keeper/params_test.go +++ b/x/pairing/keeper/params_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/pairing/types" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/pairing/types" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/keeper/qos_excellence.go b/x/pairing/keeper/qos_excellence.go index 0f9d367066..0dd7f16b89 100644 --- a/x/pairing/keeper/qos_excellence.go +++ b/x/pairing/keeper/qos_excellence.go @@ -4,8 +4,8 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" ) // TODO: implement UpdateProviderQos(payments) diff --git a/x/pairing/keeper/query_sdk_pairing.go b/x/pairing/keeper/query_sdk_pairing.go index 03e2457578..cbe2ce3024 100644 --- a/x/pairing/keeper/query_sdk_pairing.go +++ b/x/pairing/keeper/query_sdk_pairing.go @@ -5,7 +5,7 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/pairing/keeper/scores/geo_req.go b/x/pairing/keeper/scores/geo_req.go index 66953c4f6e..b658cd3781 100644 --- a/x/pairing/keeper/scores/geo_req.go +++ b/x/pairing/keeper/scores/geo_req.go @@ -5,8 +5,8 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/utils" + planstypes "github.com/lavanet/lava/v3/x/plans/types" ) // geo requirement that implements the ScoreReq interface diff --git a/x/pairing/keeper/scores/geo_req_test.go b/x/pairing/keeper/scores/geo_req_test.go index 73de028ba4..725f724fd6 100644 --- a/x/pairing/keeper/scores/geo_req_test.go +++ b/x/pairing/keeper/scores/geo_req_test.go @@ -3,9 +3,9 @@ package scores import ( "testing" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - "github.com/lavanet/lava/v2/x/pairing/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/pairing/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/keeper/scores/pairing_score.go b/x/pairing/keeper/scores/pairing_score.go index 3b5716021b..023f5b4be9 100644 --- a/x/pairing/keeper/scores/pairing_score.go +++ b/x/pairing/keeper/scores/pairing_score.go @@ -2,8 +2,8 @@ package scores import ( "cosmossdk.io/math" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" ) const ( diff --git a/x/pairing/keeper/scores/qos_req.go b/x/pairing/keeper/scores/qos_req.go index 7ecb4174d5..38d9a6f22c 100644 --- a/x/pairing/keeper/scores/qos_req.go +++ b/x/pairing/keeper/scores/qos_req.go @@ -3,8 +3,8 @@ package scores import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" ) const qosReqName = "qos-req" diff --git a/x/pairing/keeper/scores/score.go b/x/pairing/keeper/scores/score.go index 9aeea8b44a..cce0bca8fc 100644 --- a/x/pairing/keeper/scores/score.go +++ b/x/pairing/keeper/scores/score.go @@ -42,10 +42,10 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/rand" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/rand" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" ) var uniformStrategy ScoreStrategy diff --git a/x/pairing/keeper/scores/score_req.go b/x/pairing/keeper/scores/score_req.go index 84daf68307..058d2d593b 100644 --- a/x/pairing/keeper/scores/score_req.go +++ b/x/pairing/keeper/scores/score_req.go @@ -2,7 +2,7 @@ package scores import ( "cosmossdk.io/math" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" ) // ScoreReq is an interface for pairing requirement scoring diff --git a/x/pairing/keeper/scores/stake_req.go b/x/pairing/keeper/scores/stake_req.go index c7b2144d98..d118c90a5b 100644 --- a/x/pairing/keeper/scores/stake_req.go +++ b/x/pairing/keeper/scores/stake_req.go @@ -3,7 +3,7 @@ package scores import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" ) const stakeReqName = "stake-req" diff --git a/x/pairing/keeper/staking.go b/x/pairing/keeper/staking.go index 5cfab4fb38..a62f12f82b 100644 --- a/x/pairing/keeper/staking.go +++ b/x/pairing/keeper/staking.go @@ -7,11 +7,11 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/lavanet/lava/v2/utils" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - "github.com/lavanet/lava/v2/x/pairing/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/utils" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/pairing/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" ) const ( diff --git a/x/pairing/keeper/unresponsive_provider.go b/x/pairing/keeper/unresponsive_provider.go index d34a2da4de..a1443d7b6c 100644 --- a/x/pairing/keeper/unresponsive_provider.go +++ b/x/pairing/keeper/unresponsive_provider.go @@ -8,9 +8,9 @@ import ( "time" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/pairing/types" ) const ( diff --git a/x/pairing/keeper/unresponsive_provider_test.go b/x/pairing/keeper/unresponsive_provider_test.go index 62a8d75d86..abaf11842c 100644 --- a/x/pairing/keeper/unresponsive_provider_test.go +++ b/x/pairing/keeper/unresponsive_provider_test.go @@ -4,12 +4,12 @@ import ( "testing" "time" - "github.com/lavanet/lava/v2/testutil/common" - "github.com/lavanet/lava/v2/utils/lavaslices" - "github.com/lavanet/lava/v2/utils/rand" - "github.com/lavanet/lava/v2/utils/sigs" - "github.com/lavanet/lava/v2/x/pairing/keeper" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/testutil/common" + "github.com/lavanet/lava/v3/utils/lavaslices" + "github.com/lavanet/lava/v3/utils/rand" + "github.com/lavanet/lava/v3/utils/sigs" + "github.com/lavanet/lava/v3/x/pairing/keeper" + "github.com/lavanet/lava/v3/x/pairing/types" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/keeper/unstaking.go b/x/pairing/keeper/unstaking.go index 8caa313f38..ff4f6eafb0 100644 --- a/x/pairing/keeper/unstaking.go +++ b/x/pairing/keeper/unstaking.go @@ -6,8 +6,8 @@ import ( "strconv" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/pairing/types" ) func (k Keeper) UnstakeEntry(ctx sdk.Context, validator, chainID, creator, unstakeDescription string) error { diff --git a/x/pairing/keeper/unstaking_test.go b/x/pairing/keeper/unstaking_test.go index 242451479c..cff2bf2537 100644 --- a/x/pairing/keeper/unstaking_test.go +++ b/x/pairing/keeper/unstaking_test.go @@ -5,9 +5,9 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/testutil/common" - testutils "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/testutil/common" + testutils "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/pairing/types" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/migrations/v2/epoch_payments.go b/x/pairing/migrations/v2/epoch_payments.go index a6e2f4e48f..4f99051035 100644 --- a/x/pairing/migrations/v2/epoch_payments.go +++ b/x/pairing/migrations/v2/epoch_payments.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/types" ) // RemoveAllEpochPayments removes all epochPayments diff --git a/x/pairing/module.go b/x/pairing/module.go index 06b62f88fb..5f605c9eb7 100644 --- a/x/pairing/module.go +++ b/x/pairing/module.go @@ -16,9 +16,9 @@ import ( cdctypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/lavanet/lava/v2/x/pairing/client/cli" - "github.com/lavanet/lava/v2/x/pairing/keeper" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/client/cli" + "github.com/lavanet/lava/v3/x/pairing/keeper" + "github.com/lavanet/lava/v3/x/pairing/types" ) var ( diff --git a/x/pairing/module_simulation.go b/x/pairing/module_simulation.go index 8d7bdb2ecc..ee5c80ce35 100644 --- a/x/pairing/module_simulation.go +++ b/x/pairing/module_simulation.go @@ -10,9 +10,9 @@ import ( simtypes "github.com/cosmos/cosmos-sdk/types/simulation" types2 "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/lavanet/lava/v2/testutil/sample" - pairingsimulation "github.com/lavanet/lava/v2/x/pairing/simulation" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/testutil/sample" + pairingsimulation "github.com/lavanet/lava/v3/x/pairing/simulation" + "github.com/lavanet/lava/v3/x/pairing/types" ) // avoid unused import issue diff --git a/x/pairing/proposal_handler.go b/x/pairing/proposal_handler.go index 40b7eb88e3..d0d2f4351d 100644 --- a/x/pairing/proposal_handler.go +++ b/x/pairing/proposal_handler.go @@ -8,9 +8,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/pairing/keeper" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/pairing/keeper" + "github.com/lavanet/lava/v3/x/pairing/types" ) // NewPlanProposalsHandler creates a new governance Handler for a Plan diff --git a/x/pairing/simulation/freeze.go b/x/pairing/simulation/freeze.go index 8ab48a7171..9a46c5614c 100644 --- a/x/pairing/simulation/freeze.go +++ b/x/pairing/simulation/freeze.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/lavanet/lava/v2/x/pairing/keeper" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/keeper" + "github.com/lavanet/lava/v3/x/pairing/types" ) func SimulateMsgFreeze( diff --git a/x/pairing/simulation/relay_payment.go b/x/pairing/simulation/relay_payment.go index b9e05f3e1d..54267f6432 100644 --- a/x/pairing/simulation/relay_payment.go +++ b/x/pairing/simulation/relay_payment.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/lavanet/lava/v2/x/pairing/keeper" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/keeper" + "github.com/lavanet/lava/v3/x/pairing/types" ) func SimulateMsgRelayPayment( diff --git a/x/pairing/simulation/stake_provider.go b/x/pairing/simulation/stake_provider.go index f084e7d5ac..dc11222b10 100644 --- a/x/pairing/simulation/stake_provider.go +++ b/x/pairing/simulation/stake_provider.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/lavanet/lava/v2/x/pairing/keeper" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/keeper" + "github.com/lavanet/lava/v3/x/pairing/types" ) func SimulateMsgStakeProvider( diff --git a/x/pairing/simulation/unfreeze.go b/x/pairing/simulation/unfreeze.go index 5450594a2b..2290520162 100644 --- a/x/pairing/simulation/unfreeze.go +++ b/x/pairing/simulation/unfreeze.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/lavanet/lava/v2/x/pairing/keeper" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/keeper" + "github.com/lavanet/lava/v3/x/pairing/types" ) func SimulateMsgUnfreeze( diff --git a/x/pairing/simulation/unstake_provider.go b/x/pairing/simulation/unstake_provider.go index fd717ccec0..17dc71b610 100644 --- a/x/pairing/simulation/unstake_provider.go +++ b/x/pairing/simulation/unstake_provider.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/lavanet/lava/v2/x/pairing/keeper" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/keeper" + "github.com/lavanet/lava/v3/x/pairing/types" ) func SimulateMsgUnstakeProvider( diff --git a/x/pairing/types/account_info.pb.go b/x/pairing/types/account_info.pb.go index 8bc793441a..78effd42ee 100644 --- a/x/pairing/types/account_info.pb.go +++ b/x/pairing/types/account_info.pb.go @@ -8,10 +8,10 @@ import ( types3 "github.com/cosmos/cosmos-sdk/x/staking/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" - types4 "github.com/lavanet/lava/v2/x/dualstaking/types" - types "github.com/lavanet/lava/v2/x/epochstorage/types" - types2 "github.com/lavanet/lava/v2/x/projects/types" - types1 "github.com/lavanet/lava/v2/x/subscription/types" + types4 "github.com/lavanet/lava/v3/x/dualstaking/types" + types "github.com/lavanet/lava/v3/x/epochstorage/types" + types2 "github.com/lavanet/lava/v3/x/projects/types" + types1 "github.com/lavanet/lava/v3/x/subscription/types" _ "google.golang.org/protobuf/types/known/wrapperspb" io "io" math "math" diff --git a/x/pairing/types/badge_test.go b/x/pairing/types/badge_test.go index b9adfb9143..755f98bbe0 100644 --- a/x/pairing/types/badge_test.go +++ b/x/pairing/types/badge_test.go @@ -3,7 +3,7 @@ package types import ( "testing" - "github.com/lavanet/lava/v2/utils/sigs" + "github.com/lavanet/lava/v3/utils/sigs" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/types/badges.pb.go b/x/pairing/types/badges.pb.go index 269d435738..b11d5c4a34 100644 --- a/x/pairing/types/badges.pb.go +++ b/x/pairing/types/badges.pb.go @@ -9,8 +9,8 @@ import ( _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" - _ "github.com/lavanet/lava/v2/x/epochstorage/types" - types "github.com/lavanet/lava/v2/x/spec/types" + _ "github.com/lavanet/lava/v3/x/epochstorage/types" + types "github.com/lavanet/lava/v3/x/spec/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/pairing/types/debug_query.pb.go b/x/pairing/types/debug_query.pb.go index 8bf14b7870..d79517642a 100644 --- a/x/pairing/types/debug_query.pb.go +++ b/x/pairing/types/debug_query.pb.go @@ -8,10 +8,10 @@ import ( _ "github.com/cosmos/cosmos-sdk/x/staking/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" - _ "github.com/lavanet/lava/v2/x/dualstaking/types" - _ "github.com/lavanet/lava/v2/x/epochstorage/types" - _ "github.com/lavanet/lava/v2/x/projects/types" - _ "github.com/lavanet/lava/v2/x/subscription/types" + _ "github.com/lavanet/lava/v3/x/dualstaking/types" + _ "github.com/lavanet/lava/v3/x/epochstorage/types" + _ "github.com/lavanet/lava/v3/x/projects/types" + _ "github.com/lavanet/lava/v3/x/subscription/types" _ "google.golang.org/protobuf/types/known/wrapperspb" io "io" math "math" diff --git a/x/pairing/types/epoch_cu.go b/x/pairing/types/epoch_cu.go index 470c8ea3f5..eec3cfeb8f 100644 --- a/x/pairing/types/epoch_cu.go +++ b/x/pairing/types/epoch_cu.go @@ -5,7 +5,7 @@ import ( "strconv" "strings" - "github.com/lavanet/lava/v2/utils" + "github.com/lavanet/lava/v3/utils" ) const ( diff --git a/x/pairing/types/expected_keepers.go b/x/pairing/types/expected_keepers.go index 5daea548e7..6a8fb13978 100644 --- a/x/pairing/types/expected_keepers.go +++ b/x/pairing/types/expected_keepers.go @@ -8,15 +8,15 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - v1 "github.com/lavanet/lava/v2/x/downtime/v1" - dualstakingtypes "github.com/lavanet/lava/v2/x/dualstaking/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - fixationstoretypes "github.com/lavanet/lava/v2/x/fixationstore/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" - projectstypes "github.com/lavanet/lava/v2/x/projects/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" - subscriptiontypes "github.com/lavanet/lava/v2/x/subscription/types" - timerstoretypes "github.com/lavanet/lava/v2/x/timerstore/types" + v1 "github.com/lavanet/lava/v3/x/downtime/v1" + dualstakingtypes "github.com/lavanet/lava/v3/x/dualstaking/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + fixationstoretypes "github.com/lavanet/lava/v3/x/fixationstore/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" + projectstypes "github.com/lavanet/lava/v3/x/projects/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" + subscriptiontypes "github.com/lavanet/lava/v3/x/subscription/types" + timerstoretypes "github.com/lavanet/lava/v3/x/timerstore/types" ) type SpecKeeper interface { diff --git a/x/pairing/types/genesis.go b/x/pairing/types/genesis.go index 314666182f..8bf6eb57e5 100644 --- a/x/pairing/types/genesis.go +++ b/x/pairing/types/genesis.go @@ -3,8 +3,8 @@ package types import ( "fmt" - fixationtypes "github.com/lavanet/lava/v2/x/fixationstore/types" - timerstoretypes "github.com/lavanet/lava/v2/x/timerstore/types" + fixationtypes "github.com/lavanet/lava/v3/x/fixationstore/types" + timerstoretypes "github.com/lavanet/lava/v3/x/timerstore/types" ) // DefaultIndex is the default capability global index diff --git a/x/pairing/types/genesis.pb.go b/x/pairing/types/genesis.pb.go index 9cdbc3bf71..cb4f6d41f7 100644 --- a/x/pairing/types/genesis.pb.go +++ b/x/pairing/types/genesis.pb.go @@ -7,8 +7,8 @@ import ( fmt "fmt" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" - types1 "github.com/lavanet/lava/v2/x/fixationstore/types" - types "github.com/lavanet/lava/v2/x/timerstore/types" + types1 "github.com/lavanet/lava/v3/x/fixationstore/types" + types "github.com/lavanet/lava/v3/x/timerstore/types" io "io" math "math" math_bits "math/bits" diff --git a/x/pairing/types/genesis_test.go b/x/pairing/types/genesis_test.go index 2dd71894df..dd37d32429 100644 --- a/x/pairing/types/genesis_test.go +++ b/x/pairing/types/genesis_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "github.com/lavanet/lava/v2/x/pairing/types" + "github.com/lavanet/lava/v3/x/pairing/types" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/types/message_freeze_test.go b/x/pairing/types/message_freeze_test.go index 67646efa5c..2a15891e35 100644 --- a/x/pairing/types/message_freeze_test.go +++ b/x/pairing/types/message_freeze_test.go @@ -4,7 +4,7 @@ import ( "testing" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/testutil/sample" + "github.com/lavanet/lava/v3/testutil/sample" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/types/message_relay_payment_test.go b/x/pairing/types/message_relay_payment_test.go index 44215c6e07..16d505430f 100644 --- a/x/pairing/types/message_relay_payment_test.go +++ b/x/pairing/types/message_relay_payment_test.go @@ -4,7 +4,7 @@ import ( "testing" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/testutil/sample" + "github.com/lavanet/lava/v3/testutil/sample" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/types/message_stake_provider.go b/x/pairing/types/message_stake_provider.go index 5a9611464c..2b296211e1 100644 --- a/x/pairing/types/message_stake_provider.go +++ b/x/pairing/types/message_stake_provider.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" ) const TypeMsgStakeProvider = "stake_provider" diff --git a/x/pairing/types/message_stake_provider_test.go b/x/pairing/types/message_stake_provider_test.go index 7d640194de..b0ee66e3b2 100644 --- a/x/pairing/types/message_stake_provider_test.go +++ b/x/pairing/types/message_stake_provider_test.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/lavanet/lava/v2/testutil/sample" - commontypes "github.com/lavanet/lava/v2/utils/common/types" + "github.com/lavanet/lava/v3/testutil/sample" + commontypes "github.com/lavanet/lava/v3/utils/common/types" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/types/message_unfreeze_test.go b/x/pairing/types/message_unfreeze_test.go index c098047473..735f0f6d58 100644 --- a/x/pairing/types/message_unfreeze_test.go +++ b/x/pairing/types/message_unfreeze_test.go @@ -4,7 +4,7 @@ import ( "testing" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/testutil/sample" + "github.com/lavanet/lava/v3/testutil/sample" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/types/message_unstake_provider_test.go b/x/pairing/types/message_unstake_provider_test.go index 99251490b0..91305349e3 100644 --- a/x/pairing/types/message_unstake_provider_test.go +++ b/x/pairing/types/message_unstake_provider_test.go @@ -4,7 +4,7 @@ import ( "testing" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/testutil/sample" + "github.com/lavanet/lava/v3/testutil/sample" "github.com/stretchr/testify/require" ) diff --git a/x/pairing/types/query.pb.go b/x/pairing/types/query.pb.go index f03473e840..9a27cde90e 100644 --- a/x/pairing/types/query.pb.go +++ b/x/pairing/types/query.pb.go @@ -11,12 +11,12 @@ import ( _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" - v1 "github.com/lavanet/lava/v2/x/downtime/v1" - types "github.com/lavanet/lava/v2/x/epochstorage/types" - types1 "github.com/lavanet/lava/v2/x/plans/types" - _ "github.com/lavanet/lava/v2/x/projects/types" - types2 "github.com/lavanet/lava/v2/x/spec/types" - _ "github.com/lavanet/lava/v2/x/subscription/types" + v1 "github.com/lavanet/lava/v3/x/downtime/v1" + types "github.com/lavanet/lava/v3/x/epochstorage/types" + types1 "github.com/lavanet/lava/v3/x/plans/types" + _ "github.com/lavanet/lava/v3/x/projects/types" + types2 "github.com/lavanet/lava/v3/x/spec/types" + _ "github.com/lavanet/lava/v3/x/subscription/types" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/pairing/types/relay.pb.go b/x/pairing/types/relay.pb.go index 8df281a273..5834300cd5 100644 --- a/x/pairing/types/relay.pb.go +++ b/x/pairing/types/relay.pb.go @@ -10,7 +10,7 @@ import ( _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" - types "github.com/lavanet/lava/v2/x/epochstorage/types" + types "github.com/lavanet/lava/v3/x/epochstorage/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/pairing/types/relay_exchange.go b/x/pairing/types/relay_exchange.go index f834593a57..27d2567fd7 100644 --- a/x/pairing/types/relay_exchange.go +++ b/x/pairing/types/relay_exchange.go @@ -3,8 +3,8 @@ package types import ( "strings" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/sigs" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/sigs" ) // RelayExchange consists a relay request and its corresponding response diff --git a/x/pairing/types/relay_session.go b/x/pairing/types/relay_session.go index 34144ea317..e11df66c77 100644 --- a/x/pairing/types/relay_session.go +++ b/x/pairing/types/relay_session.go @@ -1,7 +1,7 @@ package types import ( - "github.com/lavanet/lava/v2/utils/sigs" + "github.com/lavanet/lava/v3/utils/sigs" ) func (rs RelaySession) GetSignature() []byte { diff --git a/x/pairing/types/static_providers.pb.go b/x/pairing/types/static_providers.pb.go index aec1a5c68f..90b6db417f 100644 --- a/x/pairing/types/static_providers.pb.go +++ b/x/pairing/types/static_providers.pb.go @@ -7,7 +7,7 @@ import ( fmt "fmt" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" - types "github.com/lavanet/lava/v2/x/epochstorage/types" + types "github.com/lavanet/lava/v3/x/epochstorage/types" io "io" math "math" math_bits "math/bits" diff --git a/x/pairing/types/tx.pb.go b/x/pairing/types/tx.pb.go index 20fde9aabb..cb82e9216d 100644 --- a/x/pairing/types/tx.pb.go +++ b/x/pairing/types/tx.pb.go @@ -12,7 +12,7 @@ import ( _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" - types1 "github.com/lavanet/lava/v2/x/epochstorage/types" + types1 "github.com/lavanet/lava/v3/x/epochstorage/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/plans/client/cli/query.go b/x/plans/client/cli/query.go index a41405b9e7..4a428e7772 100644 --- a/x/plans/client/cli/query.go +++ b/x/plans/client/cli/query.go @@ -10,7 +10,7 @@ import ( // "github.com/cosmos/cosmos-sdk/client/flags" // sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/x/plans/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/plans/client/cli/query_info.go b/x/plans/client/cli/query_info.go index bf4020bea8..dd70d9087b 100644 --- a/x/plans/client/cli/query_info.go +++ b/x/plans/client/cli/query_info.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/x/plans/types" "github.com/spf13/cobra" ) diff --git a/x/plans/client/cli/query_list.go b/x/plans/client/cli/query_list.go index 89a48978e3..80a2da41ea 100644 --- a/x/plans/client/cli/query_list.go +++ b/x/plans/client/cli/query_list.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/x/plans/types" "github.com/spf13/cobra" ) diff --git a/x/plans/client/cli/query_params.go b/x/plans/client/cli/query_params.go index 196e3f44d7..978c713248 100644 --- a/x/plans/client/cli/query_params.go +++ b/x/plans/client/cli/query_params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/x/plans/types" "github.com/spf13/cobra" ) diff --git a/x/plans/client/cli/tx.go b/x/plans/client/cli/tx.go index 03216ed4c9..50b20b1220 100644 --- a/x/plans/client/cli/tx.go +++ b/x/plans/client/cli/tx.go @@ -15,8 +15,8 @@ import ( // "github.com/cosmos/cosmos-sdk/client/flags" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/plans/client/utils" - "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/x/plans/client/utils" + "github.com/lavanet/lava/v3/x/plans/types" ) var DefaultRelativePacketTimeoutTimestamp = uint64((time.Duration(10) * time.Minute).Nanoseconds()) diff --git a/x/plans/client/proposal_handler.go b/x/plans/client/proposal_handler.go index 0d3c33616d..9e2eff4a19 100644 --- a/x/plans/client/proposal_handler.go +++ b/x/plans/client/proposal_handler.go @@ -2,7 +2,7 @@ package client import ( govclient "github.com/cosmos/cosmos-sdk/x/gov/client" - "github.com/lavanet/lava/v2/x/plans/client/cli" + "github.com/lavanet/lava/v3/x/plans/client/cli" ) var PlansAddProposalHandler = govclient.NewProposalHandler(cli.NewSubmitPlansAddProposalTxCmd) diff --git a/x/plans/client/utils/utils.go b/x/plans/client/utils/utils.go index 1585c6753c..a2c4949562 100755 --- a/x/plans/client/utils/utils.go +++ b/x/plans/client/utils/utils.go @@ -6,9 +6,9 @@ import ( sdkerrors "cosmossdk.io/errors" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - commontypes "github.com/lavanet/lava/v2/utils/common/types" - "github.com/lavanet/lava/v2/utils/decoder" - "github.com/lavanet/lava/v2/x/plans/types" + commontypes "github.com/lavanet/lava/v3/utils/common/types" + "github.com/lavanet/lava/v3/utils/decoder" + "github.com/lavanet/lava/v3/x/plans/types" "github.com/mitchellh/mapstructure" ) diff --git a/x/plans/genesis.go b/x/plans/genesis.go index 64c9af39e7..644749f056 100644 --- a/x/plans/genesis.go +++ b/x/plans/genesis.go @@ -2,8 +2,8 @@ package plans import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/plans/keeper" - "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/x/plans/keeper" + "github.com/lavanet/lava/v3/x/plans/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/plans/genesis_test.go b/x/plans/genesis_test.go index d4da3a34ea..1ac5b31be1 100644 --- a/x/plans/genesis_test.go +++ b/x/plans/genesis_test.go @@ -3,10 +3,10 @@ package plans_test import ( "testing" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/testutil/nullify" - plans "github.com/lavanet/lava/v2/x/plans" - "github.com/lavanet/lava/v2/x/plans/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/testutil/nullify" + plans "github.com/lavanet/lava/v3/x/plans" + "github.com/lavanet/lava/v3/x/plans/types" "github.com/stretchr/testify/require" ) diff --git a/x/plans/handler.go b/x/plans/handler.go index 407eb8c3c7..c8751846a0 100644 --- a/x/plans/handler.go +++ b/x/plans/handler.go @@ -6,8 +6,8 @@ import ( sdkerrors "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/x/plans/keeper" - "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/x/plans/keeper" + "github.com/lavanet/lava/v3/x/plans/types" ) // NewHandler ... diff --git a/x/plans/keeper/grpc_query.go b/x/plans/keeper/grpc_query.go index 43e4fcd66d..ef0611b5b2 100644 --- a/x/plans/keeper/grpc_query.go +++ b/x/plans/keeper/grpc_query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/x/plans/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/plans/keeper/grpc_query_info.go b/x/plans/keeper/grpc_query_info.go index ee11aa7801..e8f04a3121 100644 --- a/x/plans/keeper/grpc_query_info.go +++ b/x/plans/keeper/grpc_query_info.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/x/plans/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/plans/keeper/grpc_query_list.go b/x/plans/keeper/grpc_query_list.go index 657cc9d04b..52a163d6f8 100644 --- a/x/plans/keeper/grpc_query_list.go +++ b/x/plans/keeper/grpc_query_list.go @@ -5,8 +5,8 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/plans/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/plans/keeper/grpc_query_params.go b/x/plans/keeper/grpc_query_params.go index 70a35140b9..64b728ecb7 100644 --- a/x/plans/keeper/grpc_query_params.go +++ b/x/plans/keeper/grpc_query_params.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/x/plans/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/plans/keeper/grpc_query_params_test.go b/x/plans/keeper/grpc_query_params_test.go index 2901e3ffea..816bb7c818 100644 --- a/x/plans/keeper/grpc_query_params_test.go +++ b/x/plans/keeper/grpc_query_params_test.go @@ -4,8 +4,8 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/plans/types" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/plans/types" "github.com/stretchr/testify/require" ) diff --git a/x/plans/keeper/keeper.go b/x/plans/keeper/keeper.go index 58920f0c4d..8e982d3c0e 100644 --- a/x/plans/keeper/keeper.go +++ b/x/plans/keeper/keeper.go @@ -10,8 +10,8 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - fixationtypes "github.com/lavanet/lava/v2/x/fixationstore/types" - "github.com/lavanet/lava/v2/x/plans/types" + fixationtypes "github.com/lavanet/lava/v3/x/fixationstore/types" + "github.com/lavanet/lava/v3/x/plans/types" ) type ( diff --git a/x/plans/keeper/migrations.go b/x/plans/keeper/migrations.go index f82ffe137b..5803a865af 100644 --- a/x/plans/keeper/migrations.go +++ b/x/plans/keeper/migrations.go @@ -4,11 +4,11 @@ import ( "math" sdk "github.com/cosmos/cosmos-sdk/types" - v2 "github.com/lavanet/lava/v2/x/plans/migrations/v2" - v3 "github.com/lavanet/lava/v2/x/plans/migrations/v3" - v7 "github.com/lavanet/lava/v2/x/plans/migrations/v7" - v8 "github.com/lavanet/lava/v2/x/plans/migrations/v8" - projectsv3 "github.com/lavanet/lava/v2/x/projects/migrations/v3" + v2 "github.com/lavanet/lava/v3/x/plans/migrations/v2" + v3 "github.com/lavanet/lava/v3/x/plans/migrations/v3" + v7 "github.com/lavanet/lava/v3/x/plans/migrations/v7" + v8 "github.com/lavanet/lava/v3/x/plans/migrations/v8" + projectsv3 "github.com/lavanet/lava/v3/x/projects/migrations/v3" ) type Migrator struct { diff --git a/x/plans/keeper/msg_server.go b/x/plans/keeper/msg_server.go index 524a410e7e..7f1dfbbc11 100644 --- a/x/plans/keeper/msg_server.go +++ b/x/plans/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/x/plans/types" ) type msgServer struct { diff --git a/x/plans/keeper/msg_server_test.go b/x/plans/keeper/msg_server_test.go index d3c32b4c84..b8a6935a8a 100644 --- a/x/plans/keeper/msg_server_test.go +++ b/x/plans/keeper/msg_server_test.go @@ -5,9 +5,9 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/plans/keeper" - "github.com/lavanet/lava/v2/x/plans/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/plans/keeper" + "github.com/lavanet/lava/v3/x/plans/types" ) func setupMsgServer(t testing.TB) (types.MsgServer, context.Context) { diff --git a/x/plans/keeper/params.go b/x/plans/keeper/params.go index 8e01d23aa3..9b6aef6fcf 100644 --- a/x/plans/keeper/params.go +++ b/x/plans/keeper/params.go @@ -2,7 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/x/plans/types" ) // GetParams get all parameters as types.Params diff --git a/x/plans/keeper/params_test.go b/x/plans/keeper/params_test.go index 81901aba8c..2de3feefda 100644 --- a/x/plans/keeper/params_test.go +++ b/x/plans/keeper/params_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/plans/types" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/plans/types" "github.com/stretchr/testify/require" ) diff --git a/x/plans/keeper/plan.go b/x/plans/keeper/plan.go index 5b2aa20deb..257b64492e 100644 --- a/x/plans/keeper/plan.go +++ b/x/plans/keeper/plan.go @@ -4,9 +4,9 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/utils" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/plans/types" ) // AddPlan adds a new plan to the KVStore diff --git a/x/plans/keeper/plan_test.go b/x/plans/keeper/plan_test.go index 6b342b403b..22cc49af92 100644 --- a/x/plans/keeper/plan_test.go +++ b/x/plans/keeper/plan_test.go @@ -6,10 +6,10 @@ import ( "testing" "cosmossdk.io/math" - "github.com/lavanet/lava/v2/testutil/common" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/testutil/nullify" - "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/testutil/common" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/testutil/nullify" + "github.com/lavanet/lava/v3/x/plans/types" "github.com/stretchr/testify/require" ) diff --git a/x/plans/migrations/v3/plan.pb.go b/x/plans/migrations/v3/plan.pb.go index 01588f31a9..cb16232ee3 100755 --- a/x/plans/migrations/v3/plan.pb.go +++ b/x/plans/migrations/v3/plan.pb.go @@ -8,7 +8,7 @@ import ( types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" - v3 "github.com/lavanet/lava/v2/x/projects/migrations/v3" + v3 "github.com/lavanet/lava/v3/x/projects/migrations/v3" io "io" math "math" math_bits "math/bits" diff --git a/x/plans/migrations/v7/plan.pb.go b/x/plans/migrations/v7/plan.pb.go index 97ffbc59c0..bdf0b1af9b 100755 --- a/x/plans/migrations/v7/plan.pb.go +++ b/x/plans/migrations/v7/plan.pb.go @@ -8,7 +8,7 @@ import ( types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" - _ "github.com/lavanet/lava/v2/x/spec/types" + _ "github.com/lavanet/lava/v3/x/spec/types" io "io" math "math" math_bits "math/bits" diff --git a/x/plans/migrations/v7/policy.pb.go b/x/plans/migrations/v7/policy.pb.go index 5fa445562b..28832a56b1 100755 --- a/x/plans/migrations/v7/policy.pb.go +++ b/x/plans/migrations/v7/policy.pb.go @@ -8,7 +8,7 @@ import ( _ "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" - types "github.com/lavanet/lava/v2/x/spec/types" + types "github.com/lavanet/lava/v3/x/spec/types" io "io" math "math" math_bits "math/bits" diff --git a/x/plans/migrations/v8/plan.pb.go b/x/plans/migrations/v8/plan.pb.go index 190da99340..a5c7e7fbe7 100644 --- a/x/plans/migrations/v8/plan.pb.go +++ b/x/plans/migrations/v8/plan.pb.go @@ -8,7 +8,7 @@ import ( types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" - _ "github.com/lavanet/lava/v2/x/spec/types" + _ "github.com/lavanet/lava/v3/x/spec/types" io "io" math "math" math_bits "math/bits" diff --git a/x/plans/migrations/v8/policy.pb.go b/x/plans/migrations/v8/policy.pb.go index 1b58b7ece2..5aedb997ce 100644 --- a/x/plans/migrations/v8/policy.pb.go +++ b/x/plans/migrations/v8/policy.pb.go @@ -8,7 +8,7 @@ import ( _ "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" - types "github.com/lavanet/lava/v2/x/spec/types" + types "github.com/lavanet/lava/v3/x/spec/types" io "io" math "math" math_bits "math/bits" diff --git a/x/plans/migrations/v9/plan.pb.go b/x/plans/migrations/v9/plan.pb.go index f522a772e6..db9f8b7ac3 100644 --- a/x/plans/migrations/v9/plan.pb.go +++ b/x/plans/migrations/v9/plan.pb.go @@ -8,7 +8,7 @@ import ( types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" - _ "github.com/lavanet/lava/v2/x/spec/types" + _ "github.com/lavanet/lava/v3/x/spec/types" io "io" math "math" math_bits "math/bits" diff --git a/x/plans/migrations/v9/policy.pb.go b/x/plans/migrations/v9/policy.pb.go index f129503092..e708f6edcc 100644 --- a/x/plans/migrations/v9/policy.pb.go +++ b/x/plans/migrations/v9/policy.pb.go @@ -8,7 +8,7 @@ import ( _ "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" - types "github.com/lavanet/lava/v2/x/spec/types" + types "github.com/lavanet/lava/v3/x/spec/types" io "io" math "math" math_bits "math/bits" diff --git a/x/plans/module.go b/x/plans/module.go index 1d39727d19..dab6d6c741 100644 --- a/x/plans/module.go +++ b/x/plans/module.go @@ -16,9 +16,9 @@ import ( cdctypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/lavanet/lava/v2/x/plans/client/cli" - "github.com/lavanet/lava/v2/x/plans/keeper" - "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/x/plans/client/cli" + "github.com/lavanet/lava/v3/x/plans/keeper" + "github.com/lavanet/lava/v3/x/plans/types" ) var ( diff --git a/x/plans/module_simulation.go b/x/plans/module_simulation.go index 76c96d6aca..43b31ba52c 100644 --- a/x/plans/module_simulation.go +++ b/x/plans/module_simulation.go @@ -7,9 +7,9 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/lavanet/lava/v2/testutil/sample" - plansimulation "github.com/lavanet/lava/v2/x/plans/simulation" - "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/testutil/sample" + plansimulation "github.com/lavanet/lava/v3/x/plans/simulation" + "github.com/lavanet/lava/v3/x/plans/types" ) // avoid unused import issue diff --git a/x/plans/proposal_handler.go b/x/plans/proposal_handler.go index d650d7ff9d..70d66bc612 100644 --- a/x/plans/proposal_handler.go +++ b/x/plans/proposal_handler.go @@ -7,9 +7,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/plans/keeper" - "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/plans/keeper" + "github.com/lavanet/lava/v3/x/plans/types" ) // NewPlanProposalsHandler creates a new governance Handler for a Plan diff --git a/x/plans/types/delproposal.go b/x/plans/types/delproposal.go index 0bda91837f..14834283ba 100644 --- a/x/plans/types/delproposal.go +++ b/x/plans/types/delproposal.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" sdkerrors "cosmossdk.io/errors" - commontypes "github.com/lavanet/lava/v2/utils/common/types" + commontypes "github.com/lavanet/lava/v3/utils/common/types" ) const ( diff --git a/x/plans/types/errors.go b/x/plans/types/errors.go index ea66544ac7..d1c36298ca 100644 --- a/x/plans/types/errors.go +++ b/x/plans/types/errors.go @@ -4,7 +4,7 @@ package types import ( sdkerrors "cosmossdk.io/errors" - commontypes "github.com/lavanet/lava/v2/utils/common/types" + commontypes "github.com/lavanet/lava/v3/utils/common/types" ) // x/plan module sentinel errors diff --git a/x/plans/types/expected_keepers.go b/x/plans/types/expected_keepers.go index 76da31ab07..7992ed623c 100644 --- a/x/plans/types/expected_keepers.go +++ b/x/plans/types/expected_keepers.go @@ -3,8 +3,8 @@ package types import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - fixationstoretypes "github.com/lavanet/lava/v2/x/fixationstore/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + fixationstoretypes "github.com/lavanet/lava/v3/x/fixationstore/types" ) type EpochStorageKeeper interface { diff --git a/x/plans/types/genesis.go b/x/plans/types/genesis.go index 42ac6eeb36..3b56abdcd0 100644 --- a/x/plans/types/genesis.go +++ b/x/plans/types/genesis.go @@ -1,7 +1,7 @@ package types import ( - fixationtypes "github.com/lavanet/lava/v2/x/fixationstore/types" + fixationtypes "github.com/lavanet/lava/v3/x/fixationstore/types" ) // DefaultIndex is the default capability global index diff --git a/x/plans/types/genesis.pb.go b/x/plans/types/genesis.pb.go index fc8ce85f7d..6fea0ff29e 100644 --- a/x/plans/types/genesis.pb.go +++ b/x/plans/types/genesis.pb.go @@ -7,7 +7,7 @@ import ( fmt "fmt" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" - types "github.com/lavanet/lava/v2/x/fixationstore/types" + types "github.com/lavanet/lava/v3/x/fixationstore/types" io "io" math "math" math_bits "math/bits" diff --git a/x/plans/types/genesis_test.go b/x/plans/types/genesis_test.go index 2c15f019d1..0e23d4e7e0 100644 --- a/x/plans/types/genesis_test.go +++ b/x/plans/types/genesis_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/x/plans/types" "github.com/stretchr/testify/require" ) diff --git a/x/plans/types/geolocation_test.go b/x/plans/types/geolocation_test.go index 6933d85e2e..d18d541821 100644 --- a/x/plans/types/geolocation_test.go +++ b/x/plans/types/geolocation_test.go @@ -3,8 +3,8 @@ package types_test import ( "testing" - "github.com/lavanet/lava/v2/utils/lavaslices" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/utils/lavaslices" + planstypes "github.com/lavanet/lava/v3/x/plans/types" "github.com/stretchr/testify/require" ) diff --git a/x/plans/types/plan.pb.go b/x/plans/types/plan.pb.go index b81229eef4..07d1ba1219 100644 --- a/x/plans/types/plan.pb.go +++ b/x/plans/types/plan.pb.go @@ -8,7 +8,7 @@ import ( types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" - _ "github.com/lavanet/lava/v2/x/spec/types" + _ "github.com/lavanet/lava/v3/x/spec/types" io "io" math "math" math_bits "math/bits" diff --git a/x/plans/types/plan_decode_test.go b/x/plans/types/plan_decode_test.go index 4430fe0de5..a7a14ddfce 100644 --- a/x/plans/types/plan_decode_test.go +++ b/x/plans/types/plan_decode_test.go @@ -4,8 +4,8 @@ import ( "testing" "github.com/cosmos/cosmos-sdk/types" - commontypes "github.com/lavanet/lava/v2/utils/common/types" - "github.com/lavanet/lava/v2/utils/decoder" + commontypes "github.com/lavanet/lava/v3/utils/common/types" + "github.com/lavanet/lava/v3/utils/decoder" "github.com/mitchellh/mapstructure" "github.com/stretchr/testify/require" ) diff --git a/x/plans/types/policy.go b/x/plans/types/policy.go index ccbf54a203..c95891fd2a 100644 --- a/x/plans/types/policy.go +++ b/x/plans/types/policy.go @@ -11,9 +11,9 @@ import ( sdkerrors "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/utils/decoder" - "github.com/lavanet/lava/v2/utils/lavaslices" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" + "github.com/lavanet/lava/v3/utils/decoder" + "github.com/lavanet/lava/v3/utils/lavaslices" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" "github.com/mitchellh/mapstructure" ) diff --git a/x/plans/types/policy.pb.go b/x/plans/types/policy.pb.go index 4d8238bfc3..dbe2306da8 100644 --- a/x/plans/types/policy.pb.go +++ b/x/plans/types/policy.pb.go @@ -8,7 +8,7 @@ import ( _ "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" - types "github.com/lavanet/lava/v2/x/spec/types" + types "github.com/lavanet/lava/v3/x/spec/types" io "io" math "math" math_bits "math/bits" diff --git a/x/projects/client/cli/query.go b/x/projects/client/cli/query.go index adf23722a5..8514f6d4fe 100644 --- a/x/projects/client/cli/query.go +++ b/x/projects/client/cli/query.go @@ -10,7 +10,7 @@ import ( // "github.com/cosmos/cosmos-sdk/client/flags" // sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/x/projects/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/projects/client/cli/query_developer.go b/x/projects/client/cli/query_developer.go index 3777e06213..2ed25397d1 100644 --- a/x/projects/client/cli/query_developer.go +++ b/x/projects/client/cli/query_developer.go @@ -5,8 +5,8 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/projects/types" "github.com/spf13/cobra" ) diff --git a/x/projects/client/cli/query_info.go b/x/projects/client/cli/query_info.go index 02e365a013..f8605515e3 100644 --- a/x/projects/client/cli/query_info.go +++ b/x/projects/client/cli/query_info.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/x/projects/types" "github.com/spf13/cobra" ) diff --git a/x/projects/client/cli/query_params.go b/x/projects/client/cli/query_params.go index a32c15c761..b4bac2c631 100644 --- a/x/projects/client/cli/query_params.go +++ b/x/projects/client/cli/query_params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/x/projects/types" "github.com/spf13/cobra" ) diff --git a/x/projects/client/cli/tx.go b/x/projects/client/cli/tx.go index bd4dcb80ab..65ce65c883 100644 --- a/x/projects/client/cli/tx.go +++ b/x/projects/client/cli/tx.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" // "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/x/projects/types" ) var DefaultRelativePacketTimeoutTimestamp = uint64((time.Duration(10) * time.Minute).Nanoseconds()) diff --git a/x/projects/client/cli/tx_add_keys.go b/x/projects/client/cli/tx_add_keys.go index 7cd794ca6e..ee9df2176c 100644 --- a/x/projects/client/cli/tx_add_keys.go +++ b/x/projects/client/cli/tx_add_keys.go @@ -4,9 +4,9 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/decoder" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/decoder" + "github.com/lavanet/lava/v3/x/projects/types" "github.com/spf13/cobra" ) diff --git a/x/projects/client/cli/tx_del_keys.go b/x/projects/client/cli/tx_del_keys.go index a6986b112f..9764224d90 100644 --- a/x/projects/client/cli/tx_del_keys.go +++ b/x/projects/client/cli/tx_del_keys.go @@ -4,9 +4,9 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/decoder" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/decoder" + "github.com/lavanet/lava/v3/x/projects/types" "github.com/spf13/cobra" ) diff --git a/x/projects/client/cli/tx_set_admin_policy.go b/x/projects/client/cli/tx_set_admin_policy.go index 938cd30fb6..68e97b99c1 100644 --- a/x/projects/client/cli/tx_set_admin_policy.go +++ b/x/projects/client/cli/tx_set_admin_policy.go @@ -8,9 +8,9 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" - planstypes "github.com/lavanet/lava/v2/x/plans/types" - "github.com/lavanet/lava/v2/x/projects/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" + "github.com/lavanet/lava/v3/x/projects/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/spf13/cobra" ) diff --git a/x/projects/client/cli/tx_set_subscription_policy.go b/x/projects/client/cli/tx_set_subscription_policy.go index b57e2fe901..5b112989d0 100644 --- a/x/projects/client/cli/tx_set_subscription_policy.go +++ b/x/projects/client/cli/tx_set_subscription_policy.go @@ -8,8 +8,8 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" - planstypes "github.com/lavanet/lava/v2/x/plans/types" - "github.com/lavanet/lava/v2/x/projects/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" + "github.com/lavanet/lava/v3/x/projects/types" "github.com/spf13/cobra" ) diff --git a/x/projects/genesis.go b/x/projects/genesis.go index 5d6e14ff74..1cd8381873 100644 --- a/x/projects/genesis.go +++ b/x/projects/genesis.go @@ -2,8 +2,8 @@ package projects import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/projects/keeper" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/x/projects/keeper" + "github.com/lavanet/lava/v3/x/projects/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/projects/genesis_test.go b/x/projects/genesis_test.go index 7054e9e9c8..aa1a7dd91d 100644 --- a/x/projects/genesis_test.go +++ b/x/projects/genesis_test.go @@ -3,10 +3,10 @@ package projects_test import ( "testing" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/testutil/nullify" - "github.com/lavanet/lava/v2/x/projects" - "github.com/lavanet/lava/v2/x/projects/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/testutil/nullify" + "github.com/lavanet/lava/v3/x/projects" + "github.com/lavanet/lava/v3/x/projects/types" "github.com/stretchr/testify/require" ) diff --git a/x/projects/handler.go b/x/projects/handler.go index a446a7f174..f871d6e062 100644 --- a/x/projects/handler.go +++ b/x/projects/handler.go @@ -6,8 +6,8 @@ import ( sdkerrors "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/x/projects/keeper" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/x/projects/keeper" + "github.com/lavanet/lava/v3/x/projects/types" ) // NewHandler ... diff --git a/x/projects/keeper/creation.go b/x/projects/keeper/creation.go index cf85c3254b..423aed7227 100644 --- a/x/projects/keeper/creation.go +++ b/x/projects/keeper/creation.go @@ -6,9 +6,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/utils" - plantypes "github.com/lavanet/lava/v2/x/plans/types" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/utils" + plantypes "github.com/lavanet/lava/v3/x/plans/types" + "github.com/lavanet/lava/v3/x/projects/types" ) // Keys management logic: diff --git a/x/projects/keeper/grpc_query.go b/x/projects/keeper/grpc_query.go index b17576af1b..5acb46a58c 100644 --- a/x/projects/keeper/grpc_query.go +++ b/x/projects/keeper/grpc_query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/x/projects/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/projects/keeper/grpc_query_developer.go b/x/projects/keeper/grpc_query_developer.go index 63732f1614..afcbabc832 100644 --- a/x/projects/keeper/grpc_query_developer.go +++ b/x/projects/keeper/grpc_query_developer.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/x/projects/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/projects/keeper/grpc_query_info.go b/x/projects/keeper/grpc_query_info.go index f641e15426..f2863eead5 100644 --- a/x/projects/keeper/grpc_query_info.go +++ b/x/projects/keeper/grpc_query_info.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/x/projects/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/projects/keeper/grpc_query_params.go b/x/projects/keeper/grpc_query_params.go index b6b2642bd0..c6b8fa8a32 100644 --- a/x/projects/keeper/grpc_query_params.go +++ b/x/projects/keeper/grpc_query_params.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/x/projects/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/projects/keeper/grpc_query_params_test.go b/x/projects/keeper/grpc_query_params_test.go index 2a30654ad4..baa195ee66 100644 --- a/x/projects/keeper/grpc_query_params_test.go +++ b/x/projects/keeper/grpc_query_params_test.go @@ -4,8 +4,8 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/projects/types" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/projects/types" "github.com/stretchr/testify/require" ) diff --git a/x/projects/keeper/keeper.go b/x/projects/keeper/keeper.go index 4b53c80949..c7e3c5c71e 100644 --- a/x/projects/keeper/keeper.go +++ b/x/projects/keeper/keeper.go @@ -9,8 +9,8 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - fixationtypes "github.com/lavanet/lava/v2/x/fixationstore/types" - "github.com/lavanet/lava/v2/x/projects/types" + fixationtypes "github.com/lavanet/lava/v3/x/fixationstore/types" + "github.com/lavanet/lava/v3/x/projects/types" ) type ( diff --git a/x/projects/keeper/migrations.go b/x/projects/keeper/migrations.go index f346b27b03..56ca3d9181 100644 --- a/x/projects/keeper/migrations.go +++ b/x/projects/keeper/migrations.go @@ -2,11 +2,11 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - v2 "github.com/lavanet/lava/v2/x/projects/migrations/v2" - v3 "github.com/lavanet/lava/v2/x/projects/migrations/v3" - v4 "github.com/lavanet/lava/v2/x/projects/migrations/v4" - v5 "github.com/lavanet/lava/v2/x/projects/migrations/v5" + "github.com/lavanet/lava/v3/utils" + v2 "github.com/lavanet/lava/v3/x/projects/migrations/v2" + v3 "github.com/lavanet/lava/v3/x/projects/migrations/v3" + v4 "github.com/lavanet/lava/v3/x/projects/migrations/v4" + v5 "github.com/lavanet/lava/v3/x/projects/migrations/v5" ) type Migrator struct { diff --git a/x/projects/keeper/msg_server.go b/x/projects/keeper/msg_server.go index a5aafe6252..7a19567afe 100644 --- a/x/projects/keeper/msg_server.go +++ b/x/projects/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/x/projects/types" ) type msgServer struct { diff --git a/x/projects/keeper/msg_server_add_project_keys.go b/x/projects/keeper/msg_server_add_project_keys.go index 78738d35fe..12c35c9402 100644 --- a/x/projects/keeper/msg_server_add_project_keys.go +++ b/x/projects/keeper/msg_server_add_project_keys.go @@ -5,8 +5,8 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/projects/types" ) func (k msgServer) AddKeys(goCtx context.Context, msg *types.MsgAddKeys) (*types.MsgAddKeysResponse, error) { diff --git a/x/projects/keeper/msg_server_del_project_keys.go b/x/projects/keeper/msg_server_del_project_keys.go index e353f3f8d7..dcc52f62da 100644 --- a/x/projects/keeper/msg_server_del_project_keys.go +++ b/x/projects/keeper/msg_server_del_project_keys.go @@ -5,8 +5,8 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/projects/types" ) func (k msgServer) DelKeys(goCtx context.Context, msg *types.MsgDelKeys) (*types.MsgDelKeysResponse, error) { diff --git a/x/projects/keeper/msg_server_set_admin_policy.go b/x/projects/keeper/msg_server_set_admin_policy.go index 7b6a113ee0..ce4d2e3579 100644 --- a/x/projects/keeper/msg_server_set_admin_policy.go +++ b/x/projects/keeper/msg_server_set_admin_policy.go @@ -4,8 +4,8 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/projects/types" ) func (k msgServer) SetPolicy(goCtx context.Context, msg *types.MsgSetPolicy) (*types.MsgSetPolicyResponse, error) { diff --git a/x/projects/keeper/msg_server_set_subscription_policy.go b/x/projects/keeper/msg_server_set_subscription_policy.go index 9784e97edb..82be4d4162 100644 --- a/x/projects/keeper/msg_server_set_subscription_policy.go +++ b/x/projects/keeper/msg_server_set_subscription_policy.go @@ -4,8 +4,8 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/projects/types" ) func (k msgServer) SetSubscriptionPolicy(goCtx context.Context, msg *types.MsgSetSubscriptionPolicy) (*types.MsgSetSubscriptionPolicyResponse, error) { diff --git a/x/projects/keeper/msg_server_test.go b/x/projects/keeper/msg_server_test.go index a0b842768d..e59ad3c3e3 100644 --- a/x/projects/keeper/msg_server_test.go +++ b/x/projects/keeper/msg_server_test.go @@ -5,9 +5,9 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/projects/keeper" - "github.com/lavanet/lava/v2/x/projects/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/projects/keeper" + "github.com/lavanet/lava/v3/x/projects/types" ) func setupMsgServer(t testing.TB) (types.MsgServer, context.Context) { diff --git a/x/projects/keeper/params.go b/x/projects/keeper/params.go index 9af55510fc..509087fc15 100644 --- a/x/projects/keeper/params.go +++ b/x/projects/keeper/params.go @@ -2,7 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/x/projects/types" ) // GetParams get all parameters as types.Params diff --git a/x/projects/keeper/params_test.go b/x/projects/keeper/params_test.go index b245bf9fa0..74a710e0f3 100644 --- a/x/projects/keeper/params_test.go +++ b/x/projects/keeper/params_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/projects/types" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/projects/types" "github.com/stretchr/testify/require" ) diff --git a/x/projects/keeper/project.go b/x/projects/keeper/project.go index 297528ad5a..a501053a73 100644 --- a/x/projects/keeper/project.go +++ b/x/projects/keeper/project.go @@ -6,9 +6,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/utils" - planstypes "github.com/lavanet/lava/v2/x/plans/types" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/utils" + planstypes "github.com/lavanet/lava/v3/x/plans/types" + "github.com/lavanet/lava/v3/x/projects/types" ) // getProjectForBlock returns the version of a given project at a given block diff --git a/x/projects/keeper/project_test.go b/x/projects/keeper/project_test.go index f738d04d35..3de619f170 100644 --- a/x/projects/keeper/project_test.go +++ b/x/projects/keeper/project_test.go @@ -7,11 +7,11 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/testutil/common" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/utils/sigs" - planstypes "github.com/lavanet/lava/v2/x/plans/types" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/testutil/common" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/utils/sigs" + planstypes "github.com/lavanet/lava/v3/x/plans/types" + "github.com/lavanet/lava/v3/x/projects/types" "github.com/stretchr/testify/require" ) diff --git a/x/projects/module.go b/x/projects/module.go index 0380c5527f..15697169d5 100644 --- a/x/projects/module.go +++ b/x/projects/module.go @@ -18,9 +18,9 @@ import ( cdctypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/lavanet/lava/v2/x/projects/client/cli" - "github.com/lavanet/lava/v2/x/projects/keeper" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/x/projects/client/cli" + "github.com/lavanet/lava/v3/x/projects/keeper" + "github.com/lavanet/lava/v3/x/projects/types" ) var ( diff --git a/x/projects/module_simulation.go b/x/projects/module_simulation.go index 35a31c6a6c..45fd143daf 100644 --- a/x/projects/module_simulation.go +++ b/x/projects/module_simulation.go @@ -10,9 +10,9 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/lavanet/lava/v2/testutil/sample" - projectssimulation "github.com/lavanet/lava/v2/x/projects/simulation" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/testutil/sample" + projectssimulation "github.com/lavanet/lava/v3/x/projects/simulation" + "github.com/lavanet/lava/v3/x/projects/types" ) // avoid unused import issue diff --git a/x/projects/simulation/add_project_keys.go b/x/projects/simulation/add_project_keys.go index c336a3ef29..4190cfeb48 100644 --- a/x/projects/simulation/add_project_keys.go +++ b/x/projects/simulation/add_project_keys.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/lavanet/lava/v2/x/projects/keeper" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/x/projects/keeper" + "github.com/lavanet/lava/v3/x/projects/types" ) func SimulateMsgAddKeys( diff --git a/x/projects/simulation/del_project_keys.go b/x/projects/simulation/del_project_keys.go index 5724ceebda..518934f9de 100644 --- a/x/projects/simulation/del_project_keys.go +++ b/x/projects/simulation/del_project_keys.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/lavanet/lava/v2/x/projects/keeper" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/x/projects/keeper" + "github.com/lavanet/lava/v3/x/projects/types" ) func SimulateMsgDelKeys( diff --git a/x/projects/simulation/set_admin_policy.go b/x/projects/simulation/set_admin_policy.go index 77bb9e1fc1..c396ee3c85 100644 --- a/x/projects/simulation/set_admin_policy.go +++ b/x/projects/simulation/set_admin_policy.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/lavanet/lava/v2/x/projects/keeper" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/x/projects/keeper" + "github.com/lavanet/lava/v3/x/projects/types" ) func SimulateMsgSetPolicy( diff --git a/x/projects/simulation/set_subscription_policy.go b/x/projects/simulation/set_subscription_policy.go index d040346f6a..23d6d4826b 100644 --- a/x/projects/simulation/set_subscription_policy.go +++ b/x/projects/simulation/set_subscription_policy.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/lavanet/lava/v2/x/projects/keeper" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/x/projects/keeper" + "github.com/lavanet/lava/v3/x/projects/types" ) func SimulateMsgSetSubscriptionPolicy( diff --git a/x/projects/types/expected_keepers.go b/x/projects/types/expected_keepers.go index f204fdcd99..85486e945d 100644 --- a/x/projects/types/expected_keepers.go +++ b/x/projects/types/expected_keepers.go @@ -3,7 +3,7 @@ package types import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - fixationstoretypes "github.com/lavanet/lava/v2/x/fixationstore/types" + fixationstoretypes "github.com/lavanet/lava/v3/x/fixationstore/types" ) type EpochStorageKeeper interface { diff --git a/x/projects/types/genesis.go b/x/projects/types/genesis.go index deb5a16474..f7c5d72f9a 100644 --- a/x/projects/types/genesis.go +++ b/x/projects/types/genesis.go @@ -1,7 +1,7 @@ package types import ( - fixationtypes "github.com/lavanet/lava/v2/x/fixationstore/types" + fixationtypes "github.com/lavanet/lava/v3/x/fixationstore/types" ) // this line is used by starport scaffolding # genesis/types/import diff --git a/x/projects/types/genesis.pb.go b/x/projects/types/genesis.pb.go index 31bfd57f3d..35053232a0 100644 --- a/x/projects/types/genesis.pb.go +++ b/x/projects/types/genesis.pb.go @@ -7,7 +7,7 @@ import ( fmt "fmt" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" - types "github.com/lavanet/lava/v2/x/fixationstore/types" + types "github.com/lavanet/lava/v3/x/fixationstore/types" io "io" math "math" math_bits "math/bits" diff --git a/x/projects/types/genesis_test.go b/x/projects/types/genesis_test.go index e1103400c0..7447729e61 100644 --- a/x/projects/types/genesis_test.go +++ b/x/projects/types/genesis_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/x/projects/types" "github.com/stretchr/testify/require" ) diff --git a/x/projects/types/message_add_keys_test.go b/x/projects/types/message_add_keys_test.go index 8a37d92d25..e147567b9d 100644 --- a/x/projects/types/message_add_keys_test.go +++ b/x/projects/types/message_add_keys_test.go @@ -4,7 +4,7 @@ import ( "testing" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/testutil/sample" + "github.com/lavanet/lava/v3/testutil/sample" "github.com/stretchr/testify/require" ) diff --git a/x/projects/types/message_del_keys_test.go b/x/projects/types/message_del_keys_test.go index 2beb23f2e5..9f82103498 100644 --- a/x/projects/types/message_del_keys_test.go +++ b/x/projects/types/message_del_keys_test.go @@ -4,7 +4,7 @@ import ( "testing" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/testutil/sample" + "github.com/lavanet/lava/v3/testutil/sample" "github.com/stretchr/testify/require" ) diff --git a/x/projects/types/message_set_admin_policy.go b/x/projects/types/message_set_admin_policy.go index 084687704d..0ff04c1643 100644 --- a/x/projects/types/message_set_admin_policy.go +++ b/x/projects/types/message_set_admin_policy.go @@ -4,7 +4,7 @@ import ( sdkerrors "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" ) const TypeMsgSetPolicy = "set_admin_policy" diff --git a/x/projects/types/message_set_admin_policy_test.go b/x/projects/types/message_set_admin_policy_test.go index 29798fe43c..09b8a6d53b 100644 --- a/x/projects/types/message_set_admin_policy_test.go +++ b/x/projects/types/message_set_admin_policy_test.go @@ -4,8 +4,8 @@ import ( "testing" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/testutil/sample" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/testutil/sample" + planstypes "github.com/lavanet/lava/v3/x/plans/types" "github.com/stretchr/testify/require" ) diff --git a/x/projects/types/message_set_subscription_policy.go b/x/projects/types/message_set_subscription_policy.go index c3284d1df5..4908d7f7b8 100644 --- a/x/projects/types/message_set_subscription_policy.go +++ b/x/projects/types/message_set_subscription_policy.go @@ -4,7 +4,7 @@ import ( sdkerrors "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" ) const TypeMsgSetSubscriptionPolicy = "set_subscription_policy" diff --git a/x/projects/types/message_set_subscription_policy_test.go b/x/projects/types/message_set_subscription_policy_test.go index 0dbdc73ef9..0027b4bf0c 100644 --- a/x/projects/types/message_set_subscription_policy_test.go +++ b/x/projects/types/message_set_subscription_policy_test.go @@ -4,8 +4,8 @@ import ( "testing" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/testutil/sample" - planstypes "github.com/lavanet/lava/v2/x/plans/types" + "github.com/lavanet/lava/v3/testutil/sample" + planstypes "github.com/lavanet/lava/v3/x/plans/types" "github.com/stretchr/testify/require" ) diff --git a/x/projects/types/project.go b/x/projects/types/project.go index 96d7cbf6e6..d1f7f5e3a2 100644 --- a/x/projects/types/project.go +++ b/x/projects/types/project.go @@ -3,7 +3,7 @@ package types import ( "fmt" - commontypes "github.com/lavanet/lava/v2/utils/common/types" + commontypes "github.com/lavanet/lava/v3/utils/common/types" ) const ( diff --git a/x/projects/types/project.pb.go b/x/projects/types/project.pb.go index c1bd722cf4..e5502bd4d0 100644 --- a/x/projects/types/project.pb.go +++ b/x/projects/types/project.pb.go @@ -7,7 +7,7 @@ import ( fmt "fmt" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" - types "github.com/lavanet/lava/v2/x/plans/types" + types "github.com/lavanet/lava/v3/x/plans/types" io "io" math "math" math_bits "math/bits" diff --git a/x/projects/types/tx.pb.go b/x/projects/types/tx.pb.go index 02254eae32..3ec9de220f 100644 --- a/x/projects/types/tx.pb.go +++ b/x/projects/types/tx.pb.go @@ -10,7 +10,7 @@ import ( _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" - types "github.com/lavanet/lava/v2/x/plans/types" + types "github.com/lavanet/lava/v3/x/plans/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/protocol/client/cli/query.go b/x/protocol/client/cli/query.go index 1454e719a0..f5c90dc65f 100644 --- a/x/protocol/client/cli/query.go +++ b/x/protocol/client/cli/query.go @@ -10,7 +10,7 @@ import ( // "github.com/cosmos/cosmos-sdk/client/flags" // sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/protocol/types" + "github.com/lavanet/lava/v3/x/protocol/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/protocol/client/cli/query_params.go b/x/protocol/client/cli/query_params.go index 1f617923ac..cb0126f7f2 100644 --- a/x/protocol/client/cli/query_params.go +++ b/x/protocol/client/cli/query_params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/protocol/types" + "github.com/lavanet/lava/v3/x/protocol/types" "github.com/spf13/cobra" ) diff --git a/x/protocol/client/cli/tx.go b/x/protocol/client/cli/tx.go index ff5080c62d..255b6be808 100644 --- a/x/protocol/client/cli/tx.go +++ b/x/protocol/client/cli/tx.go @@ -14,7 +14,7 @@ import ( govclient "github.com/cosmos/cosmos-sdk/x/gov/client" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" - "github.com/lavanet/lava/v2/x/protocol/types" + "github.com/lavanet/lava/v3/x/protocol/types" ) var DefaultRelativePacketTimeoutTimestamp = uint64((time.Duration(10) * time.Minute).Nanoseconds()) diff --git a/x/protocol/genesis.go b/x/protocol/genesis.go index fd6122e58d..0a21e84e8e 100644 --- a/x/protocol/genesis.go +++ b/x/protocol/genesis.go @@ -2,8 +2,8 @@ package protocol import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/protocol/keeper" - "github.com/lavanet/lava/v2/x/protocol/types" + "github.com/lavanet/lava/v3/x/protocol/keeper" + "github.com/lavanet/lava/v3/x/protocol/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/protocol/genesis_test.go b/x/protocol/genesis_test.go index 3ac403346b..f34d4a020f 100644 --- a/x/protocol/genesis_test.go +++ b/x/protocol/genesis_test.go @@ -3,10 +3,10 @@ package protocol_test import ( "testing" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/testutil/nullify" - "github.com/lavanet/lava/v2/x/protocol" - "github.com/lavanet/lava/v2/x/protocol/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/testutil/nullify" + "github.com/lavanet/lava/v3/x/protocol" + "github.com/lavanet/lava/v3/x/protocol/types" "github.com/stretchr/testify/require" ) diff --git a/x/protocol/handler.go b/x/protocol/handler.go index fa4df565d0..c70ba89427 100644 --- a/x/protocol/handler.go +++ b/x/protocol/handler.go @@ -6,8 +6,8 @@ import ( sdkerrors "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/x/protocol/keeper" - "github.com/lavanet/lava/v2/x/protocol/types" + "github.com/lavanet/lava/v3/x/protocol/keeper" + "github.com/lavanet/lava/v3/x/protocol/types" ) // NewHandler ... diff --git a/x/protocol/keeper/grpc_query.go b/x/protocol/keeper/grpc_query.go index 53c16980b3..ec9d990ff7 100644 --- a/x/protocol/keeper/grpc_query.go +++ b/x/protocol/keeper/grpc_query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/lavanet/lava/v2/x/protocol/types" + "github.com/lavanet/lava/v3/x/protocol/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/protocol/keeper/grpc_query_params.go b/x/protocol/keeper/grpc_query_params.go index 98fb8b00db..0b04fa9dcd 100644 --- a/x/protocol/keeper/grpc_query_params.go +++ b/x/protocol/keeper/grpc_query_params.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/protocol/types" + "github.com/lavanet/lava/v3/x/protocol/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/protocol/keeper/grpc_query_params_test.go b/x/protocol/keeper/grpc_query_params_test.go index 15b4c8cc00..8cc9da92df 100644 --- a/x/protocol/keeper/grpc_query_params_test.go +++ b/x/protocol/keeper/grpc_query_params_test.go @@ -4,8 +4,8 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/protocol/types" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/protocol/types" "github.com/stretchr/testify/require" ) diff --git a/x/protocol/keeper/keeper.go b/x/protocol/keeper/keeper.go index a64186dba2..04921f9284 100644 --- a/x/protocol/keeper/keeper.go +++ b/x/protocol/keeper/keeper.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/lavanet/lava/v2/x/protocol/types" + "github.com/lavanet/lava/v3/x/protocol/types" ) type ( diff --git a/x/protocol/keeper/migrations.go b/x/protocol/keeper/migrations.go index b63a38248f..bab9c006ea 100644 --- a/x/protocol/keeper/migrations.go +++ b/x/protocol/keeper/migrations.go @@ -2,9 +2,9 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - protocoltypes "github.com/lavanet/lava/v2/x/protocol/types" - "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/utils" + protocoltypes "github.com/lavanet/lava/v3/x/protocol/types" + "github.com/lavanet/lava/v3/x/spec/types" ) type Migrator struct { diff --git a/x/protocol/keeper/msg_server.go b/x/protocol/keeper/msg_server.go index 8890c904cf..41c7cf6136 100644 --- a/x/protocol/keeper/msg_server.go +++ b/x/protocol/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/lavanet/lava/v2/x/protocol/types" + "github.com/lavanet/lava/v3/x/protocol/types" ) type msgServer struct { diff --git a/x/protocol/keeper/msg_server_set_version.go b/x/protocol/keeper/msg_server_set_version.go index 8179668033..7f92bde565 100644 --- a/x/protocol/keeper/msg_server_set_version.go +++ b/x/protocol/keeper/msg_server_set_version.go @@ -6,7 +6,7 @@ import ( sdkerrors "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/lavanet/lava/v2/x/protocol/types" + "github.com/lavanet/lava/v3/x/protocol/types" ) func (k msgServer) SetVersion(goCtx context.Context, msg *types.MsgSetVersion) (*types.MsgSetVersionResponse, error) { diff --git a/x/protocol/keeper/msg_server_test.go b/x/protocol/keeper/msg_server_test.go index 0f12ccd752..f4b6b866fd 100644 --- a/x/protocol/keeper/msg_server_test.go +++ b/x/protocol/keeper/msg_server_test.go @@ -5,9 +5,9 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/protocol/keeper" - "github.com/lavanet/lava/v2/x/protocol/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/protocol/keeper" + "github.com/lavanet/lava/v3/x/protocol/types" ) func setupMsgServer(t testing.TB) (types.MsgServer, context.Context) { diff --git a/x/protocol/keeper/params.go b/x/protocol/keeper/params.go index 0ad300a14a..d9d031abf9 100644 --- a/x/protocol/keeper/params.go +++ b/x/protocol/keeper/params.go @@ -2,7 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/protocol/types" + "github.com/lavanet/lava/v3/x/protocol/types" ) // GetParams get all parameters as types.Params diff --git a/x/protocol/keeper/params_test.go b/x/protocol/keeper/params_test.go index ad69efad11..138fe2b95e 100644 --- a/x/protocol/keeper/params_test.go +++ b/x/protocol/keeper/params_test.go @@ -6,8 +6,8 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/protocol/types" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/protocol/types" "github.com/stretchr/testify/require" ) diff --git a/x/protocol/module.go b/x/protocol/module.go index 669fcc72bc..7008f5e421 100644 --- a/x/protocol/module.go +++ b/x/protocol/module.go @@ -18,9 +18,9 @@ import ( cdctypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/lavanet/lava/v2/x/protocol/client/cli" - "github.com/lavanet/lava/v2/x/protocol/keeper" - "github.com/lavanet/lava/v2/x/protocol/types" + "github.com/lavanet/lava/v3/x/protocol/client/cli" + "github.com/lavanet/lava/v3/x/protocol/keeper" + "github.com/lavanet/lava/v3/x/protocol/types" ) var ( diff --git a/x/protocol/module_simulation.go b/x/protocol/module_simulation.go index fb9d7b6361..b271e3b8b7 100644 --- a/x/protocol/module_simulation.go +++ b/x/protocol/module_simulation.go @@ -11,9 +11,9 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/lavanet/lava/v2/testutil/sample" - protocolsimulation "github.com/lavanet/lava/v2/x/protocol/simulation" - "github.com/lavanet/lava/v2/x/protocol/types" + "github.com/lavanet/lava/v3/testutil/sample" + protocolsimulation "github.com/lavanet/lava/v3/x/protocol/simulation" + "github.com/lavanet/lava/v3/x/protocol/types" ) // avoid unused import issue diff --git a/x/protocol/types/genesis_test.go b/x/protocol/types/genesis_test.go index 5db02a5d10..6c0e190074 100644 --- a/x/protocol/types/genesis_test.go +++ b/x/protocol/types/genesis_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "github.com/lavanet/lava/v2/x/protocol/types" + "github.com/lavanet/lava/v3/x/protocol/types" "github.com/stretchr/testify/require" ) diff --git a/x/protocol/types/message_set_version_test.go b/x/protocol/types/message_set_version_test.go index 1b852e65dc..2e0914307f 100644 --- a/x/protocol/types/message_set_version_test.go +++ b/x/protocol/types/message_set_version_test.go @@ -3,7 +3,7 @@ package types import ( "testing" - "github.com/lavanet/lava/v2/testutil/sample" + "github.com/lavanet/lava/v3/testutil/sample" "github.com/stretchr/testify/require" ) diff --git a/x/rewards/abci.go b/x/rewards/abci.go index f941f309f5..6fdc73fd81 100644 --- a/x/rewards/abci.go +++ b/x/rewards/abci.go @@ -2,7 +2,7 @@ package rewards import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/rewards/keeper" + "github.com/lavanet/lava/v3/x/rewards/keeper" ) // BeginBlocker calculates the validators block rewards and transfers them to the fee collector diff --git a/x/rewards/client/cli/query.go b/x/rewards/client/cli/query.go index 2922658f53..4c22ab4175 100644 --- a/x/rewards/client/cli/query.go +++ b/x/rewards/client/cli/query.go @@ -10,7 +10,7 @@ import ( // "github.com/cosmos/cosmos-sdk/client/flags" // sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/x/rewards/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/rewards/client/cli/query_block_reward.go b/x/rewards/client/cli/query_block_reward.go index c1491d3beb..748043af4a 100644 --- a/x/rewards/client/cli/query_block_reward.go +++ b/x/rewards/client/cli/query_block_reward.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/x/rewards/types" "github.com/spf13/cobra" ) diff --git a/x/rewards/client/cli/query_iprpc_provider_reward_estimation.go b/x/rewards/client/cli/query_iprpc_provider_reward_estimation.go index fa8fdee08b..e98de9706b 100644 --- a/x/rewards/client/cli/query_iprpc_provider_reward_estimation.go +++ b/x/rewards/client/cli/query_iprpc_provider_reward_estimation.go @@ -5,8 +5,8 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/rewards/types" "github.com/spf13/cobra" ) diff --git a/x/rewards/client/cli/query_iprpc_spec_reward.go b/x/rewards/client/cli/query_iprpc_spec_reward.go index 4d04c812a3..e2b4c35bb3 100644 --- a/x/rewards/client/cli/query_iprpc_spec_reward.go +++ b/x/rewards/client/cli/query_iprpc_spec_reward.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/x/rewards/types" "github.com/spf13/cobra" ) diff --git a/x/rewards/client/cli/query_params.go b/x/rewards/client/cli/query_params.go index e824fce154..3b729b8f3c 100644 --- a/x/rewards/client/cli/query_params.go +++ b/x/rewards/client/cli/query_params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/x/rewards/types" "github.com/spf13/cobra" ) diff --git a/x/rewards/client/cli/query_pools.go b/x/rewards/client/cli/query_pools.go index 899ba5e165..5577194980 100644 --- a/x/rewards/client/cli/query_pools.go +++ b/x/rewards/client/cli/query_pools.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/x/rewards/types" "github.com/spf13/cobra" ) diff --git a/x/rewards/client/cli/query_show_iprpc_data.go b/x/rewards/client/cli/query_show_iprpc_data.go index 226c293e60..fb78e66f59 100644 --- a/x/rewards/client/cli/query_show_iprpc_data.go +++ b/x/rewards/client/cli/query_show_iprpc_data.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/x/rewards/types" "github.com/spf13/cobra" ) diff --git a/x/rewards/client/cli/query_spec_tracked_info.go b/x/rewards/client/cli/query_spec_tracked_info.go index 3045bf1f72..96f16a8253 100644 --- a/x/rewards/client/cli/query_spec_tracked_info.go +++ b/x/rewards/client/cli/query_spec_tracked_info.go @@ -5,8 +5,8 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/rewards/types" "github.com/spf13/cobra" ) diff --git a/x/rewards/client/cli/tx.go b/x/rewards/client/cli/tx.go index 0849a7be87..24136b28f1 100644 --- a/x/rewards/client/cli/tx.go +++ b/x/rewards/client/cli/tx.go @@ -16,8 +16,8 @@ import ( govclient "github.com/cosmos/cosmos-sdk/x/gov/client" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" - "github.com/lavanet/lava/v2/utils/lavaslices" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/utils/lavaslices" + "github.com/lavanet/lava/v3/x/rewards/types" ) var DefaultRelativePacketTimeoutTimestamp = uint64((time.Duration(10) * time.Minute).Nanoseconds()) diff --git a/x/rewards/client/cli/tx_fund_iprpc.go b/x/rewards/client/cli/tx_fund_iprpc.go index a1eb7d6b66..8b154959b5 100644 --- a/x/rewards/client/cli/tx_fund_iprpc.go +++ b/x/rewards/client/cli/tx_fund_iprpc.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/x/rewards/types" "github.com/spf13/cobra" ) diff --git a/x/rewards/genesis.go b/x/rewards/genesis.go index 339f67488e..09cbee5ade 100644 --- a/x/rewards/genesis.go +++ b/x/rewards/genesis.go @@ -2,8 +2,8 @@ package rewards import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/rewards/keeper" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/x/rewards/keeper" + "github.com/lavanet/lava/v3/x/rewards/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/rewards/genesis_test.go b/x/rewards/genesis_test.go index 4c293304b2..2c46066ffa 100644 --- a/x/rewards/genesis_test.go +++ b/x/rewards/genesis_test.go @@ -4,9 +4,9 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/testutil/nullify" - "github.com/lavanet/lava/v2/x/rewards/types" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/testutil/nullify" + "github.com/lavanet/lava/v3/x/rewards/types" "github.com/stretchr/testify/require" ) diff --git a/x/rewards/handler.go b/x/rewards/handler.go index e8d48b1cea..7f0b2a276c 100644 --- a/x/rewards/handler.go +++ b/x/rewards/handler.go @@ -6,8 +6,8 @@ import ( sdkerrors "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/x/rewards/keeper" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/x/rewards/keeper" + "github.com/lavanet/lava/v3/x/rewards/types" ) // NewHandler ... diff --git a/x/rewards/keeper/base_pay.go b/x/rewards/keeper/base_pay.go index 476629fec7..36c2a7aebc 100644 --- a/x/rewards/keeper/base_pay.go +++ b/x/rewards/keeper/base_pay.go @@ -3,7 +3,7 @@ package keeper import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/x/rewards/types" ) // SetBasePay set a specific BasePay in the store from its index diff --git a/x/rewards/keeper/grpc_query.go b/x/rewards/keeper/grpc_query.go index fe4353914d..217854e181 100644 --- a/x/rewards/keeper/grpc_query.go +++ b/x/rewards/keeper/grpc_query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/x/rewards/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/rewards/keeper/grpc_query_block_reward.go b/x/rewards/keeper/grpc_query_block_reward.go index d5fae3eb89..349f6c71df 100644 --- a/x/rewards/keeper/grpc_query_block_reward.go +++ b/x/rewards/keeper/grpc_query_block_reward.go @@ -5,8 +5,8 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/rewards/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/rewards/keeper/grpc_query_iprpc_provider_reward.go b/x/rewards/keeper/grpc_query_iprpc_provider_reward.go index 669b00640e..dea898b780 100644 --- a/x/rewards/keeper/grpc_query_iprpc_provider_reward.go +++ b/x/rewards/keeper/grpc_query_iprpc_provider_reward.go @@ -5,7 +5,7 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/x/rewards/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/rewards/keeper/grpc_query_iprpc_spec_reward.go b/x/rewards/keeper/grpc_query_iprpc_spec_reward.go index 09ed49deac..1591841406 100644 --- a/x/rewards/keeper/grpc_query_iprpc_spec_reward.go +++ b/x/rewards/keeper/grpc_query_iprpc_spec_reward.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/x/rewards/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/rewards/keeper/grpc_query_params.go b/x/rewards/keeper/grpc_query_params.go index 4cbfb0ff51..e74c87bd24 100644 --- a/x/rewards/keeper/grpc_query_params.go +++ b/x/rewards/keeper/grpc_query_params.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/x/rewards/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/rewards/keeper/grpc_query_params_test.go b/x/rewards/keeper/grpc_query_params_test.go index 3710c8da00..d9e1c2eaf6 100644 --- a/x/rewards/keeper/grpc_query_params_test.go +++ b/x/rewards/keeper/grpc_query_params_test.go @@ -4,8 +4,8 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/rewards/types" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/rewards/types" "github.com/stretchr/testify/require" ) diff --git a/x/rewards/keeper/grpc_query_pools.go b/x/rewards/keeper/grpc_query_pools.go index f975e36783..c9038f9b4e 100644 --- a/x/rewards/keeper/grpc_query_pools.go +++ b/x/rewards/keeper/grpc_query_pools.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/x/rewards/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/rewards/keeper/grpc_query_show_iprpc_data.go b/x/rewards/keeper/grpc_query_show_iprpc_data.go index 925dfa3640..b9eb5423cb 100644 --- a/x/rewards/keeper/grpc_query_show_iprpc_data.go +++ b/x/rewards/keeper/grpc_query_show_iprpc_data.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/x/rewards/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/rewards/keeper/grpc_query_spec_tracked_info.go b/x/rewards/keeper/grpc_query_spec_tracked_info.go index 706b719a19..0d9cd5743b 100644 --- a/x/rewards/keeper/grpc_query_spec_tracked_info.go +++ b/x/rewards/keeper/grpc_query_spec_tracked_info.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/x/rewards/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/rewards/keeper/helpers_test.go b/x/rewards/keeper/helpers_test.go index fd717ed27c..3a648083a3 100644 --- a/x/rewards/keeper/helpers_test.go +++ b/x/rewards/keeper/helpers_test.go @@ -9,14 +9,14 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/lavanet/lava/v2/testutil/common" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - commontypes "github.com/lavanet/lava/v2/utils/common/types" - "github.com/lavanet/lava/v2/utils/sigs" - planstypes "github.com/lavanet/lava/v2/x/plans/types" - "github.com/lavanet/lava/v2/x/projects/types" - rewardstypes "github.com/lavanet/lava/v2/x/rewards/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/testutil/common" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + commontypes "github.com/lavanet/lava/v3/utils/common/types" + "github.com/lavanet/lava/v3/utils/sigs" + planstypes "github.com/lavanet/lava/v3/x/plans/types" + "github.com/lavanet/lava/v3/x/projects/types" + rewardstypes "github.com/lavanet/lava/v3/x/rewards/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" ) diff --git a/x/rewards/keeper/iprpc.go b/x/rewards/keeper/iprpc.go index 1cd944c396..8ac287e452 100644 --- a/x/rewards/keeper/iprpc.go +++ b/x/rewards/keeper/iprpc.go @@ -6,8 +6,8 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/rewards/types" ) func (k Keeper) FundIprpc(ctx sdk.Context, creator string, duration uint64, fund sdk.Coins, spec string) error { diff --git a/x/rewards/keeper/iprpc_data.go b/x/rewards/keeper/iprpc_data.go index cf3199a281..a0c5541da1 100644 --- a/x/rewards/keeper/iprpc_data.go +++ b/x/rewards/keeper/iprpc_data.go @@ -5,8 +5,8 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/rewards/types" ) func (k Keeper) SetIprpcData(ctx sdk.Context, cost sdk.Coin, subs []string) error { diff --git a/x/rewards/keeper/iprpc_data_test.go b/x/rewards/keeper/iprpc_data_test.go index f6a89326e6..85de563c11 100644 --- a/x/rewards/keeper/iprpc_data_test.go +++ b/x/rewards/keeper/iprpc_data_test.go @@ -5,17 +5,17 @@ import ( "testing" "cosmossdk.io/math" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/testutil/nullify" - "github.com/lavanet/lava/v2/x/rewards/keeper" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/testutil/nullify" + "github.com/lavanet/lava/v3/x/rewards/keeper" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/lavanet/lava/v2/testutil/common" - "github.com/lavanet/lava/v2/testutil/sample" + "github.com/lavanet/lava/v3/testutil/common" + "github.com/lavanet/lava/v3/testutil/sample" ) // Prevent strconv unused error diff --git a/x/rewards/keeper/iprpc_reward.go b/x/rewards/keeper/iprpc_reward.go index 5c1dd9198e..41602d88c2 100644 --- a/x/rewards/keeper/iprpc_reward.go +++ b/x/rewards/keeper/iprpc_reward.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/x/rewards/types" ) // GetIprpcRewardsCurrentId get the total number of IprpcReward diff --git a/x/rewards/keeper/iprpc_test.go b/x/rewards/keeper/iprpc_test.go index 84d08d5e7d..7cf2a6ccea 100644 --- a/x/rewards/keeper/iprpc_test.go +++ b/x/rewards/keeper/iprpc_test.go @@ -6,9 +6,9 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - "github.com/lavanet/lava/v2/testutil/common" - "github.com/lavanet/lava/v2/utils/sigs" - rewardstypes "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/testutil/common" + "github.com/lavanet/lava/v3/utils/sigs" + rewardstypes "github.com/lavanet/lava/v3/x/rewards/types" "github.com/stretchr/testify/require" ) diff --git a/x/rewards/keeper/keeper.go b/x/rewards/keeper/keeper.go index afdba00631..41f5c703b3 100644 --- a/x/rewards/keeper/keeper.go +++ b/x/rewards/keeper/keeper.go @@ -9,8 +9,8 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/lavanet/lava/v2/x/rewards/types" - timerstoretypes "github.com/lavanet/lava/v2/x/timerstore/types" + "github.com/lavanet/lava/v3/x/rewards/types" + timerstoretypes "github.com/lavanet/lava/v3/x/timerstore/types" ) type ( diff --git a/x/rewards/keeper/msg_server.go b/x/rewards/keeper/msg_server.go index de9c61325c..e44a39ce58 100644 --- a/x/rewards/keeper/msg_server.go +++ b/x/rewards/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/x/rewards/types" ) type msgServer struct { diff --git a/x/rewards/keeper/msg_server_fund_iprpc.go b/x/rewards/keeper/msg_server_fund_iprpc.go index 6687df91a5..77ca0fb38e 100644 --- a/x/rewards/keeper/msg_server_fund_iprpc.go +++ b/x/rewards/keeper/msg_server_fund_iprpc.go @@ -5,8 +5,8 @@ import ( "strconv" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/rewards/types" ) func (k msgServer) FundIprpc(goCtx context.Context, msg *types.MsgFundIprpc) (*types.MsgFundIprpcResponse, error) { diff --git a/x/rewards/keeper/msg_server_set_iprpc_data.go b/x/rewards/keeper/msg_server_set_iprpc_data.go index 8a7c397421..e87cc068b1 100644 --- a/x/rewards/keeper/msg_server_set_iprpc_data.go +++ b/x/rewards/keeper/msg_server_set_iprpc_data.go @@ -7,8 +7,8 @@ import ( sdkerrors "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/rewards/types" ) func (k msgServer) SetIprpcData(goCtx context.Context, msg *types.MsgSetIprpcData) (*types.MsgSetIprpcDataResponse, error) { diff --git a/x/rewards/keeper/msg_server_test.go b/x/rewards/keeper/msg_server_test.go index 2549291562..e152b10b53 100644 --- a/x/rewards/keeper/msg_server_test.go +++ b/x/rewards/keeper/msg_server_test.go @@ -5,9 +5,9 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/rewards/keeper" - "github.com/lavanet/lava/v2/x/rewards/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/rewards/keeper" + "github.com/lavanet/lava/v3/x/rewards/types" ) func setupMsgServer(t testing.TB) (types.MsgServer, context.Context) { diff --git a/x/rewards/keeper/params.go b/x/rewards/keeper/params.go index 2584ad1325..ded8ea66cd 100644 --- a/x/rewards/keeper/params.go +++ b/x/rewards/keeper/params.go @@ -2,7 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/x/rewards/types" ) // GetParams get all parameters as types.Params diff --git a/x/rewards/keeper/params_test.go b/x/rewards/keeper/params_test.go index fbb195bf11..b3f7772e70 100644 --- a/x/rewards/keeper/params_test.go +++ b/x/rewards/keeper/params_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/rewards/types" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/rewards/types" "github.com/stretchr/testify/require" ) diff --git a/x/rewards/keeper/pool.go b/x/rewards/keeper/pool.go index ed37b61efb..11326a2cdf 100644 --- a/x/rewards/keeper/pool.go +++ b/x/rewards/keeper/pool.go @@ -4,7 +4,7 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/x/rewards/types" ) // TotalPoolTokens gets the total tokens supply from a pool diff --git a/x/rewards/keeper/pool_test.go b/x/rewards/keeper/pool_test.go index 1a0398d9f1..cec811e3fc 100644 --- a/x/rewards/keeper/pool_test.go +++ b/x/rewards/keeper/pool_test.go @@ -7,11 +7,11 @@ import ( abci "github.com/cometbft/cometbft/abci/types" sdk "github.com/cosmos/cosmos-sdk/types" distribution "github.com/cosmos/cosmos-sdk/x/distribution" - "github.com/lavanet/lava/v2/testutil/common" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/rewards/types" - timerstoretypes "github.com/lavanet/lava/v2/x/timerstore/types" + "github.com/lavanet/lava/v3/testutil/common" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/rewards/types" + timerstoretypes "github.com/lavanet/lava/v3/x/timerstore/types" "github.com/stretchr/testify/require" ) diff --git a/x/rewards/keeper/providers.go b/x/rewards/keeper/providers.go index d9dcacae07..f58b3beffd 100644 --- a/x/rewards/keeper/providers.go +++ b/x/rewards/keeper/providers.go @@ -8,9 +8,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/rewards/types" - timerstoretypes "github.com/lavanet/lava/v2/x/timerstore/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/rewards/types" + timerstoretypes "github.com/lavanet/lava/v3/x/timerstore/types" ) const DAY_SECONDS = 60 * 60 * 24 diff --git a/x/rewards/keeper/providers_test.go b/x/rewards/keeper/providers_test.go index f9fb6b80e6..5ed1c58d52 100644 --- a/x/rewards/keeper/providers_test.go +++ b/x/rewards/keeper/providers_test.go @@ -6,10 +6,10 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - "github.com/lavanet/lava/v2/testutil/common" - "github.com/lavanet/lava/v2/utils/sigs" - "github.com/lavanet/lava/v2/x/rewards/types" - subscription "github.com/lavanet/lava/v2/x/subscription/keeper" + "github.com/lavanet/lava/v3/testutil/common" + "github.com/lavanet/lava/v3/utils/sigs" + "github.com/lavanet/lava/v3/x/rewards/types" + subscription "github.com/lavanet/lava/v3/x/subscription/keeper" "github.com/stretchr/testify/require" ) diff --git a/x/rewards/keeper/rewards.go b/x/rewards/keeper/rewards.go index 985e6d7fd9..4a8876d321 100644 --- a/x/rewards/keeper/rewards.go +++ b/x/rewards/keeper/rewards.go @@ -9,9 +9,9 @@ import ( sdkmath "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/rewards/types" - timerstoretypes "github.com/lavanet/lava/v2/x/timerstore/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/rewards/types" + timerstoretypes "github.com/lavanet/lava/v3/x/timerstore/types" ) func (k Keeper) DistributeBlockReward(ctx sdk.Context) { diff --git a/x/rewards/module.go b/x/rewards/module.go index 4e7b329001..094a535682 100644 --- a/x/rewards/module.go +++ b/x/rewards/module.go @@ -16,9 +16,9 @@ import ( cdctypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/lavanet/lava/v2/x/rewards/client/cli" - "github.com/lavanet/lava/v2/x/rewards/keeper" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/x/rewards/client/cli" + "github.com/lavanet/lava/v3/x/rewards/keeper" + "github.com/lavanet/lava/v3/x/rewards/types" ) var ( diff --git a/x/rewards/module_simulation.go b/x/rewards/module_simulation.go index a0cc57d889..6504793ec2 100644 --- a/x/rewards/module_simulation.go +++ b/x/rewards/module_simulation.go @@ -7,9 +7,9 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/lavanet/lava/v2/testutil/sample" - rewardssimulation "github.com/lavanet/lava/v2/x/rewards/simulation" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/testutil/sample" + rewardssimulation "github.com/lavanet/lava/v3/x/rewards/simulation" + "github.com/lavanet/lava/v3/x/rewards/types" ) // avoid unused import issue diff --git a/x/rewards/types/expected_keepers.go b/x/rewards/types/expected_keepers.go index a1cb0221f6..a79582f6d4 100644 --- a/x/rewards/types/expected_keepers.go +++ b/x/rewards/types/expected_keepers.go @@ -5,10 +5,10 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - v1 "github.com/lavanet/lava/v2/x/downtime/v1" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - spectypes "github.com/lavanet/lava/v2/x/spec/types" - timerstoretypes "github.com/lavanet/lava/v2/x/timerstore/types" + v1 "github.com/lavanet/lava/v3/x/downtime/v1" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + spectypes "github.com/lavanet/lava/v3/x/spec/types" + timerstoretypes "github.com/lavanet/lava/v3/x/timerstore/types" ) // AccountKeeper defines the expected account keeper used for simulations (noalias) diff --git a/x/rewards/types/genesis.go b/x/rewards/types/genesis.go index ee49ca9b72..a3c1332cf1 100644 --- a/x/rewards/types/genesis.go +++ b/x/rewards/types/genesis.go @@ -4,8 +4,8 @@ import ( fmt "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - commontypes "github.com/lavanet/lava/v2/utils/common/types" - "github.com/lavanet/lava/v2/x/timerstore/types" + commontypes "github.com/lavanet/lava/v3/utils/common/types" + "github.com/lavanet/lava/v3/x/timerstore/types" ) // this line is used by starport scaffolding # genesis/types/import diff --git a/x/rewards/types/genesis.pb.go b/x/rewards/types/genesis.pb.go index 584818111e..576a976677 100644 --- a/x/rewards/types/genesis.pb.go +++ b/x/rewards/types/genesis.pb.go @@ -8,7 +8,7 @@ import ( types1 "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" - types "github.com/lavanet/lava/v2/x/timerstore/types" + types "github.com/lavanet/lava/v3/x/timerstore/types" io "io" math "math" math_bits "math/bits" diff --git a/x/rewards/types/genesis_test.go b/x/rewards/types/genesis_test.go index 53e7c22a6d..c681f3270a 100644 --- a/x/rewards/types/genesis_test.go +++ b/x/rewards/types/genesis_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "github.com/lavanet/lava/v2/x/rewards/types" + "github.com/lavanet/lava/v3/x/rewards/types" "github.com/stretchr/testify/require" ) diff --git a/x/rewards/types/message_fund_iprpc_test.go b/x/rewards/types/message_fund_iprpc_test.go index df40f49af8..24a196edf4 100644 --- a/x/rewards/types/message_fund_iprpc_test.go +++ b/x/rewards/types/message_fund_iprpc_test.go @@ -5,7 +5,7 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/testutil/sample" + "github.com/lavanet/lava/v3/testutil/sample" "github.com/stretchr/testify/require" ) diff --git a/x/rewards/types/message_set_iprpc_data_test.go b/x/rewards/types/message_set_iprpc_data_test.go index 2e2b6e641c..46fd398a80 100644 --- a/x/rewards/types/message_set_iprpc_data_test.go +++ b/x/rewards/types/message_set_iprpc_data_test.go @@ -5,8 +5,8 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/testutil/sample" - commontypes "github.com/lavanet/lava/v2/utils/common/types" + "github.com/lavanet/lava/v3/testutil/sample" + commontypes "github.com/lavanet/lava/v3/utils/common/types" "github.com/stretchr/testify/require" ) diff --git a/x/spec/ante/ante.go b/x/spec/ante/ante.go index 03e398e162..2caf241dd6 100644 --- a/x/spec/ante/ante.go +++ b/x/spec/ante/ante.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/authz" v1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" "github.com/cosmos/gogoproto/proto" - "github.com/lavanet/lava/v2/x/spec/keeper" + "github.com/lavanet/lava/v3/x/spec/keeper" "google.golang.org/protobuf/reflect/protoreflect" ) diff --git a/x/spec/ante/ante_test.go b/x/spec/ante/ante_test.go index 82571e5413..1cbc463c9a 100644 --- a/x/spec/ante/ante_test.go +++ b/x/spec/ante/ante_test.go @@ -12,12 +12,12 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" v1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" "github.com/cosmos/gogoproto/proto" - "github.com/lavanet/lava/v2/app" - specutils "github.com/lavanet/lava/v2/utils/keeper" - plantypes "github.com/lavanet/lava/v2/x/plans/types" - "github.com/lavanet/lava/v2/x/spec/ante" - spectypes "github.com/lavanet/lava/v2/x/spec/types" - subsciptiontypes "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/app" + specutils "github.com/lavanet/lava/v3/utils/keeper" + plantypes "github.com/lavanet/lava/v3/x/plans/types" + "github.com/lavanet/lava/v3/x/spec/ante" + spectypes "github.com/lavanet/lava/v3/x/spec/types" + subsciptiontypes "github.com/lavanet/lava/v3/x/subscription/types" "github.com/stretchr/testify/require" ) diff --git a/x/spec/client/cli/query.go b/x/spec/client/cli/query.go index 35775385fa..cffa9657eb 100644 --- a/x/spec/client/cli/query.go +++ b/x/spec/client/cli/query.go @@ -10,7 +10,7 @@ import ( // "github.com/cosmos/cosmos-sdk/client/flags" // sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/x/spec/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/spec/client/cli/query_params.go b/x/spec/client/cli/query_params.go index 2f85e51834..f8d0dd5634 100644 --- a/x/spec/client/cli/query_params.go +++ b/x/spec/client/cli/query_params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/x/spec/types" "github.com/spf13/cobra" ) diff --git a/x/spec/client/cli/query_show_all_chains.go b/x/spec/client/cli/query_show_all_chains.go index a5624c3304..ae09657e9e 100644 --- a/x/spec/client/cli/query_show_all_chains.go +++ b/x/spec/client/cli/query_show_all_chains.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/x/spec/types" "github.com/spf13/cobra" ) diff --git a/x/spec/client/cli/query_show_chain_info.go b/x/spec/client/cli/query_show_chain_info.go index 4a9fdcca62..c3b48968c9 100644 --- a/x/spec/client/cli/query_show_chain_info.go +++ b/x/spec/client/cli/query_show_chain_info.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/x/spec/types" "github.com/spf13/cobra" ) diff --git a/x/spec/client/cli/query_spec.go b/x/spec/client/cli/query_spec.go index 6659cfd7f2..0e5a4cf731 100644 --- a/x/spec/client/cli/query_spec.go +++ b/x/spec/client/cli/query_spec.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/x/spec/types" "github.com/spf13/cobra" ) diff --git a/x/spec/client/cli/query_spec_test.go b/x/spec/client/cli/query_spec_test.go index ba8612f332..28e707db1c 100644 --- a/x/spec/client/cli/query_spec_test.go +++ b/x/spec/client/cli/query_spec_test.go @@ -12,10 +12,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/lavanet/lava/v2/testutil/network" - "github.com/lavanet/lava/v2/testutil/nullify" - "github.com/lavanet/lava/v2/x/spec/client/cli" - "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/testutil/network" + "github.com/lavanet/lava/v3/testutil/nullify" + "github.com/lavanet/lava/v3/x/spec/client/cli" + "github.com/lavanet/lava/v3/x/spec/types" ) // Prevent strconv unused error diff --git a/x/spec/client/cli/tx.go b/x/spec/client/cli/tx.go index feb862e039..f19d318330 100644 --- a/x/spec/client/cli/tx.go +++ b/x/spec/client/cli/tx.go @@ -14,9 +14,9 @@ import ( "github.com/cosmos/cosmos-sdk/client" // "github.com/cosmos/cosmos-sdk/client/flags" - utilslib "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/spec/client/utils" - "github.com/lavanet/lava/v2/x/spec/types" + utilslib "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/spec/client/utils" + "github.com/lavanet/lava/v3/x/spec/types" "github.com/cosmos/cosmos-sdk/client/tx" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/spec/client/proposal_handler.go b/x/spec/client/proposal_handler.go index fbaa2d0714..13d8a3bf49 100644 --- a/x/spec/client/proposal_handler.go +++ b/x/spec/client/proposal_handler.go @@ -2,7 +2,7 @@ package client import ( govclient "github.com/cosmos/cosmos-sdk/x/gov/client" - "github.com/lavanet/lava/v2/x/spec/client/cli" + "github.com/lavanet/lava/v3/x/spec/client/cli" ) // SpecAddProposalHandler is the param change proposal handler. diff --git a/x/spec/client/utils/utils.go b/x/spec/client/utils/utils.go index 593e09ca98..359092287d 100755 --- a/x/spec/client/utils/utils.go +++ b/x/spec/client/utils/utils.go @@ -10,9 +10,9 @@ import ( sdkerrors "cosmossdk.io/errors" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - commontypes "github.com/lavanet/lava/v2/utils/common/types" - "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/utils" + commontypes "github.com/lavanet/lava/v3/utils/common/types" + "github.com/lavanet/lava/v3/x/spec/types" ) type ( diff --git a/x/spec/genesis.go b/x/spec/genesis.go index ce7d9c737a..8e83b04b55 100644 --- a/x/spec/genesis.go +++ b/x/spec/genesis.go @@ -2,8 +2,8 @@ package spec import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/spec/keeper" - "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/x/spec/keeper" + "github.com/lavanet/lava/v3/x/spec/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/spec/genesis_test.go b/x/spec/genesis_test.go index 9faaa7e9ae..95b37a99eb 100644 --- a/x/spec/genesis_test.go +++ b/x/spec/genesis_test.go @@ -6,10 +6,10 @@ import ( types2 "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/cosmos/gogoproto/proto" - "github.com/lavanet/lava/v2/testutil/nullify" - specutils "github.com/lavanet/lava/v2/utils/keeper" - "github.com/lavanet/lava/v2/x/spec" - "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/testutil/nullify" + specutils "github.com/lavanet/lava/v3/utils/keeper" + "github.com/lavanet/lava/v3/x/spec" + "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" ) diff --git a/x/spec/handler.go b/x/spec/handler.go index 5a26855c41..13f8c69b72 100644 --- a/x/spec/handler.go +++ b/x/spec/handler.go @@ -6,8 +6,8 @@ import ( sdkerrors "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/x/spec/keeper" - "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/x/spec/keeper" + "github.com/lavanet/lava/v3/x/spec/types" ) // NewHandler ... diff --git a/x/spec/keeper/grpc_query.go b/x/spec/keeper/grpc_query.go index b41d893c7a..329a3e21e6 100644 --- a/x/spec/keeper/grpc_query.go +++ b/x/spec/keeper/grpc_query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/x/spec/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/spec/keeper/grpc_query_params.go b/x/spec/keeper/grpc_query_params.go index 1f63cfd831..79018aeab0 100644 --- a/x/spec/keeper/grpc_query_params.go +++ b/x/spec/keeper/grpc_query_params.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/x/spec/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/spec/keeper/grpc_query_params_test.go b/x/spec/keeper/grpc_query_params_test.go index 5d94e82188..33a370aa46 100644 --- a/x/spec/keeper/grpc_query_params_test.go +++ b/x/spec/keeper/grpc_query_params_test.go @@ -4,8 +4,8 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - specutils "github.com/lavanet/lava/v2/utils/keeper" - "github.com/lavanet/lava/v2/x/spec/types" + specutils "github.com/lavanet/lava/v3/utils/keeper" + "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" ) diff --git a/x/spec/keeper/grpc_query_show_all_chains.go b/x/spec/keeper/grpc_query_show_all_chains.go index decd07798e..ba3f4df556 100644 --- a/x/spec/keeper/grpc_query_show_all_chains.go +++ b/x/spec/keeper/grpc_query_show_all_chains.go @@ -5,8 +5,8 @@ import ( "sort" sdk "github.com/cosmos/cosmos-sdk/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - "github.com/lavanet/lava/v2/x/spec/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/spec/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/spec/keeper/grpc_query_show_chain_info.go b/x/spec/keeper/grpc_query_show_chain_info.go index 79471bc475..df70b6dafc 100644 --- a/x/spec/keeper/grpc_query_show_chain_info.go +++ b/x/spec/keeper/grpc_query_show_chain_info.go @@ -5,8 +5,8 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - "github.com/lavanet/lava/v2/x/spec/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/spec/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/spec/keeper/grpc_query_spec.go b/x/spec/keeper/grpc_query_spec.go index fb3e0d2695..32bcc57bb5 100644 --- a/x/spec/keeper/grpc_query_spec.go +++ b/x/spec/keeper/grpc_query_spec.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/x/spec/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/spec/keeper/grpc_query_spec_test.go b/x/spec/keeper/grpc_query_spec_test.go index ad97b52fbf..94b4e2386c 100644 --- a/x/spec/keeper/grpc_query_spec_test.go +++ b/x/spec/keeper/grpc_query_spec_test.go @@ -10,9 +10,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/lavanet/lava/v2/testutil/nullify" - specutils "github.com/lavanet/lava/v2/utils/keeper" - "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/testutil/nullify" + specutils "github.com/lavanet/lava/v3/utils/keeper" + "github.com/lavanet/lava/v3/x/spec/types" ) // Prevent strconv unused error diff --git a/x/spec/keeper/keeper.go b/x/spec/keeper/keeper.go index b4a91e1cf8..8964f7037c 100644 --- a/x/spec/keeper/keeper.go +++ b/x/spec/keeper/keeper.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/x/spec/types" ) type ( diff --git a/x/spec/keeper/migrations.go b/x/spec/keeper/migrations.go index b376a4bbd8..20a48ba86d 100644 --- a/x/spec/keeper/migrations.go +++ b/x/spec/keeper/migrations.go @@ -5,8 +5,8 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/spec/types" - typesv1 "github.com/lavanet/lava/v2/x/spec/types/migrations/v1" + "github.com/lavanet/lava/v3/x/spec/types" + typesv1 "github.com/lavanet/lava/v3/x/spec/types/migrations/v1" ) type Migrator struct { diff --git a/x/spec/keeper/msg_server.go b/x/spec/keeper/msg_server.go index 1928d8071f..f5156769cf 100644 --- a/x/spec/keeper/msg_server.go +++ b/x/spec/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/x/spec/types" ) type msgServer struct { diff --git a/x/spec/keeper/msg_server_test.go b/x/spec/keeper/msg_server_test.go index b15805f52b..7b9aaa3b0d 100644 --- a/x/spec/keeper/msg_server_test.go +++ b/x/spec/keeper/msg_server_test.go @@ -5,9 +5,9 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - specutils "github.com/lavanet/lava/v2/utils/keeper" - "github.com/lavanet/lava/v2/x/spec/keeper" - "github.com/lavanet/lava/v2/x/spec/types" + specutils "github.com/lavanet/lava/v3/utils/keeper" + "github.com/lavanet/lava/v3/x/spec/keeper" + "github.com/lavanet/lava/v3/x/spec/types" ) func setupMsgServer(t testing.TB) (types.MsgServer, context.Context) { diff --git a/x/spec/keeper/params.go b/x/spec/keeper/params.go index 5c3aee2688..f3309cdbb6 100644 --- a/x/spec/keeper/params.go +++ b/x/spec/keeper/params.go @@ -2,7 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/x/spec/types" ) // GetParams get all parameters as types.Params diff --git a/x/spec/keeper/params_test.go b/x/spec/keeper/params_test.go index 429f0d7410..48d2a3b5b7 100644 --- a/x/spec/keeper/params_test.go +++ b/x/spec/keeper/params_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - specutils "github.com/lavanet/lava/v2/utils/keeper" - "github.com/lavanet/lava/v2/x/spec/types" + specutils "github.com/lavanet/lava/v3/utils/keeper" + "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" ) diff --git a/x/spec/keeper/spec.go b/x/spec/keeper/spec.go index 0a98074cdc..59c0a5e6ce 100644 --- a/x/spec/keeper/spec.go +++ b/x/spec/keeper/spec.go @@ -9,10 +9,10 @@ import ( "cosmossdk.io/math" "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/sigs" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/sigs" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/spec/types" ) // SetSpec set a specific Spec in the store from its index diff --git a/x/spec/keeper/spec_test.go b/x/spec/keeper/spec_test.go index f8fdd05a33..eeb4304e08 100644 --- a/x/spec/keeper/spec_test.go +++ b/x/spec/keeper/spec_test.go @@ -9,13 +9,13 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/cmd/lavad/cmd" - "github.com/lavanet/lava/v2/testutil/common" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/testutil/nullify" - "github.com/lavanet/lava/v2/x/spec/client/utils" - "github.com/lavanet/lava/v2/x/spec/keeper" - "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/cmd/lavad/cmd" + "github.com/lavanet/lava/v3/testutil/common" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/testutil/nullify" + "github.com/lavanet/lava/v3/x/spec/client/utils" + "github.com/lavanet/lava/v3/x/spec/keeper" + "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" ) diff --git a/x/spec/module.go b/x/spec/module.go index f18efc00ea..a95e78642f 100644 --- a/x/spec/module.go +++ b/x/spec/module.go @@ -16,9 +16,9 @@ import ( cdctypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/lavanet/lava/v2/x/spec/client/cli" - "github.com/lavanet/lava/v2/x/spec/keeper" - "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/x/spec/client/cli" + "github.com/lavanet/lava/v3/x/spec/keeper" + "github.com/lavanet/lava/v3/x/spec/types" ) var ( diff --git a/x/spec/module_simulation.go b/x/spec/module_simulation.go index 47b54a3504..cfedbe289f 100644 --- a/x/spec/module_simulation.go +++ b/x/spec/module_simulation.go @@ -7,9 +7,9 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/lavanet/lava/v2/testutil/sample" - specsimulation "github.com/lavanet/lava/v2/x/spec/simulation" - "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/testutil/sample" + specsimulation "github.com/lavanet/lava/v3/x/spec/simulation" + "github.com/lavanet/lava/v3/x/spec/types" ) // avoid unused import issue diff --git a/x/spec/proposal_handler.go b/x/spec/proposal_handler.go index 735aa4d206..f2632775b1 100644 --- a/x/spec/proposal_handler.go +++ b/x/spec/proposal_handler.go @@ -12,10 +12,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" paramkeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" paramproposal "github.com/cosmos/cosmos-sdk/x/params/types/proposal" - "github.com/lavanet/lava/v2/utils" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - "github.com/lavanet/lava/v2/x/spec/keeper" - "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/utils" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + "github.com/lavanet/lava/v3/x/spec/keeper" + "github.com/lavanet/lava/v3/x/spec/types" ) // overwriting the params handler so we can add events and callbacks on specific params diff --git a/x/spec/types/errors.go b/x/spec/types/errors.go index 24db61f04c..eb83388e72 100644 --- a/x/spec/types/errors.go +++ b/x/spec/types/errors.go @@ -4,7 +4,7 @@ package types import ( sdkerrors "cosmossdk.io/errors" - commontypes "github.com/lavanet/lava/v2/utils/common/types" + commontypes "github.com/lavanet/lava/v3/utils/common/types" ) // x/spec module sentinel errors diff --git a/x/spec/types/genesis_test.go b/x/spec/types/genesis_test.go index 9c97da8dee..5305f637a8 100644 --- a/x/spec/types/genesis_test.go +++ b/x/spec/types/genesis_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "github.com/lavanet/lava/v2/x/spec/types" + "github.com/lavanet/lava/v3/x/spec/types" "github.com/stretchr/testify/require" ) diff --git a/x/spec/types/spec.go b/x/spec/types/spec.go index e0e181aaf3..237feb9bf4 100644 --- a/x/spec/types/spec.go +++ b/x/spec/types/spec.go @@ -10,8 +10,8 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/lavanet/lava/v2/utils" - commontypes "github.com/lavanet/lava/v2/utils/common/types" + "github.com/lavanet/lava/v3/utils" + commontypes "github.com/lavanet/lava/v3/utils/common/types" ) const ( diff --git a/x/subscription/client/cli/query.go b/x/subscription/client/cli/query.go index 36d5f678bd..56b9be3903 100644 --- a/x/subscription/client/cli/query.go +++ b/x/subscription/client/cli/query.go @@ -10,7 +10,7 @@ import ( // "github.com/cosmos/cosmos-sdk/client/flags" // sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/x/subscription/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/subscription/client/cli/query_current.go b/x/subscription/client/cli/query_current.go index 6a7b4f16ad..20565b23c9 100644 --- a/x/subscription/client/cli/query_current.go +++ b/x/subscription/client/cli/query_current.go @@ -3,8 +3,8 @@ package cli import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/subscription/types" "github.com/spf13/cobra" ) diff --git a/x/subscription/client/cli/query_estimated_rewards.go b/x/subscription/client/cli/query_estimated_rewards.go index 1b8b471e1f..cd44154df0 100644 --- a/x/subscription/client/cli/query_estimated_rewards.go +++ b/x/subscription/client/cli/query_estimated_rewards.go @@ -3,8 +3,8 @@ package cli import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/subscription/types" "github.com/spf13/cobra" ) diff --git a/x/subscription/client/cli/query_estimated_validators_rewards.go b/x/subscription/client/cli/query_estimated_validators_rewards.go index 1b805f8742..e522d32e14 100644 --- a/x/subscription/client/cli/query_estimated_validators_rewards.go +++ b/x/subscription/client/cli/query_estimated_validators_rewards.go @@ -3,8 +3,8 @@ package cli import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/subscription/types" "github.com/spf13/cobra" ) diff --git a/x/subscription/client/cli/query_list.go b/x/subscription/client/cli/query_list.go index 96e045e663..ff1a335cea 100644 --- a/x/subscription/client/cli/query_list.go +++ b/x/subscription/client/cli/query_list.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/x/subscription/types" "github.com/spf13/cobra" ) diff --git a/x/subscription/client/cli/query_list_projects.go b/x/subscription/client/cli/query_list_projects.go index d878f7de24..931448ea5f 100644 --- a/x/subscription/client/cli/query_list_projects.go +++ b/x/subscription/client/cli/query_list_projects.go @@ -5,8 +5,8 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/subscription/types" "github.com/spf13/cobra" ) diff --git a/x/subscription/client/cli/query_next_to_month_expiry.go b/x/subscription/client/cli/query_next_to_month_expiry.go index 2601370450..1f2bfce8e2 100644 --- a/x/subscription/client/cli/query_next_to_month_expiry.go +++ b/x/subscription/client/cli/query_next_to_month_expiry.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/x/subscription/types" "github.com/spf13/cobra" ) diff --git a/x/subscription/client/cli/query_params.go b/x/subscription/client/cli/query_params.go index 6925e2d992..272e2e65aa 100644 --- a/x/subscription/client/cli/query_params.go +++ b/x/subscription/client/cli/query_params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/x/subscription/types" "github.com/spf13/cobra" ) diff --git a/x/subscription/client/cli/query_tracked_cu_usage.go b/x/subscription/client/cli/query_tracked_cu_usage.go index 2c7cfc89c3..55a756006e 100644 --- a/x/subscription/client/cli/query_tracked_cu_usage.go +++ b/x/subscription/client/cli/query_tracked_cu_usage.go @@ -3,7 +3,7 @@ package cli import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/x/subscription/types" "github.com/spf13/cobra" ) diff --git a/x/subscription/client/cli/tx.go b/x/subscription/client/cli/tx.go index d233b07f47..7a5501090d 100644 --- a/x/subscription/client/cli/tx.go +++ b/x/subscription/client/cli/tx.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" // "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/x/subscription/types" ) var DefaultRelativePacketTimeoutTimestamp = uint64((time.Duration(10) * time.Minute).Nanoseconds()) diff --git a/x/subscription/client/cli/tx_add_project.go b/x/subscription/client/cli/tx_add_project.go index 893ff6fed3..cf42d7ae75 100644 --- a/x/subscription/client/cli/tx_add_project.go +++ b/x/subscription/client/cli/tx_add_project.go @@ -6,11 +6,11 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/decoder" - planstypes "github.com/lavanet/lava/v2/x/plans/types" - projectstypes "github.com/lavanet/lava/v2/x/projects/types" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/decoder" + planstypes "github.com/lavanet/lava/v3/x/plans/types" + projectstypes "github.com/lavanet/lava/v3/x/projects/types" + "github.com/lavanet/lava/v3/x/subscription/types" "github.com/spf13/cobra" ) diff --git a/x/subscription/client/cli/tx_auto_renewal.go b/x/subscription/client/cli/tx_auto_renewal.go index b505cf9018..6b6633c10d 100644 --- a/x/subscription/client/cli/tx_auto_renewal.go +++ b/x/subscription/client/cli/tx_auto_renewal.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/subscription/types" "github.com/spf13/cast" "github.com/spf13/cobra" ) diff --git a/x/subscription/client/cli/tx_buy.go b/x/subscription/client/cli/tx_buy.go index d21405e14e..2f518ee611 100644 --- a/x/subscription/client/cli/tx_buy.go +++ b/x/subscription/client/cli/tx_buy.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/subscription/types" "github.com/spf13/cast" "github.com/spf13/cobra" ) diff --git a/x/subscription/client/cli/tx_del_project.go b/x/subscription/client/cli/tx_del_project.go index e72dcf34b0..76ec6611cc 100644 --- a/x/subscription/client/cli/tx_del_project.go +++ b/x/subscription/client/cli/tx_del_project.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/x/subscription/types" "github.com/spf13/cobra" ) diff --git a/x/subscription/genesis.go b/x/subscription/genesis.go index 47a88e5b56..8280be0897 100644 --- a/x/subscription/genesis.go +++ b/x/subscription/genesis.go @@ -2,8 +2,8 @@ package subscription import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/subscription/keeper" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/x/subscription/keeper" + "github.com/lavanet/lava/v3/x/subscription/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/subscription/genesis_test.go b/x/subscription/genesis_test.go index 27f5dca7da..ade04231be 100644 --- a/x/subscription/genesis_test.go +++ b/x/subscription/genesis_test.go @@ -3,10 +3,10 @@ package subscription_test import ( "testing" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/testutil/nullify" - "github.com/lavanet/lava/v2/x/subscription" - "github.com/lavanet/lava/v2/x/subscription/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/testutil/nullify" + "github.com/lavanet/lava/v3/x/subscription" + "github.com/lavanet/lava/v3/x/subscription/types" "github.com/stretchr/testify/require" ) diff --git a/x/subscription/handler.go b/x/subscription/handler.go index 83d00d9449..f522a16f5c 100644 --- a/x/subscription/handler.go +++ b/x/subscription/handler.go @@ -6,8 +6,8 @@ import ( sdkerrors "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/x/subscription/keeper" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/x/subscription/keeper" + "github.com/lavanet/lava/v3/x/subscription/types" ) // NewHandler ... diff --git a/x/subscription/keeper/adjustment.go b/x/subscription/keeper/adjustment.go index ab0759ebba..b939cf32ef 100644 --- a/x/subscription/keeper/adjustment.go +++ b/x/subscription/keeper/adjustment.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/subscription/types" ) // SetAdjustment set a specific Adjustment in the store from its index diff --git a/x/subscription/keeper/adjustment_test.go b/x/subscription/keeper/adjustment_test.go index 0e55270067..8a1df55d9d 100644 --- a/x/subscription/keeper/adjustment_test.go +++ b/x/subscription/keeper/adjustment_test.go @@ -4,7 +4,7 @@ import ( "testing" "cosmossdk.io/math" - "github.com/lavanet/lava/v2/testutil/common" + "github.com/lavanet/lava/v3/testutil/common" "github.com/stretchr/testify/require" ) diff --git a/x/subscription/keeper/cluster.go b/x/subscription/keeper/cluster.go index 5f3de715fc..f4c5b126a4 100644 --- a/x/subscription/keeper/cluster.go +++ b/x/subscription/keeper/cluster.go @@ -2,7 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/x/subscription/types" ) func (k Keeper) GetAllClusters(ctx sdk.Context) []string { diff --git a/x/subscription/keeper/cluster_test.go b/x/subscription/keeper/cluster_test.go index ae2efff1b3..2d94b3a208 100644 --- a/x/subscription/keeper/cluster_test.go +++ b/x/subscription/keeper/cluster_test.go @@ -3,7 +3,7 @@ package keeper_test import ( "testing" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/x/subscription/types" "github.com/stretchr/testify/require" ) diff --git a/x/subscription/keeper/cu_tracker.go b/x/subscription/keeper/cu_tracker.go index 739df9eb8b..a742913b99 100644 --- a/x/subscription/keeper/cu_tracker.go +++ b/x/subscription/keeper/cu_tracker.go @@ -8,10 +8,10 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/utils" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - rewardstypes "github.com/lavanet/lava/v2/x/rewards/types" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/utils" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + rewardstypes "github.com/lavanet/lava/v3/x/rewards/types" + "github.com/lavanet/lava/v3/x/subscription/types" ) const LIMIT_TOKEN_PER_CU = 100 diff --git a/x/subscription/keeper/grpc_query.go b/x/subscription/keeper/grpc_query.go index f4875b1214..1abf00d8ed 100644 --- a/x/subscription/keeper/grpc_query.go +++ b/x/subscription/keeper/grpc_query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/x/subscription/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/subscription/keeper/grpc_query_current.go b/x/subscription/keeper/grpc_query_current.go index 664de98dbe..b757119c52 100644 --- a/x/subscription/keeper/grpc_query_current.go +++ b/x/subscription/keeper/grpc_query_current.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/x/subscription/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/subscription/keeper/grpc_query_estimated_rewards.go b/x/subscription/keeper/grpc_query_estimated_rewards.go index f6ce90aec5..2beabc3449 100644 --- a/x/subscription/keeper/grpc_query_estimated_rewards.go +++ b/x/subscription/keeper/grpc_query_estimated_rewards.go @@ -6,9 +6,9 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - rewardstypes "github.com/lavanet/lava/v2/x/rewards/types" - "github.com/lavanet/lava/v2/x/subscription/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + rewardstypes "github.com/lavanet/lava/v3/x/rewards/types" + "github.com/lavanet/lava/v3/x/subscription/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/subscription/keeper/grpc_query_estimated_validator_rewards.go b/x/subscription/keeper/grpc_query_estimated_validator_rewards.go index dd6a129e2b..7d65dfcedc 100644 --- a/x/subscription/keeper/grpc_query_estimated_validator_rewards.go +++ b/x/subscription/keeper/grpc_query_estimated_validator_rewards.go @@ -5,8 +5,8 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - rewardstypes "github.com/lavanet/lava/v2/x/rewards/types" - "github.com/lavanet/lava/v2/x/subscription/types" + rewardstypes "github.com/lavanet/lava/v3/x/rewards/types" + "github.com/lavanet/lava/v3/x/subscription/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/subscription/keeper/grpc_query_list.go b/x/subscription/keeper/grpc_query_list.go index 19e964c074..c1c86e458d 100644 --- a/x/subscription/keeper/grpc_query_list.go +++ b/x/subscription/keeper/grpc_query_list.go @@ -5,8 +5,8 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/subscription/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/subscription/keeper/grpc_query_list_projects.go b/x/subscription/keeper/grpc_query_list_projects.go index 9f47c1a0ba..d0cd8a5802 100644 --- a/x/subscription/keeper/grpc_query_list_projects.go +++ b/x/subscription/keeper/grpc_query_list_projects.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/subscription/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/subscription/keeper/grpc_query_next_to_month_expiry.go b/x/subscription/keeper/grpc_query_next_to_month_expiry.go index 123a185b0b..ede72c98d7 100644 --- a/x/subscription/keeper/grpc_query_next_to_month_expiry.go +++ b/x/subscription/keeper/grpc_query_next_to_month_expiry.go @@ -4,8 +4,8 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/subscription/types" - timertypes "github.com/lavanet/lava/v2/x/timerstore/types" + "github.com/lavanet/lava/v3/x/subscription/types" + timertypes "github.com/lavanet/lava/v3/x/timerstore/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/subscription/keeper/grpc_query_params.go b/x/subscription/keeper/grpc_query_params.go index 6d2b889d88..e6875cb943 100644 --- a/x/subscription/keeper/grpc_query_params.go +++ b/x/subscription/keeper/grpc_query_params.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/x/subscription/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/subscription/keeper/grpc_query_params_test.go b/x/subscription/keeper/grpc_query_params_test.go index 7ae96d8001..5aff504135 100644 --- a/x/subscription/keeper/grpc_query_params_test.go +++ b/x/subscription/keeper/grpc_query_params_test.go @@ -4,8 +4,8 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/subscription/types" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/subscription/types" "github.com/stretchr/testify/require" ) diff --git a/x/subscription/keeper/grpc_query_tracked_usage.go b/x/subscription/keeper/grpc_query_tracked_usage.go index 5312864f53..b9af85a727 100644 --- a/x/subscription/keeper/grpc_query_tracked_usage.go +++ b/x/subscription/keeper/grpc_query_tracked_usage.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/x/subscription/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/subscription/keeper/keeper.go b/x/subscription/keeper/keeper.go index fc4f538693..c583ed4c2b 100644 --- a/x/subscription/keeper/keeper.go +++ b/x/subscription/keeper/keeper.go @@ -10,9 +10,9 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - fixationtypes "github.com/lavanet/lava/v2/x/fixationstore/types" - "github.com/lavanet/lava/v2/x/subscription/types" - timerstoretypes "github.com/lavanet/lava/v2/x/timerstore/types" + fixationtypes "github.com/lavanet/lava/v3/x/fixationstore/types" + "github.com/lavanet/lava/v3/x/subscription/types" + timerstoretypes "github.com/lavanet/lava/v3/x/timerstore/types" ) type ( diff --git a/x/subscription/keeper/migrations.go b/x/subscription/keeper/migrations.go index ebe1532cfb..b3bc25d008 100644 --- a/x/subscription/keeper/migrations.go +++ b/x/subscription/keeper/migrations.go @@ -6,12 +6,12 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - v2 "github.com/lavanet/lava/v2/x/subscription/migrations/v2" - v5 "github.com/lavanet/lava/v2/x/subscription/migrations/v5" - v6 "github.com/lavanet/lava/v2/x/subscription/migrations/v6" - v8 "github.com/lavanet/lava/v2/x/subscription/migrations/v8" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/utils" + v2 "github.com/lavanet/lava/v3/x/subscription/migrations/v2" + v5 "github.com/lavanet/lava/v3/x/subscription/migrations/v5" + v6 "github.com/lavanet/lava/v3/x/subscription/migrations/v6" + v8 "github.com/lavanet/lava/v3/x/subscription/migrations/v8" + "github.com/lavanet/lava/v3/x/subscription/types" ) type Migrator struct { diff --git a/x/subscription/keeper/msg_server.go b/x/subscription/keeper/msg_server.go index 6244f433f9..4b033809aa 100644 --- a/x/subscription/keeper/msg_server.go +++ b/x/subscription/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/x/subscription/types" ) type msgServer struct { diff --git a/x/subscription/keeper/msg_server_add_project.go b/x/subscription/keeper/msg_server_add_project.go index 0e89ec3a31..fba236ccf5 100644 --- a/x/subscription/keeper/msg_server_add_project.go +++ b/x/subscription/keeper/msg_server_add_project.go @@ -5,9 +5,9 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - projectstypes "github.com/lavanet/lava/v2/x/projects/types" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/utils" + projectstypes "github.com/lavanet/lava/v3/x/projects/types" + "github.com/lavanet/lava/v3/x/subscription/types" ) func (k msgServer) AddProject(goCtx context.Context, msg *types.MsgAddProject) (*types.MsgAddProjectResponse, error) { diff --git a/x/subscription/keeper/msg_server_auto_renewal.go b/x/subscription/keeper/msg_server_auto_renewal.go index e6a6d8a281..a399da62fd 100644 --- a/x/subscription/keeper/msg_server_auto_renewal.go +++ b/x/subscription/keeper/msg_server_auto_renewal.go @@ -6,9 +6,9 @@ import ( "strings" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/lavaslices" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/lavaslices" + "github.com/lavanet/lava/v3/x/subscription/types" ) func (k msgServer) AutoRenewal(goCtx context.Context, msg *types.MsgAutoRenewal) (*types.MsgAutoRenewalResponse, error) { diff --git a/x/subscription/keeper/msg_server_buy.go b/x/subscription/keeper/msg_server_buy.go index 030d34a46d..36d8324d13 100644 --- a/x/subscription/keeper/msg_server_buy.go +++ b/x/subscription/keeper/msg_server_buy.go @@ -6,8 +6,8 @@ import ( "strconv" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/subscription/types" ) func (k msgServer) Buy(goCtx context.Context, msg *types.MsgBuy) (*types.MsgBuyResponse, error) { diff --git a/x/subscription/keeper/msg_server_del_project.go b/x/subscription/keeper/msg_server_del_project.go index f6173de95a..33012a6fbb 100644 --- a/x/subscription/keeper/msg_server_del_project.go +++ b/x/subscription/keeper/msg_server_del_project.go @@ -4,8 +4,8 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/x/subscription/types" ) func (k msgServer) DelProject(goCtx context.Context, msg *types.MsgDelProject) (*types.MsgDelProjectResponse, error) { diff --git a/x/subscription/keeper/msg_server_test.go b/x/subscription/keeper/msg_server_test.go index 6a0c71d913..3b91e5fdac 100644 --- a/x/subscription/keeper/msg_server_test.go +++ b/x/subscription/keeper/msg_server_test.go @@ -5,9 +5,9 @@ import ( "testing" sdk "github.com/cosmos/cosmos-sdk/types" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/subscription/keeper" - "github.com/lavanet/lava/v2/x/subscription/types" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/subscription/keeper" + "github.com/lavanet/lava/v3/x/subscription/types" ) func setupMsgServer(t testing.TB) (types.MsgServer, context.Context) { diff --git a/x/subscription/keeper/params.go b/x/subscription/keeper/params.go index bc6bb0b36a..3fe927cdd0 100644 --- a/x/subscription/keeper/params.go +++ b/x/subscription/keeper/params.go @@ -2,7 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/x/subscription/types" ) // GetParams get all parameters as types.Params diff --git a/x/subscription/keeper/params_test.go b/x/subscription/keeper/params_test.go index c562fdcd56..c6b94af34a 100644 --- a/x/subscription/keeper/params_test.go +++ b/x/subscription/keeper/params_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - testkeeper "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/x/subscription/types" + testkeeper "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/x/subscription/types" "github.com/stretchr/testify/require" ) diff --git a/x/subscription/keeper/subscription.go b/x/subscription/keeper/subscription.go index e2de43731c..7a8a04d3f9 100644 --- a/x/subscription/keeper/subscription.go +++ b/x/subscription/keeper/subscription.go @@ -8,11 +8,11 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/utils" - "github.com/lavanet/lava/v2/utils/lavaslices" - planstypes "github.com/lavanet/lava/v2/x/plans/types" - projectstypes "github.com/lavanet/lava/v2/x/projects/types" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/utils" + "github.com/lavanet/lava/v3/utils/lavaslices" + planstypes "github.com/lavanet/lava/v3/x/plans/types" + projectstypes "github.com/lavanet/lava/v3/x/projects/types" + "github.com/lavanet/lava/v3/x/subscription/types" ) // GetSubscription returns the subscription of a given consumer diff --git a/x/subscription/keeper/subscription_test.go b/x/subscription/keeper/subscription_test.go index b7bb2ffb14..59995a4e92 100644 --- a/x/subscription/keeper/subscription_test.go +++ b/x/subscription/keeper/subscription_test.go @@ -8,15 +8,15 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/testutil/common" - keepertest "github.com/lavanet/lava/v2/testutil/keeper" - "github.com/lavanet/lava/v2/utils" - commontypes "github.com/lavanet/lava/v2/utils/common/types" - "github.com/lavanet/lava/v2/utils/sigs" - pairingtypes "github.com/lavanet/lava/v2/x/pairing/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" - projectstypes "github.com/lavanet/lava/v2/x/projects/types" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/testutil/common" + keepertest "github.com/lavanet/lava/v3/testutil/keeper" + "github.com/lavanet/lava/v3/utils" + commontypes "github.com/lavanet/lava/v3/utils/common/types" + "github.com/lavanet/lava/v3/utils/sigs" + pairingtypes "github.com/lavanet/lava/v3/x/pairing/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" + projectstypes "github.com/lavanet/lava/v3/x/projects/types" + "github.com/lavanet/lava/v3/x/subscription/types" "github.com/stretchr/testify/require" ) diff --git a/x/subscription/module.go b/x/subscription/module.go index 1d02c88e80..890f3a9ece 100644 --- a/x/subscription/module.go +++ b/x/subscription/module.go @@ -18,9 +18,9 @@ import ( cdctypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/lavanet/lava/v2/x/subscription/client/cli" - "github.com/lavanet/lava/v2/x/subscription/keeper" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/x/subscription/client/cli" + "github.com/lavanet/lava/v3/x/subscription/keeper" + "github.com/lavanet/lava/v3/x/subscription/types" ) var ( diff --git a/x/subscription/module_simulation.go b/x/subscription/module_simulation.go index 2c28a6afe3..e36b975910 100644 --- a/x/subscription/module_simulation.go +++ b/x/subscription/module_simulation.go @@ -10,9 +10,9 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/lavanet/lava/v2/testutil/sample" - subscriptionsimulation "github.com/lavanet/lava/v2/x/subscription/simulation" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/testutil/sample" + subscriptionsimulation "github.com/lavanet/lava/v3/x/subscription/simulation" + "github.com/lavanet/lava/v3/x/subscription/types" ) // avoid unused import issue diff --git a/x/subscription/simulation/add_project.go b/x/subscription/simulation/add_project.go index 680e714f31..fb30603637 100644 --- a/x/subscription/simulation/add_project.go +++ b/x/subscription/simulation/add_project.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/lavanet/lava/v2/x/subscription/keeper" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/x/subscription/keeper" + "github.com/lavanet/lava/v3/x/subscription/types" ) func SimulateMsgAddProject( diff --git a/x/subscription/simulation/auto_renewal.go b/x/subscription/simulation/auto_renewal.go index ddacdfad39..e4fb430944 100644 --- a/x/subscription/simulation/auto_renewal.go +++ b/x/subscription/simulation/auto_renewal.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/lavanet/lava/v2/x/subscription/keeper" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/x/subscription/keeper" + "github.com/lavanet/lava/v3/x/subscription/types" ) func SimulateMsgAutoRenewal( diff --git a/x/subscription/simulation/buy.go b/x/subscription/simulation/buy.go index d9ea211016..d67915c3f8 100644 --- a/x/subscription/simulation/buy.go +++ b/x/subscription/simulation/buy.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/lavanet/lava/v2/x/subscription/keeper" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/x/subscription/keeper" + "github.com/lavanet/lava/v3/x/subscription/types" ) func SimulateMsgBuy( diff --git a/x/subscription/simulation/del_project.go b/x/subscription/simulation/del_project.go index bf98f95019..8864ae934d 100644 --- a/x/subscription/simulation/del_project.go +++ b/x/subscription/simulation/del_project.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/lavanet/lava/v2/x/subscription/keeper" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/x/subscription/keeper" + "github.com/lavanet/lava/v3/x/subscription/types" ) func SimulateMsgDelProject( diff --git a/x/subscription/types/expected_keepers.go b/x/subscription/types/expected_keepers.go index ec6e3cb6d4..264fe6f6d1 100644 --- a/x/subscription/types/expected_keepers.go +++ b/x/subscription/types/expected_keepers.go @@ -6,13 +6,13 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - dualstakingtypes "github.com/lavanet/lava/v2/x/dualstaking/types" - epochstoragetypes "github.com/lavanet/lava/v2/x/epochstorage/types" - fixationtypes "github.com/lavanet/lava/v2/x/fixationstore/types" - planstypes "github.com/lavanet/lava/v2/x/plans/types" - projectstypes "github.com/lavanet/lava/v2/x/projects/types" - rewardstypes "github.com/lavanet/lava/v2/x/rewards/types" - timerstoretypes "github.com/lavanet/lava/v2/x/timerstore/types" + dualstakingtypes "github.com/lavanet/lava/v3/x/dualstaking/types" + epochstoragetypes "github.com/lavanet/lava/v3/x/epochstorage/types" + fixationtypes "github.com/lavanet/lava/v3/x/fixationstore/types" + planstypes "github.com/lavanet/lava/v3/x/plans/types" + projectstypes "github.com/lavanet/lava/v3/x/projects/types" + rewardstypes "github.com/lavanet/lava/v3/x/rewards/types" + timerstoretypes "github.com/lavanet/lava/v3/x/timerstore/types" ) // AccountKeeper defines the expected account keeper used for simulations (noalias) diff --git a/x/subscription/types/genesis.go b/x/subscription/types/genesis.go index 5ebeef2a4f..07d1f5901d 100644 --- a/x/subscription/types/genesis.go +++ b/x/subscription/types/genesis.go @@ -1,8 +1,8 @@ package types import ( - fixationstoretypes "github.com/lavanet/lava/v2/x/fixationstore/types" - timerstoretypes "github.com/lavanet/lava/v2/x/timerstore/types" + fixationstoretypes "github.com/lavanet/lava/v3/x/fixationstore/types" + timerstoretypes "github.com/lavanet/lava/v3/x/timerstore/types" ) // this line is used by starport scaffolding # genesis/types/import diff --git a/x/subscription/types/genesis.pb.go b/x/subscription/types/genesis.pb.go index 9eabf776df..628a4f49f3 100644 --- a/x/subscription/types/genesis.pb.go +++ b/x/subscription/types/genesis.pb.go @@ -7,8 +7,8 @@ import ( fmt "fmt" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" - types "github.com/lavanet/lava/v2/x/fixationstore/types" - types1 "github.com/lavanet/lava/v2/x/timerstore/types" + types "github.com/lavanet/lava/v3/x/fixationstore/types" + types1 "github.com/lavanet/lava/v3/x/timerstore/types" io "io" math "math" math_bits "math/bits" diff --git a/x/subscription/types/genesis_test.go b/x/subscription/types/genesis_test.go index 74cecd15ca..4e6ad883bb 100644 --- a/x/subscription/types/genesis_test.go +++ b/x/subscription/types/genesis_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "github.com/lavanet/lava/v2/x/subscription/types" + "github.com/lavanet/lava/v3/x/subscription/types" "github.com/stretchr/testify/require" ) diff --git a/x/subscription/types/message_add_project.go b/x/subscription/types/message_add_project.go index 0143695a33..bbb3a4f6b1 100644 --- a/x/subscription/types/message_add_project.go +++ b/x/subscription/types/message_add_project.go @@ -4,7 +4,7 @@ import ( sdkerrors "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - projectstypes "github.com/lavanet/lava/v2/x/projects/types" + projectstypes "github.com/lavanet/lava/v3/x/projects/types" ) const TypeMsgAddProject = "add_project" diff --git a/x/subscription/types/message_add_project_test.go b/x/subscription/types/message_add_project_test.go index aafdb83f1a..c17851199a 100644 --- a/x/subscription/types/message_add_project_test.go +++ b/x/subscription/types/message_add_project_test.go @@ -4,9 +4,9 @@ import ( "testing" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/testutil/sample" - planstypes "github.com/lavanet/lava/v2/x/plans/types" - projectstypes "github.com/lavanet/lava/v2/x/projects/types" + "github.com/lavanet/lava/v3/testutil/sample" + planstypes "github.com/lavanet/lava/v3/x/plans/types" + projectstypes "github.com/lavanet/lava/v3/x/projects/types" "github.com/stretchr/testify/require" ) diff --git a/x/subscription/types/message_auto_renewal_test.go b/x/subscription/types/message_auto_renewal_test.go index e54a1c8547..cbe6a371fc 100644 --- a/x/subscription/types/message_auto_renewal_test.go +++ b/x/subscription/types/message_auto_renewal_test.go @@ -4,7 +4,7 @@ import ( "testing" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/testutil/sample" + "github.com/lavanet/lava/v3/testutil/sample" "github.com/stretchr/testify/require" ) diff --git a/x/subscription/types/message_buy_test.go b/x/subscription/types/message_buy_test.go index d78a7147a9..14c10a4443 100644 --- a/x/subscription/types/message_buy_test.go +++ b/x/subscription/types/message_buy_test.go @@ -4,7 +4,7 @@ import ( "testing" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/testutil/sample" + "github.com/lavanet/lava/v3/testutil/sample" "github.com/stretchr/testify/require" ) diff --git a/x/subscription/types/message_del_project_test.go b/x/subscription/types/message_del_project_test.go index 0e23635dae..7e08bb1e00 100644 --- a/x/subscription/types/message_del_project_test.go +++ b/x/subscription/types/message_del_project_test.go @@ -4,7 +4,7 @@ import ( "testing" legacyerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/lavanet/lava/v2/testutil/sample" + "github.com/lavanet/lava/v3/testutil/sample" "github.com/stretchr/testify/require" ) diff --git a/x/subscription/types/tx.pb.go b/x/subscription/types/tx.pb.go index 7b05cfadf2..2394393105 100644 --- a/x/subscription/types/tx.pb.go +++ b/x/subscription/types/tx.pb.go @@ -10,7 +10,7 @@ import ( _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" - types "github.com/lavanet/lava/v2/x/projects/types" + types "github.com/lavanet/lava/v3/x/projects/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/timerstore/client/cli/query.go b/x/timerstore/client/cli/query.go index 06602296e2..e779583f95 100644 --- a/x/timerstore/client/cli/query.go +++ b/x/timerstore/client/cli/query.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/cosmos/cosmos-sdk/client" - "github.com/lavanet/lava/v2/x/timerstore/types" + "github.com/lavanet/lava/v3/x/timerstore/types" "github.com/spf13/cobra" ) diff --git a/x/timerstore/client/cli/query_all_timers.go b/x/timerstore/client/cli/query_all_timers.go index 75a8cab925..26e89e2c38 100644 --- a/x/timerstore/client/cli/query_all_timers.go +++ b/x/timerstore/client/cli/query_all_timers.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/timerstore/types" + "github.com/lavanet/lava/v3/x/timerstore/types" "github.com/spf13/cobra" ) diff --git a/x/timerstore/client/cli/query_next.go b/x/timerstore/client/cli/query_next.go index abe4508d09..0b9b6830d1 100644 --- a/x/timerstore/client/cli/query_next.go +++ b/x/timerstore/client/cli/query_next.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/timerstore/types" + "github.com/lavanet/lava/v3/x/timerstore/types" "github.com/spf13/cobra" ) diff --git a/x/timerstore/client/cli/query_store_keys.go b/x/timerstore/client/cli/query_store_keys.go index defa2e6133..397fc1f66c 100644 --- a/x/timerstore/client/cli/query_store_keys.go +++ b/x/timerstore/client/cli/query_store_keys.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/lavanet/lava/v2/x/timerstore/types" + "github.com/lavanet/lava/v3/x/timerstore/types" "github.com/spf13/cobra" ) diff --git a/x/timerstore/keeper/grpc_query_all_timers.go b/x/timerstore/keeper/grpc_query_all_timers.go index 6cbcef6ae0..cd5e1a61e4 100644 --- a/x/timerstore/keeper/grpc_query_all_timers.go +++ b/x/timerstore/keeper/grpc_query_all_timers.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/lavanet/lava/v2/x/timerstore/types" + "github.com/lavanet/lava/v3/x/timerstore/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/timerstore/keeper/grpc_query_next.go b/x/timerstore/keeper/grpc_query_next.go index f2a5fc3f87..a8753db700 100644 --- a/x/timerstore/keeper/grpc_query_next.go +++ b/x/timerstore/keeper/grpc_query_next.go @@ -5,8 +5,8 @@ import ( "math" sdk "github.com/cosmos/cosmos-sdk/types" - commontypes "github.com/lavanet/lava/v2/utils/common/types" - "github.com/lavanet/lava/v2/x/timerstore/types" + commontypes "github.com/lavanet/lava/v3/utils/common/types" + "github.com/lavanet/lava/v3/x/timerstore/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/timerstore/keeper/grpc_query_store_keys.go b/x/timerstore/keeper/grpc_query_store_keys.go index 9153a7bfe9..3a1c213fec 100644 --- a/x/timerstore/keeper/grpc_query_store_keys.go +++ b/x/timerstore/keeper/grpc_query_store_keys.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "github.com/lavanet/lava/v2/x/timerstore/types" + "github.com/lavanet/lava/v3/x/timerstore/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/timerstore/keeper/keeper.go b/x/timerstore/keeper/keeper.go index 158872f789..ac7386f019 100644 --- a/x/timerstore/keeper/keeper.go +++ b/x/timerstore/keeper/keeper.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - timerstoretypes "github.com/lavanet/lava/v2/x/timerstore/types" + timerstoretypes "github.com/lavanet/lava/v3/x/timerstore/types" ) func NewKeeper(cdc codec.BinaryCodec) *Keeper { diff --git a/x/timerstore/module.go b/x/timerstore/module.go index 7234bf857e..2fc0ae3190 100644 --- a/x/timerstore/module.go +++ b/x/timerstore/module.go @@ -8,9 +8,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" "github.com/grpc-ecosystem/grpc-gateway/runtime" - "github.com/lavanet/lava/v2/x/timerstore/client/cli" - timerstorekeeper "github.com/lavanet/lava/v2/x/timerstore/keeper" - "github.com/lavanet/lava/v2/x/timerstore/types" + "github.com/lavanet/lava/v3/x/timerstore/client/cli" + timerstorekeeper "github.com/lavanet/lava/v3/x/timerstore/keeper" + "github.com/lavanet/lava/v3/x/timerstore/types" "github.com/spf13/cobra" ) diff --git a/x/timerstore/types/timer.go b/x/timerstore/types/timer.go index d1498009dc..b4f0a66678 100644 --- a/x/timerstore/types/timer.go +++ b/x/timerstore/types/timer.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - commontypes "github.com/lavanet/lava/v2/utils/common/types" + commontypes "github.com/lavanet/lava/v3/utils/common/types" ) // TimerStore manages timers to efficiently support future timeouts. Timeouts