run formatter and linter

This commit is contained in:
fanghr 2022-05-03 18:51:30 +08:00
parent 473deeb08f
commit 41da2dd534
No known key found for this signature in database
GPG key ID: 35CD9A71CD5D5870
3 changed files with 12 additions and 12 deletions

View file

@ -158,7 +158,7 @@ proposalCreation =
---
ownInputRef :: TxOutRef
ownInputRef = (TxOutRef "4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865" 1)
ownInputRef = TxOutRef "4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865" 1
in ScriptContext
{ scriptContextTxInfo =
TxInfo
@ -306,7 +306,7 @@ mintGAT =
--
ownInputRef :: TxOutRef
ownInputRef = (TxOutRef "4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865" 1)
ownInputRef = TxOutRef "4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865" 1
in ScriptContext
{ scriptContextTxInfo =
TxInfo
@ -421,7 +421,7 @@ mutateState =
--
ownInputRef :: TxOutRef
ownInputRef = (TxOutRef "f867238a04597c99a0b9858746557d305025cca3b9f78ea14d5c88c4cfcf58ff" 1)
ownInputRef = TxOutRef "f867238a04597c99a0b9858746557d305025cca3b9f78ea14d5c88c4cfcf58ff" 1
in ScriptContext
{ scriptContextTxInfo =
TxInfo

View file

@ -42,10 +42,13 @@ module Spec.Sample.Shared (
authorityTokenSymbol,
) where
import Agora.AuthorityToken
import Agora.Governor (
Governor (Governor),
)
import Agora.Governor.Scripts (
authorityTokenFromGovernor,
authorityTokenSymbolFromGovernor,
governorPolicy,
governorSTAssetClassFromGovernor,
governorValidator,
@ -57,8 +60,6 @@ import Agora.Governor.Scripts (
stakeSTAssetClassFromGovernor,
stakeSTSymbolFromGovernor,
stakeValidatorHashFromGovernor,
authorityTokenFromGovernor,
authorityTokenSymbolFromGovernor,
)
import Agora.Proposal (
Proposal (..),
@ -84,7 +85,6 @@ import Plutus.V1.Ledger.Api (
import Plutus.V1.Ledger.Scripts (Validator, ValidatorHash)
import Plutus.V1.Ledger.Value (AssetClass)
import Plutus.V1.Ledger.Value qualified as Value
import Agora.AuthorityToken
--------------------------------------------------------------------------------