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
HardForkInitiation
GovernanceAction
ProtocolVersion
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
andHardForkInitiation
GovernanceAction
[ ] Check
ProtocolVersion
for major and minor 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.