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

Incorrect script budget estimation when minting assets and autobalancing a transaction #614

Closed
perturbing opened this issue Feb 21, 2024 · 11 comments

Comments

@perturbing
Copy link

perturbing commented Feb 21, 2024

Description

Currently, the build command does not resolve the correct CPU/Mem budgets if a tx is minting an asset, but the asset is not explicitly added as an output in the build command.

Steps to Reproduce

That is,

cardano-cli conway transaction build --testnet-magic 4 \
 --tx-in 94c0c83e568fa96063b807911bdfb1da8da42b3acadcd27bbeecab7ad23d512e#1 \
 --tx-in-collateral 91a82174d745fb0f350f2a20f4a3e0caf1eceeac2d5c12620c47294331ccce44#0 \
 --mint "1 5ee3ac97a4d13d5605b4bcbd1a1a3981685a746095e094bdde649a5f.eeeeee" \
 --tx-out $(cat payment.addr)+10000000 \
 --change-address $(cat payment.addr) \
 --mint-script-file scripts/blsMint.plutus --mint-redeemer-value 1 \
 --out-file tx.fails

creates an invalid tx without failure (it fails upon sending it to the node with incorrect cpu/mem budget), while

cardano-cli conway transaction build --testnet-magic 4 \
 --tx-in 87b5abd47c52ded7c86a24bee7d8882d702b1151c9a1257453d4192a97da2ea4#1 \
 --tx-in-collateral 91a82174d745fb0f350f2a20f4a3e0caf1eceeac2d5c12620c47294331ccce44#0 \
 --mint "1 5ee3ac97a4d13d5605b4bcbd1a1a3981685a746095e094bdde649a5f.6e6674" \
 --tx-out $(cat payment.addr)+2000000+"1 5ee3ac97a4d13d5605b4bcbd1a1a3981685a746095e094bdde649a5f.6e6674" \
 --change-address $(cat payment.addr) \
 --mint-script-file scripts/blsMint.plutus --mint-redeemer-value 1 \
 --out-file tx.succeeds

does work.

Additional Context

I used node 8.8.0-pre. Furthermore, If I view the tx.fails

    "outputs": [
        {
            "address": "addr_test1qzy8v4n3fvlne4epkxact5yl0mzvau7e4dhds2gytq7wyrxjafy6lsgzh5el4nt67fyg23evuuxgswqdr2ddf8ht0ccq0w5j6r",
            "address era": "Shelley",
            "amount": {
                "lovelace": 10000000
            },
            "network": "Testnet",
            "payment credential key hash": "887656714b3f3cd721b1bb85d09f7ec4cef3d9ab6ed82904583ce20c",
            "reference script": null,
            "stake reference": {
                "stake credential key hash": "d2ea49afc102bd33facd7af24885472ce70c88380d1a9ad49eeb7e30"
            }
        },
        {
            "address": "addr_test1qzy8v4n3fvlne4epkxact5yl0mzvau7e4dhds2gytq7wyrxjafy6lsgzh5el4nt67fyg23evuuxgswqdr2ddf8ht0ccq0w5j6r",
            "address era": "Shelley",
            "amount": {
                "lovelace": 7981439868,
                "policy 5ee3ac97a4d13d5605b4bcbd1a1a3981685a746095e094bdde649a5f": {
                    "asset eeeeee": 1
                }
            },
            "network": "Testnet",
            "payment credential key hash": "887656714b3f3cd721b1bb85d09f7ec4cef3d9ab6ed82904583ce20c",
            "reference script": null,
            "stake reference": {
                "stake credential key hash": "d2ea49afc102bd33facd7af24885472ce70c88380d1a9ad49eeb7e30"
            }
        }
    ]

The build command does add the asset as an output to the change address.

Possible Solution

Either log that explicit adding of the minted asset is required, or resolve the correct budget.

This comment was marked as off-topic.

@carbolymer
Copy link
Contributor

Needs to be tested again after CLI release for node 8.10, since it changes fee calculation: #680

@carbolymer
Copy link
Contributor

This comment was marked as off-topic.

@github-actions github-actions bot added the Stale label May 4, 2024
@carbolymer carbolymer removed the Stale label May 6, 2024

This comment was marked as off-topic.

@github-actions github-actions bot added the Stale label Jun 6, 2024
@carbolymer carbolymer removed the Stale label Jun 6, 2024

This comment was marked as off-topic.

@github-actions github-actions bot added the Stale label Jul 7, 2024
@carbolymer carbolymer removed the Stale label Jul 11, 2024

This comment was marked as off-topic.

@github-actions github-actions bot added the Stale label Aug 11, 2024
@carbolymer carbolymer removed the Stale label Aug 13, 2024
@carbolymer carbolymer self-assigned this Aug 14, 2024
@carbolymer
Copy link
Contributor

carbolymer commented Aug 20, 2024

The error on node 8.9.0:

Command failed: transaction submit Error: Error while submitting tx:

ShelleyTxValidationError ShelleyBasedEraConway (ApplyTxError (ConwayUtxowFailure (UtxoFailure (AlonzoInBabbageUtxoPredFailure (UtxosFailure (ValidationTagMismatch (IsValid True) (FailedUnexpectedly (PlutusFailure "\nThe PlutusV3 script failed:\nBase64-encoded script bytes:\n"WQoSAQEAMjIyMjIyMjIyIjKAAZGRkpmauaM3DpAAABCZGRkZGRkZGUAEyMjJTM1c0ZuHSAAACEyMjIyMjIyMjIyMjIyMjIyMzMzMzMzIzMjMjMiIiIiIiIiIoAICEA+AdANgGQC4BUAmARAHgDQBYAkAOAFABGACauhAUMAE1dCAmYEpGRkZKZmrmjNw6QAAAQwATAhNXQgAzAFNXQmrogAQmBckgQNQVDEANVc8AEaq50AE3VAAmYEoAJq6EBEjIyMlMzVzRm4dIAAAITIygAmRkZKZmrmjNw6QAAAQwATAkNXQgAzMCIjIyMlMzVzRm4dIAAAIYAJgUGroQAQqZmrmjNw6QAQAQmUAM3WmroQAputNXQgAzdaauhNXRAAjV0QAImBskgEDUFQxADVXPABGqudABN1QAJq6E1dEACEwMkkBA1BUMQA1VzwARqrnQATdUauhADmAOauhACmRkZKZmrmjNw6QAAAQwABUzNXNGbh0gAgAhgCm641dCACFTM1c0ZuHSAEACGAGauhABCYGSSEDUFQxADVXPABGqudABN1Rq6EAGZgPuuNXQmrogARq6IAE1dEACJgWpIEDUFQxADVXPABGqudABN1QAJutNXQgHmACauhAOMAIwAnWmYEYC5q6EAwzMBYBp1pq6EAsyMjJTM1c0ZuHSAAACGACZGRkpmauaM3DpAAABDABMwLHWmroQAZgVmroTV0QAITAuSQBA1BUMQA1VzwARqrnQATdUauhABmRkZKZmrmjNw6QAAAQwATMCx1pq6EAGYFZq6E1dEACEwLkkQNQVDEANVc8AEaq50AE3VGroTV0QAITArSRA1BUMQA1VzwARqrnQATdUauhAKMwI3XGroQCTMwFgFAJDV0IBBmAEBIauhAHN1xq6EAYzMBYBkzAWAnIyMjJTM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ZmqufABKAAUAMwBDV0IAUwAzV0QASAAQAJGRkZKZmrmjNw6QAAAQwAhUzNXNGbh0gAgAhgACYA6SQNQVDEANVc8AEaq50AE3VAAkRkZGSmZq5ozcOkAAAEMAIVMzVzRm4dIAIAIYAJgCmroQAQqZmrmjNw6QAgAQwBBMAdJAQNQVDEANVc8AEaq50AE3VAAkZGRkpmauaM3DpAAABDABN1xq6EAGbrTV0Jq6IAEJgCpIQNQVDEANVc8AEaq50AE3VAAkZMZq5wAGAARkYAIAJEZgBmAEAEACQ=="\nThe script hash is:ScriptHash "18931f4abcce7153c27ad57ff2e0a2c91d3c63622cf86485c55e318e"\nThe plutus evaluation error is: CekError An error has occurred: User error:\nThe machine terminated part way through evaluation due to overspending the budget.\nThe budget when the machine terminated was:\n({cpu: -281614\n| mem: 1830})\nNegative 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.\nThe protocol version is: Version 9\nThe redeemer is: Map []\nThe script context is:\nPurpose: Minting 18931f4abcce7153c27ad57ff2e0a2c91d3c63622cf86485c55e318e\nTxInfo:\n TxId: 1e5b49395fb549de8cc99d7b452d343adb86e2989a75ce58cee7561be0dac37a\n Inputs: [ 5aacb5be69d553e681f164ef0ebc0a48d6596f1d0ac495db69b3c6187edb5916!0 -> - Value {getValue = Map {unMap = [(,Map {unMap = [("",600000000000)]})]}} addressed to\n PubKeyCredential: 7af9c5d1f4089c457211ad69a2c87803b0bb936594ca671800543f73 (no staking credential)\n with datum\n no datum\n with referenceScript\n ]\n Reference inputs: []\n Outputs: [ - Value {getValue = Map {unMap = [(,Map {unMap = [("",5000000)]})]}} addressed to\n ScriptCredential: a78c87b40d668e88e9995b0ebe83c9fdbbe423d461f49fc2dee561ef (no staking credential)\n with datum\n inline datum : <<CRWa3sQc5dSN3iSidaWywueUYchpPvYK+fwyBw==,\n D/H9RJR7zUzcbwaEHYgawqC+s/FbpfXjwImR2S6LpkM=>,\n [</3psnz6/gKtFfMp4E4QqohUNDa00GnlWozTHbQ==,\n GoKBi0iFdMFW8fqJQbrZtLSXa6Ic+u3hqzOjDeOfft0=>,\n <wiM4J8yjoMwsSfkaZidsRovplNuFXWtBMAX6iA==,\n O4U2o47qhxzIsndd61hhrENI72GoS56cZDSArluI/8M=>,\n <sjoCowgWXHAs4Av3YKDv8zsnsSkG4YBbdoUSXw==,\n /fkTq/248AmXzKXBTKC4Lz0IeBAVoGHpFERCXW93f/o=>],\n [</GoRTbdtMd5YV5N0nc1q0tbAKlLOkiaCBla+3Q==,\n fJ0ccywxMGbe0VaNwksSMMx4LTMctlRlvGWtXfb76DI=>,\n <Fo/wYA9iRYEhkvuEwdWnISmuBEWicqzGXciPsw==,\n xg4gvkzg+kV6jGWt4BAFR15xiA6SHC7kCmtR1C/ZXhE=>,\n <xTCoty3XLjIOf0iD/LmNAFjnDvz05+CHHOE+tw==,\n znV0jTelXvH67HIZcIBZR5GXllpZJ6f5kBxryXB+6qE=>]>\n with referenceScript\n\n , - Value {getValue = Map {unMap = [(,Map {unMap = [("",5000000)]})]}} addressed to\n ScriptCredential: fdc638c96ccbfe5bc4d81058e1f42d8e2eb8f45eb2c559ca440ea79b (no staking credential)\n with datum\n inline datum : [<+14L5IAa6nMTXv5D9KOm0IFHr1IxEpht1efROw==,\n V/VTDgV+ILcmt4qjEQTUFcsrzljGaYKaRNAJwbEAW80=>,\n <o8bLk6MrAod8YfZKscZsRRPxJ4i/fFAOrX2UGw==,\n mSPzHBzhTirL1QX6juvUzmd9G82WxtcWEPgQ8gCOzDo=>,\n <7aa+++Gky4GRdS2XtnYnpUi8xfPkZT7P26fN8A==,\n 7NZL7vz1nwGpdUV7CjYj0rA9W89xZCqNjYJ15GaKrTE=>]\n with referenceScript\n\n , - Value {getValue = Map {unMap = [(,Map {unMap = [("",599989487960)]}),(12fe8dc53d27421c3d3a3b736ce680042788483493336706bcbe806a,Map {unMap = [("Vote NFT",1)]}),(18931f4abcce7153c27ad57ff2e0a2c91d3c63622cf86485c55e318e,Map {unMap = [("Identity NFT",1)]})]}} addressed to\n PubKeyCredential: 7af9c5d1f4089c457211ad69a2c87803b0bb936594ca671800543f73 (no staking credential)\n with datum\n no datum\n with referenceScript\n ]\n Fee: 512040\n Value minted: Value {getValue = Map {unMap = [(12fe8dc53d27421c3d3a3b736ce680042788483493336706bcbe806a,Map {unMap = [("Vote NFT",1)]}),(18931f4abcce7153c27ad57ff2e0a2c91d3c63622cf86485c55e318e,Map {unMap = [("Identity NFT",1)]})]}}\n TxCerts: []\n Wdrl: []\n Valid range: (-\8734 , +\8734)\n Signatories: []\n Redeemers: [ ( Minting 12fe8dc53d27421c3d3a3b736ce680042788483493336706bcbe806a\n , {} )\n , ( Minting 18931f4abcce7153c27ad57ff2e0a2c91d3c63622cf86485c55e318e\n , {} ) ]\n Datums: []\n Votes: []\n Proposal Procedures: []\n Current Treasury Amount: \n Treasury Donation: \n" "hgmCAlkKFVkKEgEBADIyMjIyMjIyMiIygAGRkZKZmrmjNw6QAAAQmRkZGRkZGRlABMjIyUzNXNGbh0gAAAhMjIyMjIyMjIyMjIyMjIyMjMzMzMzMyMzIzIzIiIiIiIiIiKACAhAPgHQDYBkAuAVAJgEQB4A0AWAJADgBQARgAmroQFDABNXQgJmBKRkZGSmZq5ozcOkAAAEMAEwITV0IAMwBTV0Jq6IAEJgXJIEDUFQxADVXPABGqudABN1QAJmBKACauhARIyMjJTM1c0ZuHSAAACEyMoAJkZGSmZq5ozcOkAAAEMAEwJDV0IAMzAiIyMjJTM1c0ZuHSAAACGACYFBq6EAEKmZq5ozcOkAEAEJlADN1pq6EAKbrTV0IAM3WmroTV0QAI1dEACJgbJIBA1BUMQA1VzwARqrnQATdUACauhNXRAAhMDJJAQNQVDEANVc8AEaq50AE3VGroQA5gDmroQApkZGSmZq5ozcOkAAAEMAAVMzVzRm4dIAIAIYApuuNXQgAhUzNXNGbh0gBAAhgBmroQAQmBkkhA1BUMQA1VzwARqrnQATdUauhABmYD7rjV0Jq6IAEauiABNXRAAiYFqSBA1BU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fe8gBgkGhcnLOABGhf0SkEYSBoAI5LzGEgaAB1q9hoAAUJbBBoAAcp2GSjrBBoAE7crGV+VGEoAARoADkjdGcHBGO0AAQ==" :| [PlutusFailure "\nThe PlutusV3 script failed:\nBase64-encoded script bytes:\n"WQofAQEAMjIyMjIyMjIyIlkygAGRkZKZmrmjNw6QAAAQmRkZGRkZGRlABMjIyUzNXNGbh0gAAAhMjIyMjIyMjIyMjIyMjIyMjMzMzMzMyMzIzIzIiIiIiIiIiKACAhAPgHQDYBkAuAVAJgEQB4A0AWAJADgBQARgAmroQFDABNXQgJmBKRkZGSmZq5ozcOkAAAEMAEwITV0IAMwBTV0Jq6IAEJgXJIEDUFQxADVXPABGqudABN1QAJmBKACauhARIyMjJTM1c0ZuHSAAACEyMoAJkZGSmZq5ozcOkAAAEMAEwJDV0IAMzAiIyMjJTM1c0ZuHSAAACGACYFBq6EAEKmZq5ozcOkAEAEJlADN1pq6EAKbrTV0IAM3WmroTV0QAI1dEACJgbJIBA1BUMQA1VzwARqrnQATdUACauhNXRAAhMDJJAQNQVDEANVc8AEaq50AE3VGroQA5gDmroQApkZGSmZq5ozcOkAAAEMAAVMzVzRm4dIAIAIYApuuNXQgAhUzNXNGbh0gBAAhgBmroQAQmBkkhA1BUMQA1VzwARqrnQATdUauhABmYD7rjV0Jq6IAEauiABNXRAAiYFqSBA1BUMQA1VzwARqrnQATdUACbrTV0IB5gAmroQDjACMAJ1pmBGAuauhAMMzAWAadaauhALMjIyUzNXNGbh0gAAAhgAmRkZKZmrmjNw6QAAAQwATMCx1pq6EAGYFZq6E1dEACEwLkkAQNQVDEANVc8AEaq50AE3VGroQAZkZGSmZq5ozcOkAAAEMAEzAsdaauhABmBWauhNXRAAhMC5JEDUFQxADVXPABGqudABN1Rq6E1dEACEwK0kQNQVDEANVc8AEaq50AE3VGroQCjMCN1xq6EAkzMBYBQCQ1dCAQZgBASGroQBzdcauhAGMzAWAZMwFgJyMjIyUzNXNGbh0gAAAhgBCpmauaM3D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1dCAFMAM1dEAEgAEACRkZGSmZq5ozcOkAAAEMAIVMzVzRm4dIAIAIYAAmAOkkDUFQxADVXPABGqudABN1QAJEZGRkpmauaM3DpAAABDACFTM1c0ZuHSACACGACYApq6EAEKmZq5ozcOkAIAEMAQTAHSQEDUFQxADVXPABGqudABN1QAJGRkZKZmrmjNw6QAAAQwATdcauhABm601dCauiABCYAqSEDUFQxADVXPABGqudABN1QAJGTGaucABgAEZGACACRGYAZgBABAAk="\nThe script hash is:ScriptHash "12fe8dc53d27421c3d3a3b736ce680042788483493336706bcbe806a"\nThe plutus evaluation error is: CekError An error has occurred: User error:\nThe machine terminated part way through evaluation due to overspending the budget.\nThe budget when the machine terminated was:\n({cpu: -189614\n| mem: 2230})\nNegative 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.\nThe protocol version is: Version 9\nThe redeemer is: Map []\nThe script context is:\nPurpose: Minting 12fe8dc53d27421c3d3a3b736ce680042788483493336706bcbe806a\nTxInfo:\n TxId: 1e5b49395fb549de8cc99d7b452d343adb86e2989a75ce58cee7561be0dac37a\n Inputs: [ 5aacb5be69d553e681f164ef0ebc0a48d6596f1d0ac495db69b3c6187edb5916!0 -> - Value {getValue = Map {unMap = [(,Map {unMap = [("",600000000000)]})]}} addressed to\n PubKeyCredential: 7af9c5d1f4089c457211ad69a2c87803b0bb936594ca671800543f73 (no staking credential)\n with datum\n no datum\n with referenceScript\n ]\n Reference inputs: []\n Outputs: [ - Value {getValue = Map {unMap = [(,Map {unMap = [("",5000000)]})]}} addressed to\n ScriptCredential: a78c87b40d668e88e9995b0ebe83c9fdbbe423d461f49fc2dee561ef (no staking credential)\n with datum\n inline datum : <<CRWa3sQc5dSN3iSidaWywueUYchpPvYK+fwyBw==,\n D/H9RJR7zUzcbwaEHYgawqC+s/FbpfXjwImR2S6LpkM=>,\n [</3psnz6/gKtFfMp4E4QqohUNDa00GnlWozTHbQ==,\n GoKBi0iFdMFW8fqJQbrZtLSXa6Ic+u3hqzOjDeOfft0=>,\n <wiM4J8yjoMwsSfkaZidsRovplNuFXWtBMAX6iA==,\n O4U2o47qhxzIsndd61hhrENI72GoS56cZDSArluI/8M=>,\n <sjoCowgWXHAs4Av3YKDv8zsnsSkG4YBbdoUSXw==,\n /fkTq/248AmXzKXBTKC4Lz0IeBAVoGHpFERCXW93f/o=>],\n [</GoRTbdtMd5YV5N0nc1q0tbAKlLOkiaCBla+3Q==,\n fJ0ccywxMGbe0VaNwksSMMx4LTMctlRlvGWtXfb76DI=>,\n <Fo/wYA9iRYEhkvuEwdWnISmuBEWicqzGXciPsw==,\n xg4gvkzg+kV6jGWt4BAFR15xiA6SHC7kCmtR1C/ZXhE=>,\n <xTCoty3XLjIOf0iD/LmNAFjnDvz05+CHHOE+tw==,\n znV0jTelXvH67HIZcIBZR5GXllpZJ6f5kBxryXB+6qE=>]>\n with referenceScript\n\n , - Value {getValue = Map {unMap = [(,Map {unMap = [("",5000000)]})]}} addressed to\n ScriptCredential: fdc638c96ccbfe5bc4d81058e1f42d8e2eb8f45eb2c559ca440ea79b (no staking credential)\n with datum\n inline datum : [<+14L5IAa6nMTXv5D9KOm0IFHr1IxEpht1efROw==,\n V/VTDgV+ILcmt4qjEQTUFcsrzljGaYKaRNAJwbEAW80=>,\n <o8bLk6MrAod8YfZKscZsRRPxJ4i/fFAOrX2UGw==,\n mSPzHBzhTirL1QX6juvUzmd9G82WxtcWEPgQ8gCOzDo=>,\n <7aa+++Gky4GRdS2XtnYnpUi8xfPkZT7P26fN8A==,\n 7NZL7vz1nwGpdUV7CjYj0rA9W89xZCqNjYJ15GaKrTE=>]\n with referenceScript\n\n , - Value {getValue = Map {unMap = [(,Map {unMap = [("",599989487960)]}),(12fe8dc53d27421c3d3a3b736ce680042788483493336706bcbe806a,Map {unMap = [("Vote NFT",1)]}),(18931f4abcce7153c27ad57ff2e0a2c91d3c63622cf86485c55e318e,Map {unMap = [("Identity NFT",1)]})]}} addressed to\n PubKeyCredential: 7af9c5d1f4089c457211ad69a2c87803b0bb936594ca671800543f73 (no staking credential)\n with datum\n no datum\n with referenceScript\n ]\n Fee: 512040\n Value minted: Value {getValue = Map {unMap = [(12fe8dc53d27421c3d3a3b736ce680042788483493336706bcbe806a,Map {unMap = [("Vote NFT",1)]}),(18931f4abcce7153c27ad57ff2e0a2c91d3c63622cf86485c55e318e,Map {unMap = [("Identity NFT",1)]})]}}\n TxCerts: []\n Wdrl: []\n Valid range: (-\8734 , +\8734)\n Signatories: []\n Redeemers: [ ( Minting 12fe8dc53d27421c3d3a3b736ce680042788483493336706bcbe806a\n , {} )\n , ( Minting 18931f4abcce7153c27ad57ff2e0a2c91d3c63622cf86485c55e318e\n , {} ) ]\n Datums: []\n Votes: []\n Proposal Procedures: []\n Current Treasury Amount: \n Treasury Donation: \n" "hgmCAlkKIlkKHwEBADIyMjIyMjIyMiJZMoABkZGSmZq5ozcOkAAAEJkZGRkZGRkZQATIyMlMzVzRm4dIAAAITIyMjIyMjIyMjIyMjIyMjIzMzMzMzMjMyMyMyIiIiIiIiIigAgIQD4B0A2AZALgFQCYBEAeANAFgCQA4AUAEYAJq6EBQwATV0ICZgSkZGRkpmauaM3DpAAABDABMCE1dCADMAU1dCauiABCYFySBA1BUMQA1VzwARqrnQATdUACZgSgAmroQESMjIyUzNXNGbh0gAAAhMjKACZGRkpmauaM3DpAAABDABMCQ1dCADMwIiMjIyUzNXNGbh0gAAAhgAmBQauhABCpmauaM3DpABABCZQAzdaauhACm601dCADN1pq6E1dEACNXRAAiYGySAQNQVDEANVc8AEaq50AE3VAAmroTV0QAITAySQEDUFQxADVXPABGqudABN1Rq6EAOYA5q6EAKZGRkpmauaM3DpAAABDAAFTM1c0ZuHSACACGAKbrjV0IAIVMzVzRm4dIAQAIYAZq6EAEJgZJIQNQVDEANVc8AEaq50AE3VGroQAZmA+641dCauiABGrogATV0QAImBakgQNQVDEANVc8AEaq50AE3VAAm601dCAeYAJq6EA4wAjACdaZgRgLmroQDDMwFgGnWmroQCzIyMl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lflRhKAAEaAA5I3RnBwRjtAAE="])))))) :| []))

@carbolymer
Copy link
Contributor

The issue is still reproducible on cardano-node 9.1.0, built from e9ab511272a7694196778007211991a9984557e8

Command failed: transaction submit Error: Error while submitting tx: ShelleyTxValidationError ShelleyBasedEraConway (ApplyTxError (ConwayUtxowFailure (UtxoFailure (UtxosFailure (ValidationTagMismatch (IsValid True) (FailedUnexpectedly (PlutusFailure "\nThe PlutusV3 script failed:\nBase64-encoded script bytes:\n"WQspAQEAMjIyMjIyMjIyIySYyMjJVMzVzRm4dIAAAIRMjIyMjIyMjKACZGRkqmZq5ozcOkAAAEImRkZGRkZGRkZGRkZGRkZGRmZmZmZmZGZkZkZkRERERERERFABAQgHwDoBsAyAXAKgEwCIA8AaALAEgBwAoAIwATV0IChgAmroQEzAkIyMjJVMzVzRm4dIAAAIRgAmBAauhABmAKauhNXRAAhEwLUkAQNQVDEANVc8AEaq50AE3VAAmYEgAJq6EBEjIyMlUzNXNGbh0gAAAhEyMoAJkZGSqZmrmjNw6QAAAQjABMCM1dCADMwISMjIyVTM1c0ZuHSAAACEYAJgTmroQAQiqmZq5ozcOkAEAEImUAM3WmroQAputNXQgAzdaauhNXRAAjV0QAIiYGqSAQNQVDEANVc8AEaq50AE3VAAmroTV0QAIRMDFJEDUFQxADVXPABGqudABN1Rq6EAOYA5q6EAKZGRkqmZq5ozcOkAAAEIwABFVMzVzRm4dIAIAIRgCm641dCACEVUzNXNGbh0gBAAhGAGauhABCJgYpIBA1BUMQA1VzwARqrnQATdUauhABmYDzrjV0Jq6IAEauiABNXRAAiJgWJJA1BUMQA1VzwARqrnQATdUACbrTV0IB5gAmroQDjABMAF1pmBEAsauhAMMzAVAZdaauhALMjIyVTM1c0ZuHSAAACEYAJkZGSqZmrmjNw6QAAAQjABMwK3WmroQAZgVGroTV0QAIRMC1JBA1BUMQA1VzwARqrnQATdUauhABmRkZKpmauaM3DpAAABCMAEzArdaauhABmBUauhNXRAAhEwLUkBA1BUMQA1VzwARqr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AcmRkZKpmauaM3DpAAABCMAE3WmroQAZutNXQmrogAQiYECSBA1BUMQA1VzwARqrnQATdUauhNXRAAyIzAYACABDV0QAJq6IAERVTM1c0ZuHSAKACEYApmAWA0auhABmRkZKpmauaM3DpAAABCJmAc641dCACImA8kgEDUFQxADVXPABGqudABN1Rq6E1dEACEVUzNXNGbh0gDAAhGAEImA2kgQNQVDEANVc8AEaq50AE3VGroTV0QAI1dEACImAukgEDUFQxADVXPABGqudABN1QAJEZEYARurABMBUiMzNVc+ACUAAjKAHABMAY1VzoAMwBTVXPAApgCGrogAxq6EAKAARkZGSqZmrmjNw6QAAAQjANMAc1dCADMwBXWmroTV0QAIRVTM1c0ZuHSACACEYCZgDmroQAZmAK601dCauiABCKmSmZq5ozcOkAIAGIwAzAINXQgBTABNXQmrogAgiqmZq5ozcOkAMAGImUAswCTV0IAcwAjV0IAM3WmroTV0QAI1dEAEIqpmauaM3DpAEABiMAkwCDV0IAU3WmroTV0QAQRVTM1c0ZuHSAKADEYCpgEGroQAgiqmZq5ozcOkAYAGIwETAINXQgBTdaauhNXRABBFVMzVzRm4dIA4AMRgCm641dCAFN1xq6E1dEAEEVUzNXNGbh0gEAAxGAObrjV0IAU3WmroTV0QAQRVTM1c0ZuHSASADEYAJgEGroQApgEGroTV0QAQRVTM1c0ZuHSAUADEYB5gEGroQAgiYCySEDUFQxACMjIyVTM1c0ZuHSAAACEYAJuuNXQgAhFTJTM1c0ZuHSACADEYApgAmroQAgiqmZq5ozcOkAIAGIwAzdcauhACmACauhNXRABBEwGkkBA1BUMQAjIyMlUzNXNGbh0gAAAhGACYB5q6EAEIqpmauaM3DpABABCMAIRVTM1c0ZuHSAEACEYAgiYDqSAQNQVDEANVc8AEaq50AE3VAAmqueACNVc6ACbqgATVXPABGqudABN1QAJEZGRkqmZq5ozcOkAEAEIwAhFVMzVzRm4dIAAAIRgAmAKauhABCJgKpJA1BUMQA1VzwARqrnQATdUACRkZGSqZmrmjNw6QAAAQjABMAU1dCACEVUzNXNGbh0gAgAhGAGYApq6EAEIqpmauaM3DpACABCMAU3XGroQAQiYCaSAQNQVDEANVc8AEaq50AE3VAAkZGRkqmZq5ozcOkAAAEIwATdcauhABCKqZmrmjNw6QAQAQjADN1xq6EAEImAkkkDUFQxADVXPABGqudABN1QAJGRkZKpmauaM3DpAAABCMAE3XGroQAZutNXQmrogAQiYCKSAQNQVDEANVc8AEaq50AE3VAAmrogAREwDEkBA1BUMQA1VzwARqrnQATdUACYBBESqZmrmjNw6QAAAIiYBSSBA1BUMwARVTM1c0ZuIABSAAETMAMzcCkAAAEZuBSAAABETKACZuEADABmbhAAgARmAIAEACYA5ESqZmrmjNw6QAAAIiAEImYAYAJm4YAIAEjIjACN1gAJgDkRmZqrnwASgAFADMAQ1dCAFMAM1dEAEgAEACRkZGSqZmrmjNw6QAAAQjACEVUzNXNGbh0gAgAhGAAImAOkgQNQVDEANVc8AEaq50AE3VAAkRkZGSqZmrmjNw6QAAAQjACEVUzNXNGbh0gAgAhGACYApq6EAEIqpmauaM3DpACABCMAQRMAdJEDUFQxADVXPABGqudABN1QAJGRkZKpmauaM3DpAAABCMAE3XGroQAZutNXQmrogAQiYAqSAQNQVDEANVc8AEaq50AE3VAAkZMZq5wAGAARkYAIAJGAERmAEAEACQ=="\nThe script hash is:ScriptHash "e2b715a86bee4f14fef84081217f9e2646893a7d60a38af69e0aa572"\nThe plutus evaluation error is: CekError An error has occurred:\nThe machine terminated part way through evaluation due to overspending the budget.\nThe budget when the machine terminated was:\n({cpu: -6583\n| mem: 2550})\nNegative 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.\nThe protocol version is: Version 9\nScriptInfo: MintingScript e2b715a86bee4f14fef84081217f9e2646893a7d60a38af69e0aa572\nTxInfo:\n TxId: 11424a202248d46eb4edaf62b2b384a3bc21e8bb0de479ffd3580e0bf1a38b8e\n Inputs: [ 898f3e65b2817caa315a7f738143b6b0f5977f07b91d3fbf1547157af8fdc4b5!0 -> - Value {getValue = Map {unMap = [(,Map {unMap = [("",600000000000)]})]}} addressed to\n PubKeyCredential: d86d1c9e15e4d30ab4153e9fb9187996a34545e044b9f0e792ae3306 (no staking credential)\n with datum\n no datum\n with referenceScript\n ]\n Reference inputs: []\n Outputs: [ - Value {getValue = Map {unMap = [(,Map {unMap = [("",5000000)]})]}} addressed to\n ScriptCredential: e2b715a86bee4f14fef84081217f9e2646893a7d60a38af69e0aa572 (no staking credential)\n with datum\n inline datum : <<CRWa3sQc5dSN3iSidaWywueUYchpPvYK+fwyBw==,\n D/H9RJR7zUzcbwaEHYgawqC+s/FbpfXjwImR2S6LpkM=>,\n [</3psnz6/gKtFfMp4E4QqohUNDa00GnlWozTHbQ==,\n GoKBi0iFdMFW8fqJQbrZtLSXa6Ic+u3hqzOjDeOfft0=>,\n <wiM4J8yjoMwsSfkaZidsRovplNuFXWtBMAX6iA==,\n O4U2o47qhxzIsndd61hhrENI72GoS56cZDSArluI/8M=>,\n <sjoCowgWXHAs4Av3YKDv8zsnsSkG4YBbdoUSXw==,\n /fkTq/248AmXzKXBTKC4Lz0IeBAVoGHpFERCXW93f/o=>],\n [</GoRTbdtMd5YV5N0nc1q0tbAKlLOkiaCBla+3Q==,\n fJ0ccywxMGbe0VaNwksSMMx4LTMctlRlvGWtXfb76DI=>,\n <Fo/wYA9iRYEhkvuEwdWnISmuBEWicqzGXciPsw==,\n xg4gvkzg+kV6jGWt4BAFR15xiA6SHC7kCmtR1C/ZXhE=>,\n <xTCoty3XLjIOf0iD/LmNAFjnDvz05+CHHOE+tw==,\n znV0jTelXvH67HIZcIBZR5GXllpZJ6f5kBxryXB+6qE=>]>\n with referenceScript\n\n , - Value {getValue = Map {unMap = [(,Map {unMap = [("",5000000)]})]}} addressed to\n ScriptCredential: 247099f60a4f06182a19144be8155477fff53fa4d67ebc9c0050e360 (no staking credential)\n with datum\n inline datum : [<+14L5IAa6nMTXv5D9KOm0IFHr1IxEpht1efROw==,\n V/VTDgV+ILcmt4qjEQTUFcsrzljGaYKaRNAJwbEAW80=>,\n <o8bLk6MrAod8YfZKscZsRRPxJ4i/fFAOrX2UGw==,\n mSPzHBzhTirL1QX6juvUzmd9G82WxtcWEPgQ8gCOzDo=>,\n <7aa+++Gky4GRdS2XtnYnpUi8xfPkZT7P26fN8A==,\n 7NZL7vz1nwGpdUV7CjYj0rA9W89xZCqNjYJ15GaKrTE=>]\n with referenceScript\n\n , - Value {getValue = Map {unMap = [(,Map {unMap = [("",599989467619)]}),(0af5a4a67c717adbcd0b5c66a92743d896a09fdbbf98db4bc39638f5,Map {unMap = [("Vote NFT",1)]}),(e2b715a86bee4f14fef84081217f9e2646893a7d60a38af69e0aa572,Map {unMap = [("Identity NFT",1)]})]}} addressed to\n PubKeyCredential: d86d1c9e15e4d30ab4153e9fb9187996a34545e044b9f0e792ae3306 (no staking credential)\n with datum\n no datum\n with referenceScript\n ]\n Fee: 532381\n Value minted: Value {getValue = Map {unMap = [(0af5a4a67c717adbcd0b5c66a92743d896a09fdbbf98db4bc39638f5,Map {unMap = [("Vote NFT",1)]}),(e2b715a86bee4f14fef84081217f9e2646893a7d60a38af69e0aa572,Map {unMap = [("Identity NFT",1)]})]}}\n TxCerts: []\n Wdrl: []\n Valid range: (-\8734 , +\8734)\n Signatories: []\n Redeemers: [ ( Minting 0af5a4a67c717adbcd0b5c66a92743d896a09fdbbf98db4bc39638f5\n , {} )\n , ( Minting e2b715a86bee4f14fef84081217f9e2646893a7d60a38af69e0aa572\n , {} ) ]\n Datums: []\n Votes: []\n Proposal Procedures: []\n Current Treasury Amount: \n Treasury Donation: \nRedeemer:\n {}\n" "hgmCAlkLLFkLKQEBADIyMjIyMjIyMiMkmMjIyVTM1c0ZuHSAAACETIyMjIyMjIygAmRkZKpmauaM3DpAAABCJkZGRkZGRkZGRkZGRkZGRkZmZmZmZmRmZGZGZERERERERERQAQEIB8A6AbAMgFwCoBMAiAPAGgCwBIAcAKACMAE1dCAoYAJq6EBMwJCMjIyVTM1c0ZuHSAAACEYA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SAAETMAMzcCkAAAEZuBSAAABETKACZuEADABmbhAAgARmAIAEACYA5ESqZmrmjNw6QAAAIiAEImYAYAJm4YAIAEjIjACN1gAJgDkRmZqrnwASgAFADMAQ1dCAFMAM1dEAEgAEACRkZGSqZmrmjNw6QAAAQjACEVUzNXNGbh0gAgAhGAAImAOkgQNQVDEANVc8AEaq50AE3VAAkRkZGSqZmrmjNw6QAAAQjACEVUzNXNGbh0gAgAhGACYApq6EAEIqpmauaM3DpACABCMAQRMAdJEDUFQxADVXPABGqudABN1QAJGRkZKpmauaM3DpAAABCMAE3XGroQAZutNXQmrogAQiYAqSAQNQVDEANVc8AEaq50AE3VAAkZMZq5wAGAARkYAIAJGAERmAEAEACQ=="\nThe script hash is:ScriptHash "0af5a4a67c717adbcd0b5c66a92743d896a09fdbbf98db4bc39638f5"\nThe plutus evaluation error is: CekError An error has occurred:\nThe machine terminated part way through evaluation due to overspending the budget.\nThe budget when the machine terminated was:\n({cpu: -100200\n| mem: 2886})\nNegative 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.\nThe protocol version is: Version 9\nScriptInfo: MintingScript 0af5a4a67c717adbcd0b5c66a92743d896a09fdbbf98db4bc39638f5\nTxInfo:\n TxId: 11424a202248d46eb4edaf62b2b384a3bc21e8bb0de479ffd3580e0bf1a38b8e\n Inputs: [ 898f3e65b2817caa315a7f738143b6b0f5977f07b91d3fbf1547157af8fdc4b5!0 -> - Value {getValue = Map {unMap = [(,Map {unMap = [("",600000000000)]})]}} addressed to\n PubKeyCredential: d86d1c9e15e4d30ab4153e9fb9187996a34545e044b9f0e792ae3306 (no staking credential)\n with datum\n no datum\n with referenceScript\n ]\n Reference inputs: []\n Outputs: [ - Value {getValue = Map {unMap = [(,Map {unMap = [("",5000000)]})]}} addressed to\n ScriptCredential: e2b715a86bee4f14fef84081217f9e2646893a7d60a38af69e0aa572 (no staking credential)\n with datum\n inline datum : <<CRWa3sQc5dSN3iSidaWywueUYchpPvYK+fwyBw==,\n D/H9RJR7zUzcbwaEHYgawqC+s/FbpfXjwImR2S6LpkM=>,\n [</3psnz6/gKtFfMp4E4QqohUNDa00GnlWozTHbQ==,\n GoKBi0iFdMFW8fqJQbrZtLSXa6Ic+u3hqzOjDeOfft0=>,\n <wiM4J8yjoMwsSfkaZidsRovplNuFXWtBMAX6iA==,\n O4U2o47qhxzIsndd61hhrENI72GoS56cZDSArluI/8M=>,\n <sjoCowgWXHAs4Av3YKDv8zsnsSkG4YBbdoUSXw==,\n /fkTq/248AmXzKXBTKC4Lz0IeBAVoGHpFERCXW93f/o=>],\n [</GoRTbdtMd5YV5N0nc1q0tbAKlLOkiaCBla+3Q==,\n fJ0ccywxMGbe0VaNwksSMMx4LTMctlRlvGWtXfb76DI=>,\n <Fo/wYA9iRYEhkvuEwdWnISmuBEWicqzGXciPsw==,\n xg4gvkzg+kV6jGWt4BAFR15xiA6SHC7kCmtR1C/ZXhE=>,\n <xTCoty3XLjIOf0iD/LmNAFjnDvz05+CHHOE+tw==,\n znV0jTelXvH67HIZcIBZR5GXllpZJ6f5kBxryXB+6qE=>]>\n with referenceScript\n\n , - Value {getValue = Map {unMap = [(,Map {unMap = [("",5000000)]})]}} addressed to\n ScriptCredential: 247099f60a4f06182a19144be8155477fff53fa4d67ebc9c0050e360 (no staking credential)\n with datum\n inline datum : [<+14L5IAa6nMTXv5D9KOm0IFHr1IxEpht1efROw==,\n V/VTDgV+ILcmt4qjEQTUFcsrzljGaYKaRNAJwbEAW80=>,\n <o8bLk6MrAod8YfZKscZsRRPxJ4i/fFAOrX2UGw==,\n mSPzHBzhTirL1QX6juvUzmd9G82WxtcWEPgQ8gCOzDo=>,\n <7aa+++Gky4GRdS2XtnYnpUi8xfPkZT7P26fN8A==,\n 7NZL7vz1nwGpdUV7CjYj0rA9W89xZCqNjYJ15GaKrTE=>]\n with referenceScript\n\n , - Value {getValue = Map {unMap = [(,Map {unMap = [("",599989467619)]}),(0af5a4a67c717adbcd0b5c66a92743d896a09fdbbf98db4bc39638f5,Map {unMap = [("Vote NFT",1)]}),(e2b715a86bee4f14fef84081217f9e2646893a7d60a38af69e0aa572,Map {unMap = [("Identity NFT",1)]})]}} addressed to\n PubKeyCredential: d86d1c9e15e4d30ab4153e9fb9187996a34545e044b9f0e792ae3306 (no staking credential)\n with datum\n no datum\n with referenceScript\n ]\n Fee: 532381\n Value minted: Value {getValue = Map {unMap = [(0af5a4a67c717adbcd0b5c66a92743d896a09fdbbf98db4bc39638f5,Map {unMap = [("Vote NFT",1)]}),(e2b715a86bee4f14fef84081217f9e2646893a7d60a38af69e0aa572,Map {unMap = [("Identity NFT",1)]})]}}\n TxCerts: []\n Wdrl: []\n Valid range: (-\8734 , +\8734)\n Signatories: []\n Redeemers: [ ( Minting 0af5a4a67c717adbcd0b5c66a92743d896a09fdbbf98db4bc39638f5\n , {} )\n , ( Minting e2b715a86bee4f14fef84081217f9e2646893a7d60a38af69e0aa572\n , {} ) ]\n Datums: []\n Votes: []\n Proposal Procedures: []\n Current Treasury Amount: \n Treasury Donation: \nRedeemer:\n {}\n" "hgmCAlkLOFkLNQEBADIyMjIyMjIyMiWTKAAZGRkqmZq5ozcOkAAAEImRkZGRkZGRlABMjIyVTM1c0ZuHSAAACETIyMjIyMjIyMjIyMjIyMjIzMzMzMzMjMyMyMyIiIiIiIiIigAgIQD4B0A2AZALgFQCYBEAeANAFgCQA4AUAEYAJq6EBQwATV0ICZgSEZGRkqmZq5ozcOkAAAEIwATAgNXQgAzAFNXQmrogAQiYFqSBA1BUMQA1VzwARqrnQATdUACZgSAAmroQESMjIyVTM1c0ZuHSAAACETIygAmRkZKpmauaM3DpAAABCMAEwIzV0IAMzAhIyMjJVMzVzRm4dIAAAIRgAmBOauhABCKqZmrmjNw6QAQAQiZQAzdaauhACm601dCADN1pq6E1dEACNXRAAiJgapIBA1BUMQA1VzwARqrnQATdUACauhNXRAAhEwMUkQNQVDEANVc8AEaq50AE3VGroQA5gDmroQApkZGSqZmrmjNw6QAAAQjAAEV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BGXFHGEoBGakVGQIoARmuzRkCHQEZhDwYIBoAAQqWGCAaAAEaqhggGRxLGCAZHN8YIBktGhggGgABT1gaAAHhQxkciTkDgxkGtBkCJRg5GgABT1gAARoAAWFCGQIHAAEaAAEiwRggGgABT1gaAAHhQxkciTkDgxkGtBkCJRg5GgABT1gAAQEaAAFPWBoAAeFDGRyJOQODGQa0GQIlGDkaAAFPWAABGgAOlHIaAANBQAACGgAEITwZWDwEGgAWPK0Z/DYEGU/zAQQAGgACKqgYIBoAAYm0GQGkAQEaAAE+/xggGehqGCAZTq4YIBlgDBggGVEIGCAZZU0YIBlgLxggGgKQ8ecKGgMuk68ZN/0KGgKY5AsZZsQKGT6AGGQZPoAYZBoADq8fEhoAKm4GBhoABr6YARoDIarHGQ6sEhoABBaZEhoEjkZuGSKkEhoDJ+yaEhoAHnQ8GCQaADFBDwwaAA2/ngEaCfL20xkQ0xgkGgAEV4IYJBoJbkQCGWe1GCQaBHPO6BgkGhPmJHIBGg8j1AEYSBoAISxWGEgaACKBRhn8OwQaAAMrABkgdgQaABO+BBlwLBg/AAEaAA9Z2RmqZxj7AAE="]))))) :| []))

carbolymer added a commit to carbolymer/CIP-1694-gov-tool that referenced this issue Aug 21, 2024
@carbolymer carbolymer changed the title Auto-balancing bug with minting assets Incorrect script budget estimation when minting assets and autobalancing a transaction Aug 22, 2024
carbolymer added a commit to carbolymer/CIP-1694-gov-tool that referenced this issue Aug 22, 2024
@carbolymer
Copy link
Contributor

Minimal script which can be used to reproduce an issue using cardano-cli:

#!/bin/bash

function cardano-cli() {
  cabal exec cardano-cli -- "$@"
}


workdir=/home/mgalazyn/workspace/iohk/CIP-1694-gov-tool/x509-cert-example/orchestrator
orch_addr=$(cat $workdir/orchestrator.addr)
ROOT=/home/mgalazyn/workspace/iohk/CIP-1694-gov-tool/local-testnet/example
export CARDANO_NODE_SOCKET_PATH=${ROOT}/node-spo1/node.sock

cabal build cardano-cli

function mint_send() {
  cardano-cli -- conway transaction build --testnet-magic 42 \
   --tx-in "$(cardano-cli query utxo --address "$orch_addr" --testnet-magic 42 --out-file /dev/stdout | jq -r 'keys[0]')" \
   --tx-in-collateral "$(cardano-cli query utxo --address "$orch_addr" --testnet-magic 42 --out-file /dev/stdout | jq -r 'keys[0]')" \
   --mint "1 $(cat $workdir/coldAlwaysTrueMint.pol).4964656e74697479204e4654" \
   --tx-out $(cat $workdir/coldLockScript.addr)+5000000"$2" \
   --change-address $orch_addr \
   --mint-script-file CIP-1694-gov-tool/assets/V3/coldAlwaysTrueMint.plutus --mint-redeemer-value {} \
   --calculate-plutus-script-cost $1

   # --tx-out-inline-datum-file CIP-1694-gov-tool/assets/datums/initColdLockScriptDatum.json \
}

# failing one
mint_send "cost.fail.json" "" &> fail.log
# succeeding one
mint_send "cost.succeeding.json" "+1 $(cat $workdir/coldAlwaysTrueMint.pol).4964656e74697479204e4654" &> success.log

@carbolymer
Copy link
Contributor

Fixed by:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants