flow-cli icon indicating copy to clipboard operation
flow-cli copied to clipboard

Error deploying a project to testnet: invalid signature

Open BlockchainFreak opened this issue 2 years ago • 2 comments

public key on the account does not have a valid signature

I am trying to deploy a project on testnet flow project deploy --network=testnet

It shows the given error Error deploying Domains: ([Error Code: 1006] invalid proposal key: public key 0 on account 3e3c2b33d3c8cd61 does not have a valid signature: [Error Code: 1009] invalid envelope key: public key 0 on account 3e3c2b33d3c8cd61 does not have a valid signature: signature is not valid)

I tried updating the flow-cli to 0.38.0 but it is not helping. The account I used is a testnet account and I am sure that it has correct address and private key in flow.json

BlockchainFreak avatar Aug 10 '22 22:08 BlockchainFreak

Will look into this thanks @BlockchainFreak

sukantoraymond avatar Aug 11 '22 22:08 sukantoraymond

Hey @BlockchainFreak I just tried project deploy command on testnet on my end and it works fine. Can you try again with newest flow cli version?

sukantoraymond avatar Aug 16 '22 18:08 sukantoraymond

Upgrading the Flow CLI to v0.39.1, and initializing a new project helped. Finally, I was able to deploy the project on testnet.

BlockchainFreak avatar Aug 17 '22 07:08 BlockchainFreak