{ "setup": { "mnemonic": "all all all all all all all all all all all all", "passphrase": "" }, "tests": [ { "description": "Collateral input prev hash has incorrect length", "parameters": { "protocol_magic": 764824073, "network_id": 1, "fee": 42, "ttl": 10, "certificates": [], "withdrawals": [], "auxiliary_data": null, "inputs": [ { "path": "m/1852'/1815'/0'/0/0", "prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7", "prev_index": 0 } ], "outputs": [ { "address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2", "amount": "3003112" } ], "mint": [], "script_data_hash": "d593fd793c377ac50a3169bb8378ffc257c944da31aa8f355dfa5a4f6ff89e02", "collateral_inputs": [ { "path": "m/1852'/1815'/0'/0/0", "prev_hash": "1af8fa0b754ff99253d983894e63a2b09cbb56c833ba18c338421016", "prev_index": 0 } ], "required_signers": [], "signing_mode": "PLUTUS_TRANSACTION", "additional_witness_requests": [], "include_network_id": false }, "result": { "error_message": "Invalid collateral input" } }, { "description": "Plutus transaction with output containing address parameters", "parameters": { "protocol_magic": 764824073, "network_id": 1, "fee": 42, "ttl": 10, "certificates": [], "withdrawals": [], "auxiliary_data": null, "inputs": [ { "prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7", "prev_index": 0 } ], "outputs": [ { "addressType": 0, "path": "m/1852'/1815'/0'/0/0", "stakingPath": "m/1852'/1815'/0'/2/0", "amount": "7120787" } ], "mint": [], "script_data_hash": "d593fd793c377ac50a3169bb8378ffc257c944da31aa8f355dfa5a4f6ff89e02", "collateral_inputs": [ { "path": "m/1852'/1815'/0'/0/0", "prev_hash": "1af8fa0b754ff99253d983894e63a2b09cbb56c833ba18c3384210163f63dcfc", "prev_index": 0 } ], "required_signers": [], "signing_mode": "PLUTUS_TRANSACTION", "additional_witness_requests": [], "include_network_id": false }, "result": { "error_message": "Invalid output" } }, { "description": "Required signer with both key path and key hash", "parameters": { "protocol_magic": 764824073, "network_id": 1, "fee": 42, "ttl": 10, "certificates": [], "withdrawals": [], "auxiliary_data": null, "inputs": [ { "prev_hash": "1af8fa0b754ff99253d983894e63a2b09cbb56c833ba18c3384210163f63dcfc", "prev_index": 0 } ], "outputs": [ { "address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r", "amount": "1" } ], "mint": [], "script_data_hash": "d593fd793c377ac50a3169bb8378ffc257c944da31aa8f355dfa5a4f6ff89e02", "collateral_inputs": [ { "path": "m/1852'/1815'/0'/0/0", "prev_hash": "1af8fa0b754ff99253d983894e63a2b09cbb56c833ba18c3384210163f63dcfc", "prev_index": 0 } ], "required_signers": [ { "key_path": "m/1852'/1815'/0'/0/1", "key_hash": "3a7f09d3df4cf66a7399c2b05bfa234d5a29560c311fc5db4c490711" } ], "signing_mode": "PLUTUS_TRANSACTION", "additional_witness_requests": [], "include_network_id": false }, "result": { "error_message": "Invalid required signer" } } ] }