Closed johndacost closed 4 years ago
Up
Hello @johndacost
If you're using v1.0.36 of the extension you shouldn't be using
"fabric-ca-client": "^2.2.0",
"fabric-network": "^2.2.0",
But instead should be using 1.x of those dependencies.
If you can interact with your smart contract okay with the extension then the problem lies with either the SDK or your application.
I would recommend either raising an issue on StackOverflow or creating a JIRA.
Closing issue.
Thanks, Jake
Description
I use the following two sdk to connect and interact with the local-network created by the extension.
package.json:
What I did first was get the default wallets created here:
C:\Users\johnny.dacosta\.fabric-vscode\environments\chaincode-env
I copied it to my workspace and then added the `admin' identity to my wallets with the following function:
I manage to add the new identity admin:
With this identity I can![image](https://user-images.githubusercontent.com/3956368/90224794-832f9c80-de10-11ea-8106-71b885e8c0da.png)
getState
of my asset:But if I try to do
putState
transaction I got this error:All the peer are up:![image](https://user-images.githubusercontent.com/3956368/90224972-d4d82700-de10-11ea-96c7-fd99bc2c53a7.png)
I'm just confused why is not working with
putState
transaction.I already check my smartcontract is good I can manage to do![image](https://user-images.githubusercontent.com/3956368/90225898-714ef900-de12-11ea-9cc6-0d35a9ee3897.png)
putState
operation with the extension:Your Environment