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

Multiple signers don't work in 0.40.1

Open kal-in opened this issue 3 years ago • 2 comments

Problem

Multiple signers are still not supported in 0.40.1 (installed via homebrew) Additionally, flow-cli reports that there is a newer version (v0.39.3) whereas "flow version" reports "Version: v0.40.1"

Steps to Reproduce

flow transactions send ./transactions/test.cdc --signer account1 --signer account2 --network mainnet

also tried this format since documentation for multiple signers is not updated yet:

flow transactions send ./transactions/test.cdc --signer account1 account2 --network mainnet

Expected

Transaction to be signed by two authorizers

Actual output

❗ Version warning: a new version of Flow CLI is available (v0.39.3). Read the installation guide for upgrade instructions: https://docs.onflow.org/flow-cli/install

❌ Command Error: provided authorizers length mismatch, required authorizers 2, but provided 1

More info

BTW when I downloaded sources for 0.40.1 (https://github.com/onflow/flow-cli/archive/refs/tags/v0.40.1.tar.gz) version.txt inside says "v0.39.3". It's the same for version 0.40.0

kal-in avatar Sep 29 '22 15:09 kal-in

Additionally, flow-cli reports that there is a newer version (v0.39.3) whereas "flow version" reports "Version: v0.40.1"

We are currently updating versions so it might be some delays this will be reported. Apologies for the confusion.

@bluesign Do you have some context on this feature?

devbugging avatar Sep 29 '22 16:09 devbugging

I think in reference to this PR : https://github.com/onflow/flow-cli/pull/654/files I only implemented in "transaction sign" command there. But I think it can also be added to "transaction send", let me check and get back on this.

bluesign avatar Sep 30 '22 08:09 bluesign