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

Add reset button to network configuration #30

Closed
wants to merge 4 commits into from

Conversation

cashd
Copy link

@cashd cashd commented Aug 30, 2023

closes #14

  • added a button to the bottom of the network configuration tab that resets an anvil fork

@cashd cashd closed this Aug 30, 2023
@cashd cashd reopened this Aug 30, 2023
@cashd
Copy link
Author

cashd commented Sep 6, 2023

hey @jxom is there any additional changes I need to make for this PR?

@jxom
Copy link
Member

jxom commented Sep 7, 2023

Looking good! Would be nice if the "Reset fork" button was underneath the "Update" button, and with a red outlined variant of button.

Can we also make sure the UI also reflects the updated network state (ie. the restarted state)?

Thank you!

@cashd
Copy link
Author

cashd commented Sep 12, 2023

Looking good! Would be nice if the "Reset fork" button was underneath the "Update" button, and with a red outlined variant of button.

Can we also make sure the UI also reflects the updated network state (ie. the restarted state)?

Thank you!

Just pushed those UI changes and verified that the reset button works. My local-forked anvil instance receives the anvil_reset event and the block number goes back to the forked start.

@jxom jxom force-pushed the main branch 12 times, most recently from 959b26a to 34fbe33 Compare October 2, 2023 03:32
@jxom jxom force-pushed the main branch 4 times, most recently from 6de9b77 to c4ab6e4 Compare October 11, 2023 22:33
@cashd cashd closed this Dec 5, 2023
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.

Feature: Add "Reset fork" button
2 participants