Skip to content

refactor: remove dependency to legacy getSigners #1187

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

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

RyukTheCoder
Copy link
Collaborator

Summary

Refactored useHubAdapter to eliminate its dependency on the legacy providers' getSigners method. This was achieved by introducing a signers property directly within each provider's info object as a workaround.

How did you test this change?

Tested by trying to sign transactions on hub wallets.

Checklist:

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • Implemented a user interface (UI) change, referencing our Figma design to ensure pixel-perfect precision.

Copy link
Collaborator

@yeager-eren yeager-eren left a comment

Choose a reason for hiding this comment

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

took a look at it and looks good to me. @arlert-armin please do a review on this.

@RyukTheCoder RyukTheCoder force-pushed the refactor/rf-2500-remove-dependency-to-legacy-get-signers branch from 727b3a9 to 9334eef Compare July 8, 2025 11:25
Copy link
Collaborator

@arlert-armin arlert-armin left a comment

Choose a reason for hiding this comment

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

LGTM

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