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

Update substituteExecutionUnits to include proposal and vote script witnesses #587

Merged
merged 2 commits into from
Jul 19, 2024

Conversation

Jimbo4350
Copy link
Contributor

@Jimbo4350 Jimbo4350 commented Jul 17, 2024

Changelog

- description: |
    Update substituteExecutionUnits to include proposal and vote script witnesses
# uncomment types applicable to the change:
  type:
  - feature        # introduces a new feature
  - breaking       # the API has changed in a breaking way
  # - compatible     # the API has changed but is non-breaking
  # - optimisation   # measurable performance improvements
  # - refactoring    # QoL changes
  # - bugfix         # fixes a defect
  # - test           # fixes/modifies tests
  # - maintenance    # not directly related to the code
  # - release        # related to a new release preparation
  # - documentation  # change in code docs, haddocks...

Context

Additional context for the PR goes here. If the PR fixes a particular issue please provide a link to the issue.

How to trust this PR

Highlight important bits of the PR that will make the review faster. If there are commands the reviewer can run to observe the new behavior, describe them.

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated. See Running tests for more details
  • Self-reviewed the diff

@Jimbo4350 Jimbo4350 changed the title Update Update substituteExecutionUnits to include proposal and vote script witnesses Jul 17, 2024
@Jimbo4350 Jimbo4350 force-pushed the jordan/map-voting-and-proposing-script-witnesses branch 2 times, most recently from 01e1fd6 to 00c9865 Compare July 17, 2024 11:12
Right . TxMintValue supported value . BuildTxWith $
Map.fromList final

traverseScriptWitnesses
:: [(a, Either (TxBodyErrorAutoBalance era) (ScriptWitness ctx era))]
-> Either (TxBodyErrorAutoBalance era) [(a, ScriptWitness ctx era)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it be useful to aggregate errors here?

Copy link
Contributor Author

@Jimbo4350 Jimbo4350 Jul 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it would be; could do so in a follow up PR.

@Jimbo4350 Jimbo4350 force-pushed the jordan/map-voting-and-proposing-script-witnesses branch from 00c9865 to cc238ec Compare July 19, 2024 07:29
…ness index in the execution units map

Remove mapTxScriptWitnessses
Update substituteExecutionUnits to update proposal and vote script witnesses
miss updating the execution unit substitution for new plutus script
purposes
@Jimbo4350 Jimbo4350 force-pushed the jordan/map-voting-and-proposing-script-witnesses branch from cc238ec to 99ff62f Compare July 19, 2024 09:35
@Jimbo4350 Jimbo4350 enabled auto-merge July 19, 2024 09:36
@Jimbo4350 Jimbo4350 added this pull request to the merge queue Jul 19, 2024
Merged via the queue into main with commit 8421437 Jul 19, 2024
25 checks passed
@Jimbo4350 Jimbo4350 deleted the jordan/map-voting-and-proposing-script-witnesses branch July 19, 2024 10:40
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

Successfully merging this pull request may close these issues.

3 participants