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

Unexport payment signer #847

Merged
merged 1 commit into from
Oct 31, 2024
Merged

Conversation

ian-shim
Copy link
Contributor

Why are these changes needed?

Directly instantiating PaymentSigner without PrivateKey will panic when methods are called.
This PR unexports auth.PaymentSigner so that it has to be instantiated with the constructor.

Checks

  • I've made sure the lint is passing in this PR.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, in that case, please comment that they are not relevant.
  • I've checked the new test coverage and the coverage percentage didn't drop.
  • Testing Strategy
    • Unit tests
    • Integration tests
    • This PR is not tested :(

@ian-shim ian-shim force-pushed the unexport-payment-signer branch 2 times, most recently from e9c4fc3 to fa1c8ef Compare October 30, 2024 17:06
@ian-shim ian-shim force-pushed the unexport-payment-signer branch from fa1c8ef to b90736d Compare October 30, 2024 17:07
@ian-shim ian-shim marked this pull request as ready for review October 30, 2024 17:13
@ian-shim ian-shim requested review from ad-eigen and anupsv and removed request for ad-eigen October 30, 2024 20:39
Copy link
Contributor

@hopeyen hopeyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🏅

@ian-shim ian-shim merged commit ebb9bf3 into Layr-Labs:master Oct 31, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants