but I get error: chaincode response 500, Incorrect number of params. Expected 1, received 0
The documentation doesn't state a particular way to pass arguments to the chaincode this way. I tried const proposal = contract.newProposal(CC_TX, { arguments: values }); and I get chaincode response 500, could not unmarshal txValues unexpected end of JSON input
Looking inside the chaincode execution pod, I noticed that the values arguments is passed using either method, although the latter seems to add {.
I haven't been able to find samples newProposal passing arguments with the nodeJS SDK. Is it even supported?
Following documentation for "Fine-grained submit transaction" in the api docs for nodejs I'm trying to execute a transaction,
but I get error:
chaincode response 500, Incorrect number of params. Expected 1, received 0
The documentation doesn't state a particular way to pass arguments to the chaincode this way. I triedconst proposal = contract.newProposal(CC_TX, { arguments: values });
and I getchaincode response 500, could not unmarshal txValues unexpected end of JSON input
Looking inside the chaincode execution pod, I noticed that the values arguments is passed using either method, although the latter seems to add {.
I haven't been able to find samples newProposal passing arguments with the nodeJS SDK. Is it even supported?