{-# OPTIONS --safe #-}
open import Ledger.Conway.Specification.Abstract
open import Ledger.Conway.Specification.Transaction
module Ledger.Conway.Specification.Gov.Properties.ChangePPGroup
(txs : _) (open TransactionStructure txs)
where
open import Ledger.Prelude
instance
_ : IsSet TxBody GovProposal
_ = record { toSet = fromList ∘ TxBody.txGovProposals }
ChangePPHasGroup : {tx : Tx} {p : GovProposal} (pu : PParamsUpdate)
→ p ∈ Tx.body tx → p .GovProposal.action ≡ $\begin{pmatrix} \,\href{Ledger.Conway.Specification.Gov.Actions.html#808}{\htmlId{489}{\htmlClass{InductiveConstructor}{\text{ChangePParams}}}}\, \\ \,\href{Ledger.Conway.Specification.Gov.Properties.ChangePPGroup.html#422}{\htmlId{505}{\htmlClass{Bound}{\text{pu}}}}\, \end{pmatrix}$
→ Type
ChangePPHasGroup pu _ _ = updateGroups pu ≢ ∅