Jupyter replays all the display calls when the page is reloaded. Therefore, the JavaScript wallet triggers may run again when the page is loaded or shared with other people.
What I did
Introduced a check to omit running JS code when the page reloads
How I did it
Added a new endpoint to check whether the memory object is still valid
How to verify it
Save a notebook including the cell outputs. For example, the output of a contract deployment.
Reload the page: No JS calls should be made. For example, the wallet should not ask to sign the transaction again
Jupyter replays all the
display
calls when the page is reloaded. Therefore, the JavaScript wallet triggers may run again when the page is loaded or shared with other people.What I did
How I did it
How to verify it
Description for the changelog
Cute Animal Picture