Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test PlutusV3's txInfoProposalProcedures and txInfoVotingProcedures for NoConfidence #48

Open
14 tasks
catch-21 opened this issue Nov 3, 2023 · 0 comments
Open
14 tasks

Comments

@catch-21
Copy link
Contributor

catch-21 commented Nov 3, 2023

Add a new test that checks each registration certificate in PlutusV3's TxInfo.

    • Build tx with initial constitution proposal with proposal policy
      • ScriptPurpose may not be Proposing
      • Check txInfoProposalProcedures for correct ppDeposit, ppAnchor, ppReturnAddr and NoConfidence GovernanceAction

    • Submit proposal tx to allow for voting to take place

    • Build tx with a mix of Yes, No, Abstain votes as CC, DRep and SPO
      • Check ScriptPurpose is Voting
      • Check txInfoVotingProcedures for correct mapping of Voter credentials to GovernanceActionId and VotingProcedure for each voter
      • Check GovernanceActionId’s gaidTxId and gaidGovActionIx
      • Check VotingProcedure with vpAnchor is Nothing
      • Check VotingProcedure with vpAnchor is Just Anchor
      • Check VotingProcedure with VoteNo
      • Check VotingProcedure with VoteYes
      • Check VotingProcedure with Abstain

    • Submit voting tx and prove mint with onchain verification.

@catch-21 catch-21 changed the title Test txInfoProposalProcedures NoConfidence Test txInfoProposalProcedures and txInfoVotingProcedures for NoConfidence Nov 3, 2023
@catch-21 catch-21 changed the title Test txInfoProposalProcedures and txInfoVotingProcedures for NoConfidence Test PlutusV3's txInfoProposalProcedures and txInfoVotingProcedures for NoConfidence Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant