这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@rob1997
Copy link
Collaborator

@rob1997 rob1997 commented Jan 22, 2025

We were initializing web3 twice on dev which was causing all sorts of issues because OnWeb3Initialized callback was calling twice, here's a test action run

Copy link
Contributor

@kantagara kantagara left a comment

Choose a reason for hiding this comment

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

One question tho: Wouldn't this cause some issues in runtime? Since lightweight instance/heavyweight instance wouldn't be initialized if rememberConnection is set to false? Oir they wil be?

@rob1997
Copy link
Collaborator Author

rob1997 commented Jan 22, 2025

One question tho: Wouldn't this cause some issues in runtime? Since lightweight instance/heavyweight instance wouldn't be initialized if rememberConnection is set to false? Oir they wil be?

rememberConnection is used to restore Web3 if a connection exists and if not we'll still initialize lightweight web3

@rob1997 rob1997 added ready-to-merge Ready to Merge PR - this'll trigger required checks documented Apply on Pull Request after documentation to allow merge labels Jan 22, 2025
@rob1997 rob1997 merged commit 3f824ba into dev Jan 22, 2025
10 of 12 checks passed
@rob1997 rob1997 deleted the rob/ci-fix branch January 22, 2025 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documented Apply on Pull Request after documentation to allow merge ready-to-merge Ready to Merge PR - this'll trigger required checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants