-
Notifications
You must be signed in to change notification settings - Fork 721
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
[BUG] - cli build cmd requires protocol params to be provided in order to embed datum in transaction #4058
Comments
This also exists in Alonzo era so leaving the |
We can totally eliminate this in the |
@CarlosLopezDeLara I think this ticket needs Acceptance Criteria too. |
4431: Infer protocol params in transaction build r=LudvikGalois a=LudvikGalois We now ignore the `--protocol-params-file` in the `transaction build` command. Instead we fetch it from the node directly. If the user still supplies it, we display a warning, but otherwise continue. Fixes #4058 Co-authored-by: Robert 'Probie' Offner <[email protected]>
Internal/External
Internal if an IOHK staff member.
Area
Other Any other topic (Delegation, Ranking, ...).
Summary
When using
build
--tx-out-datum-embed-*
flag to embed datum in the transaction whilst attaching its hash to the output, an error is seen on submit if--protocol-params-file
is not provided. If protocol params are required thenbuild
should complain that it is missing.Steps to reproduce
Steps to reproduce the behaviour:
build
a transaction using--tx-out-datum-embed-value
without providing--protocol-params-file
sign
andsubmit
that transactionActual behaviour
No error is displayed on
build
but the following error is seen onsubmit
:Expected behavior
Either protocol-params are not necessary and it should just work, or, the
build
cmd should complain it is missing like it does for plutus script execution:System info (please complete the following information):
Acceptance Criteria
Given I'm a user using
build
command to build a transaction body:The text was updated successfully, but these errors were encountered: