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

fix(protocol-kit): Only add executor signature if there are not enough signatures #472

Merged
merged 2 commits into from
Jul 12, 2023

Conversation

schmanu
Copy link
Member

@schmanu schmanu commented Jul 7, 2023

What it solves

Safe.executeTransaction always adds the executor's signature, even if the transaction is already fully signed.
This leads to more signatures than the threshold.

Resolves 5afe/safe-support#224

How this PR fixes it

Before adding the executor pre-validated-signature we check if the transaction is already fully signed.

@schmanu schmanu requested a review from germartinez July 7, 2023 12:48
@coveralls
Copy link

coveralls commented Jul 7, 2023

Coverage Status

coverage: 74.968%. remained the same when pulling b12bfa1 on fix-execution-signatures into bd9eeda on development.

@germartinez
Copy link
Member

Thank you @schmanu!

@germartinez germartinez merged commit b9ac2b8 into development Jul 12, 2023
13 checks passed
@germartinez germartinez deleted the fix-execution-signatures branch July 12, 2023 17:07
@github-actions github-actions bot locked and limited conversation to collaborators Jul 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants