Skip to content

useActiveAccount bug when using AA #5537

@0xbuidler

Description

@0xbuidler

Bug:

With AA enabled, upon first connection, changing the connected EOA doesn't update the AA (useActiveAccount) until force refresh.

Reproduction:

1 - Go on https://playground.thirdweb.com/connect/account-abstraction/sponsor
2 - Disconnect everything
3 - Connect your EOA, check the Smart Account address, change your connected EOA and see the Smart Account address not change.

See the video for details:

Enregistrement.de.l.ecran.2024-11-28.a.22.05.12.mov

4 - Now refresh the page
5 - Now changing the EOA will update the Smart Account address

See the video for details:

Enregistrement.de.l.ecran.2024-11-28.a.22.12.30.mov

Expectations:

I expect the step 5 to work at step 3.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions