{-# OPTIONS --safe #-}

open import Ledger.Conway.Abstract
open import Ledger.Conway.Transaction

module Ledger.Conway.GovernanceActions.Properties.ChangePPGroup
  (txs : _) (open TransactionStructure txs)
  where


open import Ledger.Prelude

instance
  _ : IsSet TxBody GovProposal
  _ = record { toSet = fromList  TxBody.txprop }


ChangePPHasGroup : {tx : Tx} {p : GovProposal} (pu : PParamsUpdate)
   p  Tx.body tx  p .GovProposal.action   ChangePParams , pu ⟧ᵍᵃ
   Type
ChangePPHasGroup pu _ _ = updateGroups pu