Skip to content

Commit

Permalink
Remove unused index
Browse files Browse the repository at this point in the history
  • Loading branch information
p-offtermatt committed Dec 11, 2023
1 parent e52d186 commit b74a09f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/mbt/driver/mbt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ func RunItfTrace(t *testing.T, path string) {
require.Equal(t, modelRunningConsumers, actualRunningConsumers, "Running consumers do not match")

// check validator sets - provider current validator set should be the one from the staking keeper
CompareValidatorSets(t, driver, currentModelState, actualRunningConsumers, index)
CompareValidatorSets(t, driver, currentModelState, actualRunningConsumers)

// check times - sanity check that the block times match the ones from the model
CompareTimes(driver, actualRunningConsumers, currentModelState, timeOffset)
Expand All @@ -381,7 +381,7 @@ func RunItfTrace(t *testing.T, path string) {
t.Log("🟢 Trace is ok!")
}

func CompareValidatorSets(t *testing.T, driver *Driver, currentModelState map[string]itf.Expr, consumers []string, index int) {
func CompareValidatorSets(t *testing.T, driver *Driver, currentModelState map[string]itf.Expr, consumers []string) {
t.Helper()
modelValSet := ValidatorSet(currentModelState, "provider")
curValSet := driver.providerValidatorSet()
Expand Down

0 comments on commit b74a09f

Please sign in to comment.