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

fix: gitInitCode cache issue #294

Merged
merged 2 commits into from
Sep 17, 2023

Conversation

AmanRaj1608
Copy link
Contributor

The BaseSmartAccount has isDeployed variable in cache, and it stores it on constructor init as default false then read.

It is never updated, so either can updated but in other methods but then will have to add logic if tx is failed or not.

Best way is to remove this check and call rpc to check if deployed or not everytime

Copy link
Collaborator

@livingrockrises livingrockrises left a comment

Choose a reason for hiding this comment

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

LGTM.
I updated the test cases to ensure this is working.
Also, we should do overall latency check (time for SDK to build userop - time taken for API calls) and work on optimisations.

@livingrockrises livingrockrises merged commit 69f9809 into m_development_modular_SA Sep 17, 2023
2 checks passed
@AmanRaj1608 AmanRaj1608 deleted the fix-init-code-cache branch September 29, 2023 03:33
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