Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oren-lava committed Jan 22, 2025
1 parent e7ae90e commit a236ca5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion protocol/lavaprotocol/request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func ConstructRelaySession(lavaChainID string, relayRequestData *pairingtypes.Re
}

copiedQOS := copyQoSServiceReport(singleConsumerSession.QoSInfo.LastQoSReport)
copiedExcellenceQOS := copyQoSServiceReport(singleConsumerSession.QoSInfo.LastExcellenceQoSReportRaw) // copy raw report for the node
copiedExcellenceQOS := copyQoSServiceReport(singleConsumerSession.QoSInfo.LastExcellenceQoSReport)

return &pairingtypes.RelaySession{
SpecId: chainID,
Expand Down
15 changes: 7 additions & 8 deletions protocol/lavasession/consumer_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,13 @@ type ignoredProviders struct {
}

type QoSReport struct {
LastQoSReport *pairingtypes.QualityOfServiceReport
LastExcellenceQoSReport *pairingtypes.QualityOfServiceReport
LastExcellenceQoSReportRaw *pairingtypes.QualityOfServiceReport
LatencyScoreList []sdk.Dec
SyncScoreSum int64
TotalSyncScore int64
TotalRelays uint64
AnsweredRelays uint64
LastQoSReport *pairingtypes.QualityOfServiceReport
LastExcellenceQoSReport *pairingtypes.QualityOfServiceReport
LatencyScoreList []sdk.Dec
SyncScoreSum int64
TotalSyncScore int64
TotalRelays uint64
AnsweredRelays uint64
}

type DataReliabilitySession struct {
Expand Down

0 comments on commit a236ca5

Please sign in to comment.