celocli transfer:gold --from=$FROM_ACC --to=$TO_ACC --value=1
Sending Transaction: transfer... !
Error: Returned error: authentication needed: password or unlock
at Object.ErrorResponse (~/.nvm/versions/node/v10.16.3/lib/node_modules/@celo/celocli/node_modules/web3-core-helpers/src/errors.js:29:16)
at ~/.nvm/versions/node/v10.16.3/lib/node_modules/@celo/celocli/node_modules/web3-core-requestmanager/src/index.js:140:36
at decoratedCallback (~/.nvm/versions/node/v10.16.3/lib/node_modules/@celo/celocli/node_modules/@celo/contractkit/lib/utils/rpc-caller.js:128:13)
at XMLHttpRequest.request.onreadystatechange (~/.nvm/versions/node/v10.16.3/lib/node_modules/@celo/celocli/node_modules/web3-providers-http/src/index.js:102:13)
at XMLHttpRequestEventTarget.dispatchEvent (~/.nvm/versions/node/v10.16.3/lib/node_modules/@celo/celocli/node_modules/xhr2-cookies/dist/xml-http-request-event-target.js:34:22)
at XMLHttpRequest._setReadyState (~/.nvm/versions/node/v10.16.3/lib/node_modules/@celo/celocli/node_modules/xhr2-cookies/dist/xml-http-request.js:208:14)
at XMLHttpRequest._onHttpResponseEnd (~/.nvm/versions/node/v10.16.3/lib/node_modules/@celo/celocli/node_modules/xhr2-cookies/dist/xml-http-request.js:318:14)
at IncomingMessage.<anonymous> (~/.nvm/versions/node/v10.16.3/lib/node_modules/@celo/celocli/node_modules/xhr2-cookies/dist/xml-http-request.js:289:61)
Expected Behavior
All
celocli
calls should work.Current Behavior
Tried to do a transfer:
This is the log of the node:
The node was started with this params:
ocker run --name celo-ultralight-validator-account -it --restart unless-stopped -p 127.0.0.1:8545:8545 -v $PWD:/root/.celo $CELO_IMAGE --verbosity 3 --networkid $NETWORK_ID --syncmode lightest --rpc --rpcaddr 0.0.0.0 --rpcapi eth,net,web3,debug,admin,personal --etherbase $CELO_ACCOUNT_ADDRESS --bootnodes $BOOTNODE_ENODES --allow-insecure-unlock --unlock $CELO_ACCOUNT_ADDRESS --nousb --password /root/.celo/.password
Then tried to make another transfer and it worked just fine.