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

Feat: session update account address and pbk #793

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

IsaccoSordo
Copy link
Collaborator

@IsaccoSordo IsaccoSordo commented Jul 12, 2024

The goal of handling both the account address and its public key within the same session_update is to prevent a fetchAccounts call, which can lead to undesired behaviors (as noted in issue #765).

With the changes in #782, a wallet can send only the public key, allowing Beacon to resolve the account's address independently.

However, to ensure backward compatibility with previous Beacon versions, the changes introduced in this PR are beneficial. Developers can still send the account address in the first position of the accounts array and the public key in the second position, thereby avoiding the fetchAccounts call.

@IsaccoSordo IsaccoSordo merged commit 66340e8 into develop Jul 12, 2024
3 checks passed
@IsaccoSordo IsaccoSordo deleted the feat/session_update_account_and_pbk branch July 12, 2024 10:52
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.

2 participants