I want to update my contract on testnet using the flow CLI command. But instead of seeing a success, I get the following error:
> flow accounts update-contract Xxxxx ./Xxxxx.cdc --signer admin-account -n testnet
Transaction ID: 04bd2c8f5b62f112e3311f8053e4af9cad66fc10df83471d53d990dbf4de9867
Updating contract 'Xxxxx' on account 'Yyyyy'...⠙
❌ Command Error: [Error Code: 1006] invalid proposal key: public key 0 on account Yyyyy does not have a valid signature: [Error Code: 1009] invalid envelope key: public key 0 on account Yyyyy does not have a valid signature: signature is not valid
My flow.json config looks like this
{
"accounts": {
"admin-account": {
"address": "zszssszszz",
"key": "yyyyyyyyyyy"
}
}
}
The account that I want to deploy to has 4 keys. When I deploy to another account which has only 1 key, I get no error message.