consensus: update state machine to uset the new consensus params

This commit is contained in:
William Banfield
2022-03-21 18:37:13 -04:00
parent e2fc50ec9f
commit 384f86d80b
13 changed files with 126 additions and 110 deletions

View File

@@ -751,7 +751,7 @@ func loadStatefromGenesis(ctx context.Context, t *testing.T) sm.State {
require.True(t, loadedState.IsEmpty())
valSet, _ := factory.ValidatorSet(ctx, t, 0, 10)
genDoc := factory.GenesisDoc(cfg, time.Now(), valSet.Validators, nil)
genDoc := factory.GenesisDoc(cfg, time.Now(), valSet.Validators, factory.ConsensusParams())
state, err := loadStateFromDBOrGenesisDocProvider(
stateStore,