auth check tokens instead of effect validator
This commit is contained in:
parent
b6f5574285
commit
6b8efdc364
10 changed files with 503 additions and 410 deletions
|
|
@ -71,6 +71,12 @@ specs =
|
|||
()
|
||||
SpendTreasuryGAT
|
||||
validCtx
|
||||
, validatorSucceedsWith
|
||||
"Fails when GAT token name is not script address"
|
||||
compiledTreasuryValidator
|
||||
()
|
||||
SpendTreasuryGAT
|
||||
trCtxGATNameNotAddress
|
||||
]
|
||||
, group
|
||||
"Negative"
|
||||
|
|
@ -121,12 +127,6 @@ specs =
|
|||
(-2)
|
||||
}
|
||||
}
|
||||
, validatorFailsWith
|
||||
"Fails when GAT token name is not script address"
|
||||
compiledTreasuryValidator
|
||||
()
|
||||
SpendTreasuryGAT
|
||||
trCtxGATNameNotAddress
|
||||
, validatorFailsWith
|
||||
"Fails with wallet as input"
|
||||
compiledTreasuryValidator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue