Skip to content

CI Fix on dev#1277

Merged
rob1997 merged 1 commit into
devfrom
rob/ci-fix
Jan 22, 2025
Merged

CI Fix on dev#1277
rob1997 merged 1 commit into
devfrom
rob/ci-fix

Conversation

@rob1997

@rob1997 rob1997 commented Jan 22, 2025

Copy link
Copy Markdown
Collaborator

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

@kantagara kantagara left a comment

Copy link
Copy Markdown
Contributor

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

rob1997 commented Jan 22, 2025

Copy link
Copy Markdown
Collaborator Author

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
@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.

3 participants