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

Check for enough signatures before sending a transaction to the node #305

Open
DOBEN opened this issue May 24, 2024 · 0 comments
Open

Check for enough signatures before sending a transaction to the node #305

DOBEN opened this issue May 24, 2024 · 0 comments
Labels
[Type] Task An additional feature or improvement.

Comments

@DOBEN
Copy link
Member

DOBEN commented May 24, 2024

Task description

When creating a transaction, and not signing it with enough signatures, and sending it off to the node, the node responds with the error:

Error: Transaction not accepted by the node: GRPC response with status 'INVALID_ARGUMENT': GRPC error: Verification failed.

This can happen when creating a transaction (signing it with some keys but not enough) and sending it off to the node OR
when loading a partially signed transaction (without enough signatures) from a JSON file and sending it off to the node.

Concordium-client should check before sending off a transaction to the node, if enough signatures are present and otherwise give enough information about which signatures are missing/required.

@DOBEN DOBEN added the [Type] Task An additional feature or improvement. label May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Task An additional feature or improvement.
Projects
None yet
Development

No branches or pull requests

1 participant