fix the test
This commit is contained in:
parent
897a678fc0
commit
5f43cb990f
5 changed files with 227 additions and 309 deletions
|
|
@ -58,6 +58,7 @@ module Sample.Shared (
|
|||
mockTrEffect,
|
||||
mockTrEffectHash,
|
||||
trValidator,
|
||||
trScriptHash,
|
||||
trCredential,
|
||||
wrongEffHash,
|
||||
) where
|
||||
|
|
@ -276,9 +277,12 @@ gatCs = authorityTokenSymbol
|
|||
trValidator :: Script
|
||||
trValidator = agoraScripts ! "agora:treasuryValidator"
|
||||
|
||||
trScriptHash :: ScriptHash
|
||||
trScriptHash = scriptHash trValidator
|
||||
|
||||
-- | `ScriptCredential` used for the dummy treasury validator.
|
||||
trCredential :: Credential
|
||||
trCredential = ScriptCredential $ scriptHash trValidator
|
||||
trCredential = ScriptCredential trScriptHash
|
||||
|
||||
-- | `TokenName` for GAT generated from address of `mockTrEffect`.
|
||||
gatTn :: TokenName
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue