use liqwid-nix 2.0
This commit is contained in:
parent
b6ab3762ce
commit
7e628328da
35 changed files with 458 additions and 564 deletions
|
|
@ -21,11 +21,12 @@ Tests need to fail when:
|
|||
-}
|
||||
module Spec.Treasury (specs) where
|
||||
|
||||
import Plutarch.Script (Script)
|
||||
import PlutusLedgerApi.V1.Credential (
|
||||
StakingCredential (StakingHash),
|
||||
)
|
||||
import PlutusLedgerApi.V1.Value qualified as Value (singleton)
|
||||
import PlutusLedgerApi.V2 (DCert (DCertDelegRegKey), Validator)
|
||||
import PlutusLedgerApi.V2 (DCert (DCertDelegRegKey))
|
||||
import PlutusLedgerApi.V2.Contexts (
|
||||
ScriptContext (scriptContextPurpose, scriptContextTxInfo),
|
||||
ScriptPurpose (Certifying, Minting, Rewarding),
|
||||
|
|
@ -46,7 +47,7 @@ import Test.Specification (
|
|||
validatorSucceedsWith,
|
||||
)
|
||||
|
||||
compiledTreasuryValidator :: Validator
|
||||
compiledTreasuryValidator :: Script
|
||||
compiledTreasuryValidator = trValidator
|
||||
|
||||
specs :: [SpecificationTree]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue