neotest: allow to use 6-node committee

Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgeniy Stratonikov 2021-11-03 15:28:29 +03:00
parent bef2a6f7ae
commit 79a48a7800
4 changed files with 145 additions and 6 deletions

View file

@ -35,8 +35,8 @@ type Executor struct {
// NewExecutor creates new executor instance from provided blockchain and committee.
func NewExecutor(t *testing.T, bc blockchainer.Blockchainer, validator, committee Signer) *Executor {
require.Equal(t, 1, len(bc.GetConfig().StandbyCommittee))
require.IsType(t, multiSigner{}, committee, "committee must be a multi-signer")
checkMultiSigner(t, validator)
checkMultiSigner(t, committee)
return &Executor{
Chain: bc,