Closed ngua closed 2 years ago
I will have a crack at fixing this as it appeared under a project I'm in.
When changing the datum for sending value to a script, the error message provided
and inferredFromParameters
changes
nexpected parse error on input:{"type":"jsonwsp/response","version":"1.0","servicename":"ogmios","methodname":"SubmitTx","result":{"SubmitFail":[{"extraDataMismatch":{"provided":"f88f09a0153e89ee57ed4a7385867307968332c76e62a6d61b689647cf6ba053","inferredFromParameters":"2f50ea2546f8ce020ca45bfcf2abeb02ff18af2283466f888ae489184b3d2d39"}}]},"reflection":{"id":"SubmitTx-l2uh8nrf","step":"INIT"}}
to
unexpected parse error on input:{"type":"jsonwsp/response","version":"1.0","servicename":"ogmios","methodname":"SubmitTx","result":{"SubmitFail":[{"extraDataMismatch":{"provided":"3965346f650a23bba6a6d791999a0e2db4fb8017ee421ea7c6034b9464102ab6","inferredFromParameters":"3aa207d08590b85a3003d45091ac302ed9c51101c9f967f448a05692401bf06a"}}]},"reflection":{"id":"SubmitTx-l2uhmpj7","step":"INIT"}}
I would expect maybe one to change, not both.
Strangely, we get a
PPViewHashesDontMatch
(or its Ogmios wrapper,extraDataMismatch
) when paying to script inputs without also minting something. That is, we need to mint something in order to get the tx to validate