diff --git a/protocol/monitoring/health.go b/protocol/monitoring/health.go index e801b9bdf..e0d564e34 100644 --- a/protocol/monitoring/health.go +++ b/protocol/monitoring/health.go @@ -171,14 +171,14 @@ func RunHealth(ctx context.Context, delegations := response.GetDelegations() for _, delegation := range delegations { if delegation.Provider == providerAddress { - healthResults.setSpec(&spectypes.Spec{Index: delegation.ChainID}) - for _, apiInterface := range chainIdToApiInterfaces[delegation.ChainID] { - healthResults.SetProviderData(LavaEntity{ - Address: providerAddress, - SpecId: delegation.ChainID, - ApiInterface: apiInterface, - }, ReplyData{}) - } + // healthResults.setSpec(&spectypes.Spec{Index: delegation.ChainID}) // fix yarom + // for _, apiInterface := range chainIdToApiInterfaces[delegation.ChainID] { + // healthResults.SetProviderData(LavaEntity{ + // Address: providerAddress, + // SpecId: delegation.ChainID, + // ApiInterface: apiInterface, + // }, ReplyData{}) + // } } } return diff --git a/x/pairing/client/cli/tx.go b/x/pairing/client/cli/tx.go index 4ee4bb6fd..efbd6c419 100644 --- a/x/pairing/client/cli/tx.go +++ b/x/pairing/client/cli/tx.go @@ -134,12 +134,12 @@ func NewSubmitUnstakeProposalTxCmd() *cobra.Command { content.ProvidersInfo = []types.ProviderUnstakeInfo{{Provider: providerEntry.Address, ChainId: providerEntry.Chain}} content.DelegatorsSlashing = []types.DelegatorSlashing{} for _, delegator := range delegators.Delegations { - if delegator.ChainID == providerEntry.Chain { - content.DelegatorsSlashing = append(content.DelegatorsSlashing, types.DelegatorSlashing{ - Delegator: delegator.Delegator, - SlashingAmount: sdk.NewCoin(commontypes.TokenDenom, delegator.Amount.Amount.MulRaw(int64(slashfactor)).QuoRaw(100)), - }) - } + // if delegator.ChainID == providerEntry.Chain { // fix yarom + content.DelegatorsSlashing = append(content.DelegatorsSlashing, types.DelegatorSlashing{ + Delegator: delegator.Delegator, + SlashingAmount: sdk.NewCoin(commontypes.TokenDenom, delegator.Amount.Amount.MulRaw(int64(slashfactor)).QuoRaw(100)), + }) + // } } }