Skip to content

Commit

Permalink
Added TODOs in slashing.go
Browse files Browse the repository at this point in the history
  • Loading branch information
kirdatatjana committed Oct 3, 2024
1 parent 48e5f62 commit 5f1b1fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/integration/slashing.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ func (suite *CCVTestSuite) TestHandleSlashPacketDowntime() {
// * After the correct channelID is added to the packet, a panic shouldn't occur anymore.
// * Create an instance of SlashPacketData and then verify correct processing and error handling
// for slashing packets received by the provider chain.
// TODO: Move to unit tests.
func (suite *CCVTestSuite) TestOnRecvSlashPacketErrors() {
providerKeeper := suite.providerApp.GetProviderKeeper()
firstBundle := suite.getFirstBundle()
Expand Down Expand Up @@ -507,6 +508,7 @@ func (suite *CCVTestSuite) TestValidatorDowntime() {
// * Send the slash packets and check that the outstanding downtime flags are correctly set for validators that were slashed
// for downtime infractions.
// * Ensure that the pending data packets queue is empty.
// TODO: Move to unit tests.
func (suite *CCVTestSuite) TestQueueAndSendSlashPacket() {
suite.SetupCCVChannel(suite.path)

Expand Down

0 comments on commit 5f1b1fe

Please sign in to comment.