build cmd's calculate-plutus-script-cost doesn't include script hash for reference scripts #4094
Labels
comp: cardano-cli
era: babbage
in-scope
This item is being worked and will be part of an upcoming release
priority high
issues/PRs that MUST be addressed. The release can't happen without this;
priority: high
Needs to be addressed as soon as possible, probably within current sprint.
tag: 1.35.0-rc4
type: bug
Something is not working
user type: internal
Created by an IOG employee
Vasil
Internal/External
Internal if an IOHK staff member.
Area
Plutus Related to Plutus Scripts (Alonzo).
Summary
When using
build
cmd's--calculate-plutus-script-cost
to produce an output of each plutus script's resource requirement and cost thescriptHash
field is null for reference scripts. It is correctly populated for attached scrtips. See comparison of two transactions using the same script as reference and as attached:Steps to reproduce
Steps to reproduce the behavior:
build
cmd to construct a transaction using a plutus reference script, use--calculate-plutus-script-cost
flag to produce an output fileExpected behavior
scriptHash
is always populatedSystem info (please complete the following information):
Node/CLI Version: 43393ac
The text was updated successfully, but these errors were encountered: