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

Adding failing tests that need to resolve #67

Draft
wants to merge 26 commits into
base: dev
Choose a base branch
from

Conversation

aaroncox
Copy link
Member

@aaroncox aaroncox commented Jul 26, 2023

The placeholders in transactions should resolve before the beforeSign hooks trigger, so that the authorizations and data will match the session by the time it reaches the first plugin. The plugins themselves shouldn't need to resolve the placeholders/transactions themselves before using the request.

The restore method can now be used by just providing an actor, permission, and chainId - and will pull the session data out of the storage adapter to restore.
Each individual chain now tracks a `default` value within its serialized storage, and the `restore()` function can now accept just a chain ID to restore the default account for that chain.
The placeholders in transactions should resolve before the `beforeSign` hooks trigger, so that the authorizations and data will match the session.
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.

None yet

1 participant