distributed-compliance-ledger icon indicating copy to clipboard operation
distributed-compliance-ledger copied to clipboard

Error: invalid character 'k' looking for beginning of value

Open xwmdev opened this issue 3 years ago • 1 comments

dcld tx auth propose-add-account --address=cosmos18g40ky73s28sa3p9s52af8e97g0yq7kthfjcpa --pubkey={"@type":"/cosmos.crypto.secp256k1.PubKey","key":"Ah9z3iNx3Z+IQgBg8rgkGqy6ZmvM8wzaDUZ6gWFN+5j9"} --roles=Vendor,NodeAdmin --vid=4563 --from=jack

Error: invalid character 'k' looking for beginning of value

xwmdev avatar Jul 29 '22 06:07 xwmdev

I had the same issue and it was solved for me by adding ' around the pubkey parameter:

--pubkey='{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"Ah9z3iNx3Z+IQgBg8rgkGqy6ZmvM8wzaDUZ6gWFN+5j9"}'

But after doing this i had this issue: https://github.com/zigbee-alliance/distributed-compliance-ledger/issues/375

svenehlers avatar Nov 02 '23 14:11 svenehlers