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

Feature Request: aiken apply for multivalidators #948

Closed
Quantumplation opened this issue May 28, 2024 · 1 comment
Closed

Feature Request: aiken apply for multivalidators #948

Quantumplation opened this issue May 28, 2024 · 1 comment

Comments

@Quantumplation
Copy link
Contributor

Right now, if I have a multivalidator with validator parameters, it's quite awkward to apply all of the arguments correctly for the plutus.json:

aiken apply -v a.mint ${PARAM_A} > tmp
mv tmp plutus.json

aiken apply -v a.spend ${PARAM_A} > tmp
mv tmp plutus.json

aiken apply -v a.mint ${PARAM_B} > tmp
mv tmp plutus.json

aiken apply -v a.spend ${PARAM_B} > tmp
mv tmp plutus.json

It'd be nice to improve the user experience with one or more of the following suggestions:

  • Add an --update flag that saves the updates plutus.json back in place; we need to write out to tmp first because otherwise it truncates the file before aiken reads it.
  • allow applying multiple parameters at once with aiken apply -v a.mint ${PARAM_A} ${PARAM_B} (this actually might be possible, i'm not sure!)
  • allow applying to multiple validators at once with aiken apply -v a.mint -v a.spend ${PARAM_A} (or perhaps just -v a or something similar?)
@KtorZ
Copy link
Member

KtorZ commented Sep 2, 2024

duplicate of #927

@KtorZ KtorZ closed this as completed Sep 2, 2024
@github-project-automation github-project-automation bot moved this from 🪣 Backlog to ✅ In Next Release in Project Tracking Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ In Next Release
Development

No branches or pull requests

2 participants