celo-org / celo-blockchain

Official repository for the golang Celo Blockchain
https://celo.org
GNU Lesser General Public License v3.0
548 stars 195 forks source link

Authorize Validator Signing Key Not Working #752

Closed joesixpack closed 4 years ago

joesixpack commented 4 years ago

$ celocli account:authorize --from $CELO_VALIDATOR_ADDRESS --role validator --signature 0x$CELO_VALIDATOR_SIGNER_SIGNATURE --signer 0x$CELO_VALIDATOR_SIGNER_ADDRESS Error: Unable to parse signature at parseSignatureWithoutPrefix (~/.nvm/versions/node/v10.17.0/lib/node_modules/@celo/celocli/node_modules/@celo/utils/src/signatureUtils.ts:147:9) at Object.parseSignature (~/.nvm/versions/node/v10.17.0/lib/node_modules/@celo/celocli/node_modules/@celo/utils/src/signatureUtils.ts:129:10) at AccountsWrapper.parseSignatureOfAddress (~/.nvm/versions/node/v10.17.0/lib/node_modules/@celo/celocli/node_modules/@celo/contractkit/src/wrappers/Accounts.ts:298:12) at Authorize. (~/.nvm/versions/node/v10.17.0/lib/node_modules/@celo/celocli/src/commands/account/authorize.ts:37:26) at Generator.next () at fulfilled (~/.nvm/versions/node/v10.17.0/lib/node_modules/@celo/celocli/lib/commands/account/authorize.js:4:58)

joesixpack commented 4 years ago

Found the problem. The validator signer signature address was truncated at $ in nano (i.e. there was nothing to the right).