Skip to content

Conversation

@bunsenstraat
Copy link
Collaborator

@bunsenstraat bunsenstraat commented May 28, 2021

unnecessary call to deactivate hardhat. it can cause overlapping calls and that can cause hardhat to be reactivated because internally engine calls toggleActive on activate & deactivate. The extra check in Appmanager is also needed.

fixes #1225

@bunsenstraat bunsenstraat requested a review from Aniket-Engg May 28, 2021 10:08
@Aniket-Engg
Copy link
Collaborator

Aniket-Engg commented May 28, 2021

Reason for e2e tests failure is that actives is not set if plugins are loaded from query params
here : https://github.com/ethereum/remix-project/blob/master/apps/remix-ide/src/remixAppManager.js#L160

@Aniket-Engg Aniket-Engg requested review from LianaHus and yann300 May 31, 2021 05:24
@yann300 yann300 merged commit 3397b63 into master May 31, 2021
@yann300 yann300 deleted the activatehat branch May 31, 2021 08:19
@bunsenstraat
Copy link
Collaborator Author

This is not a structural answer to the fact that repeated deactivation through appmanager will lead to toggling. I will make a seperate issue.

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.

Unnecessary call for websocket connection

5 participants