Open catch-21 opened 1 year ago
Add a new test that checks each registration certificate in PlutusV3's TxInfo.
ScriptPurpose
Proposing
txInfoProposalProcedures
ppDeposit
ppAnchor
ppReturnAddr
ParameterChange
GovernanceAction
(PParamsUpdate era)
Voting
txInfoVotingProcedures
GovernanceActionId
VotingProcedure
gaidTxId
gaidGovActionIx
vpAnchor
Nothing
Just Anchor
VoteNo
VoteYes
Abstain
Add a new test that checks each registration certificate in PlutusV3's TxInfo.
ScriptPurpose
may not beProposing
txInfoProposalProcedures
for correctppDeposit
,ppAnchor
,ppReturnAddr
andParameterChange
GovernanceAction
[ ] if it contains something like
(PParamsUpdate era)
then check some values[ ] Submit proposal tx to allow for voting to take place
ScriptPurpose
isVoting
txInfoVotingProcedures
for correct mapping of Voter credentials toGovernanceActionId
andVotingProcedure
for each voterGovernanceActionId
’sgaidTxId
andgaidGovActionIx
VotingProcedure
withvpAnchor
isNothing
VotingProcedure
withvpAnchor
isJust Anchor
VotingProcedure
withVoteNo
VotingProcedure
withVoteYes
[ ] Check
VotingProcedure
withAbstain
[ ] Submit voting tx and prove mint with onchain verification.