diff --git a/block/block.go b/block/block.go index aebce47c5..2785d7719 100644 --- a/block/block.go +++ b/block/block.go @@ -59,9 +59,7 @@ func (m *Manager) applyBlock(block *types.Block, commit *types.Commit, blockMeta } // Get the validator changes from the app - // Dymint ignores any setValidator responses from the app, as it is manages the validator set based on the settlement consensus - // TODO: this will be changed when supporting multiple sequencers from the hub - validators := m.State.NextValidators.Copy() + validators := m.State.NextValidators.Copy() // TODO: this will be changed when supporting multiple sequencers from the hub dbBatch, err = m.Store.SaveValidators(block.Header.Height, validators, dbBatch) if err != nil { diff --git a/block/executor_test.go b/block/executor_test.go index b1620e528..fe675aa98 100644 --- a/block/executor_test.go +++ b/block/executor_test.go @@ -232,9 +232,7 @@ func TestApplyBlock(t *testing.T) { resp, err = executor.ExecuteBlock(state, block) require.NoError(err) require.NotNil(resp) - // Dymint ignores any setValidator responses from the app, as it is manages the validator set based on the settlement consensus - // TODO: this will be changed when supporting multiple sequencers from the hub - vals := state.NextValidators.Copy() + vals := state.NextValidators.Copy() // TODO: this will be changed when supporting multiple sequencers from the hub _, _, err = executor.Commit(state, block, resp) require.NoError(err) executor.UpdateStateAfterCommit(state, resp, appHash, block.Header.Height, vals)