Closed mkoura closed 3 weeks 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.
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.
The issue is still present. This time it hit when running the Guardrails script.
cardano-cli conway governance action create-protocol-parameters-update \
--testnet --governance-action-deposit 50000000000 \
--deposit-return-stake-verification-key-file keys/stake.vkey \
--anchor-url https://tinyurl.com/3wrwb2as \
--anchor-data-hash 52e69500a92d80f2126c836a4903dc582006709f004cf7a28ed648f732dff8d2 \
--constitution-script-hash edcd84c10e36ae810dc50847477083069db796219b39ccde790484e0 \
--governance-action-lifetime 15 --out-file transactions/pparams.action
cardano-cli conway transaction build --proposal-script-file guardrails-script.plutus \
--tx-in-collateral 092f39232236a9833d01e2590a7665b1f4586f59e22e5c66864fc48152e6b557#0 \
--proposal-redeemer-value '{}' \
--tx-in f2d3df12fb3caab1690c5afa6a6273f1dcaa0d73f594018cd0d36527dd83560e#0 \
--change-address addr_test1qp39w0fa0ccdc4gmg87puydf2kxt5mgt0vteq4a22ktrcssg7ysmx64l90xa0k4z25wpuejngya833qeu9cdxvveynfscsskf5
--proposal-file transactions/pparams.action --out-file transactions/pparams-tx.raw
Command failed: transaction submit Error: Error while submitting tx: ShelleyTxValidationError ShelleyBasedEraConway (ApplyTxError (ConwayUtxowFailure (UtxoFailure (UtxosFailure (ValidationTagMismatch (IsValid True) (FailedUnexpectedly (PlutusFailure "
The PlutusV3 script failed:
Base64-encoded script bytes:
...
...
The script hash is:ScriptHash \"edcd84c10e36ae810dc50847477083069db796219b39ccde790484e0\"
The plutus evaluation error is: CekError An error has occurred:
The machine terminated part way through evaluation due to overspending the budget.
The budget when the machine terminated was:
({cpu: -100
| mem: -100})
Negative numbers indicate the overspent budget; note that this only indicates the budget that was needed for the next step, not to run the program to completion.
The protocol version is: Version 10
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.
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.
@CarlosLopezDeLara> can you check if the issue is still there? I believe not.
Description
In Conway era, Plutus script cost increased in a situation where two certificate scripts are used in single tx. I'm not sure if that is an issue or not. The build command however computes lower cost than is needed, and tx submit fails.
The
build
command:Tx submit fails with (shortened error):
When increasing the execution units, I'm able to build the tx using
transaction build-raw
and submit it successfully.The scripts cost reported by
transaction build
:In previous node releases, we were able to submit the tx in Conway with execution units
(218855869, 686154)
. We still are able to use these execution units in Babbage.Steps to Reproduce
transaction build
Additional Context
Files used to build the tx and full error message: issue_delegation_plutus.tar.gz
Tested on Linux with
cardano-node
/cardano-cli
from node 8.9.0 release.