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

Revert "Make injection of inpage.js on dapps synchronous" #233

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

Lbqds
Copy link
Member

@Lbqds Lbqds commented Jan 17, 2025

We introduced this change to address the issue of asynchronous loading of inpage.js. However, this change causes the extension background to be unable to receive connection messages sent by the dApp when the extension's server worker restarts. I’m still unclear about the exact reason behind this.

Previously, I noticed that Rabby wallet also used the same approach to inject inpage.js. However, for unknown reasons, they reverted this change in a later PR.

I will look into alternative methods to solve the issue of asynchronous loading of inpage.js.

@Lbqds Lbqds requested review from polarker and h0ngcha0 January 17, 2025 04:18
@h0ngcha0
Copy link
Member

LGTM 👍

@Lbqds Lbqds merged commit f81c0a2 into master Jan 20, 2025
2 checks passed
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