Skip to content

Conversation

ScreamingHawk
Copy link
Contributor

@ScreamingHawk ScreamingHawk commented Sep 22, 2025

Externally called functions call out for the most up to date wallet configuration, then internal functions pass around the retrieved details.
Reuse status internally for wallet when fresh status not required.

This PR also ensure the provider is using the correct chain id, and the passed wallet address matches that configured for the session manager. Fixes associated test implementations.

For the dapp client, do not check permissions for specific calls, this is done during signing only. Instead compare signer against the configuration. Also, reduce the number of calls to the session manager.

@ScreamingHawk ScreamingHawk requested review from a team as code owners September 22, 2025 22:16
@ScreamingHawk
Copy link
Contributor Author

This PR needs a rebase and some love. Moving to draft.
The signing optimisation are still valuable. hasValidSigner may no longer be necessary.

@ScreamingHawk ScreamingHawk marked this pull request as draft October 9, 2025 20:38
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.

1 participant