add tests for governor mutation
This commit is contained in:
parent
558313e213
commit
fa25ca21a2
6 changed files with 329 additions and 64 deletions
|
|
@ -593,7 +593,10 @@ governorValidator gov =
|
|||
|
||||
Just MutateGovernor -> unTermCont $ do
|
||||
-- Check that a GAT is burnt.
|
||||
pure $ popaque $ singleAuthorityTokenBurned patSymbol txInfoF.inputs txInfoF.mint
|
||||
pguardC "One valid GAT burnt" $
|
||||
singleAuthorityTokenBurned patSymbol txInfoF.inputs txInfoF.mint
|
||||
|
||||
pure $ popaque $ pconstant ()
|
||||
|
||||
--------------------------------------------------------------------------
|
||||
Nothing -> ptraceError "Unknown redeemer"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue