Closed boemekeld closed 2 months ago
The issue seems to be an invalid address in one of your payload that failed to be decoded. Digging in a bit, I found two addresses in your outputs, which serializes down to:
008F44DD942A3BCC1A7D6EA1F8BDDC0912CC1C4C6E7743254DC3DF0250
Which is invalid, as the first byte indicates an address of type-0, which must have both a payment part and a delegation part (see: https://github.com/cardano-foundation/CIPs/blob/master/CIP-0019/CIP-0019-cardano-addresses.abnf#L1). You could switch to the following type-6 address instead:
608F44DD942A3BCC1A7D6EA1F8BDDC0912CC1C4C6E7743254DC3DF0250
Which then evaluates successfully to:
❯ aiken tx simulate /tmp/transaction.cbor /tmp/inputs.cbor /tmp/outputs.cbor
Parsing script context
Simulating 15ac7e53589d3f6f797188d32523b730e6e964954293efa2496b9941d9ae5a92
Redeemer Spend → 0
[
{
"mem": 2033050,
"cpu": 1145591298
}
]
Note: this group of commands is under rework, and need some love indeed to provide better feedback and interfaces.
Description: Encountered a fatal error while running "aiken tx simulate".
Error Details:
Steps to Reproduce:
aiken tx simulate transaction.txt input.txt output.txt
with the provided input files.Input files: transaction.txt input.txt output.txt