Closed yumingchangsabodota closed 2 years ago
Are you using polkadot JS? This is a classic substrate problem when polkadot JS doesn't know the types.
yes, how should I send a sign transaction through terminal? Sorry, I am completely new to substrate and really want to learn and build my own chain.
The most likely cause is that the polkadot JS you are using is too new. The recipes need to be updated to a newer substrate version.
Found solution. Updated json in the polkadot js frontend as below:
{ "TransactionInput": { "parent_output": "Hash", "signature": "Signature" }, "TransactionOutput": { "value": "u128", "pubkey": "Hash", "sale": "u32" }, "Transaction": { "inputs": "Vec<TransactionInput>", "outputs": "Vec<TransactionOutput>" }, "Entity": { "parent": "Option<Vec<u8>>", "status": "Vec<u8>", "name": "Vec<u8>" } }
I am getting errors like cannot convert parameters between node and runtime, what am I doing wrong here? Thanks