diff --git a/block/block.go b/block/block.go index 2a35b8e81..aebce47c5 100644 --- a/block/block.go +++ b/block/block.go @@ -62,9 +62,6 @@ func (m *Manager) applyBlock(block *types.Block, commit *types.Commit, blockMeta // 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() - if err != nil { - return fmt.Errorf("update state from responses: %w", err) - } 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 7495a4953..b1620e528 100644 --- a/block/executor_test.go +++ b/block/executor_test.go @@ -235,7 +235,6 @@ func TestApplyBlock(t *testing.T) { // 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() - require.NoError(err) _, _, err = executor.Commit(state, block, resp) require.NoError(err) executor.UpdateStateAfterCommit(state, resp, appHash, block.Header.Height, vals)