[#1959] neofs-adm: Verify blocks and transactions in tests
Also update to the actual contracts version. Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
parent
926830bb9c
commit
2484c1d35e
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,7 @@ func TestInitialize(t *testing.T) {
|
||||||
// It is here for performing local testing after the changes.
|
// It is here for performing local testing after the changes.
|
||||||
t.Skip()
|
t.Skip()
|
||||||
|
|
||||||
const contractsPath = "../../../../../../neofs-contract/neofs-contract-v0.15.2.tar.gz"
|
const contractsPath = "../../../../../../neofs-contract/neofs-contract-v0.16.0.tar.gz"
|
||||||
const committeeSize = 7
|
const committeeSize = 7
|
||||||
const validatorCount = committeeSize
|
const validatorCount = committeeSize
|
||||||
|
|
||||||
|
@ -51,6 +51,7 @@ func TestInitialize(t *testing.T) {
|
||||||
cfg.ProtocolConfiguration.SecondsPerBlock = 1
|
cfg.ProtocolConfiguration.SecondsPerBlock = 1
|
||||||
cfg.ProtocolConfiguration.StandbyCommittee = pubs // sorted by glagolic letters
|
cfg.ProtocolConfiguration.StandbyCommittee = pubs // sorted by glagolic letters
|
||||||
cfg.ProtocolConfiguration.P2PSigExtensions = true
|
cfg.ProtocolConfiguration.P2PSigExtensions = true
|
||||||
|
cfg.ProtocolConfiguration.VerifyTransactions = true
|
||||||
data, err := yaml.Marshal(cfg)
|
data, err := yaml.Marshal(cfg)
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue