Skip to content

Fix!: SlashAcks api change #3497

Fix!: SlashAcks api change

Fix!: SlashAcks api change #3497

Triggered via pull request July 26, 2023 13:27
Status Failure
Total duration 1m 14s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
SonarCloud: x/ccv/provider/keeper/genesis.go#L69
cannot use cs.SlashDowntimeAck (variable of type []string) as []"github.com/cosmos/interchain-security/v3/x/ccv/provider/types".ConsumerConsAddress value in argument to k.SetSlashAcks
SonarCloud: x/ccv/provider/keeper/relay.go#L259
cannot use k.ConsumeSlashAcks(ctx, chain.ChainId) (value of type []"github.com/cosmos/interchain-security/v3/x/ccv/provider/types".ConsumerConsAddress) as []string value in argument to ccv.NewValidatorSetChangePacketData
SonarCloud: x/ccv/provider/keeper/relay.go#L456
cannot use consumerConsAddr.String() (value of type string) as "github.com/cosmos/interchain-security/v3/x/ccv/provider/types".ConsumerConsAddress value in argument to k.AppendSlashAck
SonarCloud
Process completed with exit code 1.