neotest: allow to use 6-node committee
Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
bef2a6f7ae
commit
79a48a7800
4 changed files with 145 additions and 6 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue