We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
spendScript[Ref]
What's the purpose of the Datum parameter since the actually used datum that is sent to validator is the actual one that is attached to the UTXO?
plutus-simple-model/psm/src/Plutus/Model/Contract.hs
Line 467 in 450e278
I.e. when I have a UTXO at the script address with datum "BUM" and use the on this UTXO:
spendScript script oref () "Hello"
Then when I send the transaction, the datum that arrives to the validator is the "BUM" datum instead of the "Hello" datum.
Maybe the Datum parameter could be removed to prevent confusion?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What's the purpose of the Datum parameter since the actually used datum that is sent to validator is the actual one that is attached to the UTXO?
plutus-simple-model/psm/src/Plutus/Model/Contract.hs
Line 467 in 450e278
I.e. when I have a UTXO at the script address with datum "BUM" and use the on this UTXO:
Then when I send the transaction, the datum that arrives to the validator is the "BUM" datum instead of the "Hello" datum.
Maybe the Datum parameter could be removed to prevent confusion?
The text was updated successfully, but these errors were encountered: