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

Remove use of script witness files in withdrawal scripts #1056

Merged

Conversation

Jimbo4350
Copy link
Contributor

@Jimbo4350 Jimbo4350 commented Feb 5, 2025

Depends on #1047

Changelog

- description: |
    Remove use of script witness files in withdrawal scripts
  type:
  - refactoring    # QoL changes

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 force-pushed the jordan/remove-use-of-ScriptWitnessFiles-in-withdrawal-scripts branch 3 times, most recently from c820df8 to c7e71ed Compare February 6, 2025 13:55
@Jimbo4350 Jimbo4350 marked this pull request as ready for review February 6, 2025 13:55
@Jimbo4350 Jimbo4350 force-pushed the jordan/remove-use-of-ScriptWitnessFiles-in-withdrawal-scripts branch 2 times, most recently from e5b6d88 to 7b20f90 Compare February 6, 2025 14:11
<*> plutusP prefix PlutusScriptV3 "v3"
<*> pScriptRedeemerOrFile (prefix ++ "reference-tx-in")
<*> ( case autoBalanceExecUnits of
AutoBalance -> pure (ExecutionUnits 0 0)
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be nice to have this execution units default value in one place, instead of being copied multiple times.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep we will do an audit of all the cli parsers. It's still convoluted.

@Jimbo4350 Jimbo4350 force-pushed the jordan/remove-use-of-ScriptWitnessFiles-in-withdrawal-scripts branch from 7b20f90 to e51cc89 Compare February 11, 2025 15:21
@Jimbo4350 Jimbo4350 enabled auto-merge February 11, 2025 15:21
@Jimbo4350 Jimbo4350 added this pull request to the merge queue Feb 11, 2025
Merged via the queue into master with commit 389dd62 Feb 11, 2025
25 checks passed
@Jimbo4350 Jimbo4350 deleted the jordan/remove-use-of-ScriptWitnessFiles-in-withdrawal-scripts branch February 11, 2025 17:45
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.

2 participants