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

Minimize Signer interface and document Sign #2740

Merged
merged 3 commits into from
Feb 16, 2024
Merged

Conversation

StephenButtolph
Copy link
Contributor

@StephenButtolph StephenButtolph commented Feb 15, 2024

Why this should be merged

  1. There is really no reason to have SignUnsigned on the interface, it just makes it more annoying to implement.
  2. Wanted to document this function better because it seems like partial signing is unexpected for some users: ref: P-chain wallet fees UTs #2734

How this works

Moves SignUnsigned into a static function rather than on the struct.

How this was tested

N/A

@StephenButtolph StephenButtolph added the cleanup Code quality improvement label Feb 15, 2024
@StephenButtolph StephenButtolph added this to the v1.11.0 milestone Feb 15, 2024
@StephenButtolph StephenButtolph self-assigned this Feb 15, 2024
@StephenButtolph StephenButtolph marked this pull request as ready for review February 15, 2024 21:41
@StephenButtolph StephenButtolph added the documentation Improvements or additions to documentation or examples label Feb 15, 2024
@StephenButtolph StephenButtolph added this pull request to the merge queue Feb 15, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Feb 16, 2024
@StephenButtolph StephenButtolph added this pull request to the merge queue Feb 16, 2024
Merged via the queue into master with commit 77bb105 Feb 16, 2024
17 checks passed
@StephenButtolph StephenButtolph deleted the minimize-interface branch February 16, 2024 16:42
mboben pushed a commit to mboben/avalanchego that referenced this pull request Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Code quality improvement documentation Improvements or additions to documentation or examples
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

5 participants