Closed lingyiliu016 closed 6 years ago
I get this error as well
@lingyiliu016 , it seems like your JS code declares authorization of user 'child.acnt' but doesn't sign the transaction with the users' private key.
Since your contract doesn't require authorization (eosiolib function require_auth
) you don't need to provide authorization.
This can happen if the chainId does not match. There is a warning in the next eosjs release. Provide the cleos get info
chain_id here Eos.Localhost({chainId: 'hex'}) ..
here is my smart contract file: ping.cpp
here is my eosjs script pingpong.js
when I run commend
node pingpong.js
here is the process nodeos show information:here is the error
how should I do?