IntersectMBO / cardano-node

The core component that is used to participate in a Cardano decentralised blockchain.
https://cardano.org
Apache License 2.0
3.06k stars 721 forks source link

[BUG] - building Alonzo-era tx on Babbage fails due to missing `protocolParamUTxOCostPerWord` #5109

Open mkoura opened 1 year ago

mkoura commented 1 year ago

Internal if an IOHK staff member.

Area Other Any other topic (Delegation, Ranking, ...).

Summary Some of the changes made in PR https://github.com/input-output-hk/cardano-node/pull/5013 broke ability to build Alonzo-era transactions on Babbage.

Command

cardano-cli transaction build --tx-in "ba46f27680588b2f4f54100cfb5cffa5a30b878f4badb6b66a5202112832a78a#0" --tx-out "addr_test1vzs8hv7q85gca4hcz7vmhlq0ymx9dxlufn9p0syaku2tyjgxs8g5n+1500000" --change-address addr_test1vr6nv5gmamerng82uhldhalznupyxnw49nk2ycnr5u6gglgw0axfm --out-file test_build_transfer_funds_ci0_owl_shelley_shelley_tx.body --alonzo-era --testnet-magic 42

fails with

    cardano-cli: Must specify protocolParamUTxOCostPerWord
    CallStack (from HasCallStack):
       error, called at src/Cardano/Api/ProtocolParameters.hs:1269:30 in cardano-api-8.0.0-4vvP0FcmkRQH5b7eZvLkaA:Cardano.Api.ProtocolParameters

There was already fix for this issue in the past - https://github.com/input-output-hk/cardano-node/pull/4166 Maybe it got removed by accident?

System info:

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.