Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transaction verification failed with two authorizers using flow-c1 #1699

Open
imjacklai opened this issue Aug 19, 2024 · 0 comments
Open

Transaction verification failed with two authorizers using flow-c1 #1699

imjacklai opened this issue Aug 19, 2024 · 0 comments
Labels
Bug The issue represents a bug, malfunction, regression

Comments

@imjacklai
Copy link

Instructions

Problem

Got an error when sending a transaction with two authorizers using flow-c1.

❌ Transaction Error
[Error Code: 1009] error caused by: 1 error occurred:
	* transaction verification failed: [Error Code: 1006] invalid proposal key: public key 0 on account1 does not have a valid signature: [Error Code: 1009] invalid envelope key: public key 0 on account1 does not have a valid signature: signature is not valid

Steps to Reproduce

Transaction code

transaction {
  prepare(authorizer1: auth(BorrowValue) &Account, authorizer2: auth(SaveValue, LoadValue, Capabilities) &Account) {
    ...
  }
}

Use CLI to send transaction

flow-c1 transactions send example.cdc --network testnet --authorizer account1,account2 --proposer account1 --payer account1

account1 and account2 are defined in flow.json.

Acceptance Criteria

Should send transaction successfully

Context

CLI version: v1.21.0-cadence-v1.0.0-preview.34

@turbolent turbolent added the Bug The issue represents a bug, malfunction, regression label Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug The issue represents a bug, malfunction, regression
Projects
Status: No status
Development

No branches or pull requests

2 participants