forked from TrueCloudLab/frostfs-contract
[#139] nns: require admin signature for registering subdomain
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
e0dbd07f21
commit
552def9322
3 changed files with 14 additions and 3 deletions
|
@ -136,7 +136,7 @@ func TestContainerPut(t *testing.T) {
|
|||
c.id = sha256.Sum256(c.value)
|
||||
|
||||
t.Run("bad domain owner", func(t *testing.T) {
|
||||
tx = PrepareInvoke(t, bc, acc, nnsHash, "register",
|
||||
tx = PrepareInvoke(t, bc, []*wallet.Account{acc, CommitteeAcc}, nnsHash, "register",
|
||||
"baddomain.neofs", acc.Contract.ScriptHash(),
|
||||
"whateveriwant@world.com", int64(0), int64(0), int64(0), int64(0))
|
||||
AddBlockCheckHalt(t, bc, tx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue