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

feat(anvil): support resetting from forked to non forked on anvil_reset #7472

Open
Tracked by #8269
mattsse opened this issue Mar 22, 2024 · 3 comments · May be fixed by #7500
Open
Tracked by #8269

feat(anvil): support resetting from forked to non forked on anvil_reset #7472

mattsse opened this issue Mar 22, 2024 · 3 comments · May be fixed by #7500
Assignees
Labels
C-anvil Command: anvil P-normal Priority: normal T-feature Type: feature
Milestone

Comments

@mattsse
Copy link
Member

mattsse commented Mar 22, 2024

Component

Anvil

Describe the feature you would like

Err(BlockchainError::RpcUnimplemented)

if no args are provided then we should reinitialize the state to default in memory

ref https://hardhat.org/hardhat-network/docs/reference
https://hardhat.org/hardhat-network/docs/reference#initial-state

FYI @yash-atreya

Additional context

No response

@mattsse mattsse added the T-feature Type: feature label Mar 22, 2024
@yash-atreya
Copy link
Member

Noted. Thanks for tag.

@mattsse
Copy link
Member Author

mattsse commented Mar 22, 2024

this should be similar to reset_fork but basically, reinitialize everything to fresh instance

@yash-atreya yash-atreya linked a pull request Mar 26, 2024 that will close this issue
@bauti-defi
Copy link

Hello, is this issue the one from my tweet?

https://x.com/BautiDeFi/status/1771177789019873445?s=20

@zerosnacks zerosnacks added the C-anvil Command: anvil label Jul 12, 2024
@zerosnacks zerosnacks changed the title Support resetting from forked to non forked on anvil_reset feat(anvil): support resetting from forked to non forked on anvil_reset Jul 12, 2024
@zerosnacks zerosnacks added this to the v1.0.0 milestone Jul 26, 2024
@grandizzy grandizzy added the P-normal Priority: normal label Nov 12, 2024
@github-project-automation github-project-automation bot moved this to Todo in Foundry Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-anvil Command: anvil P-normal Priority: normal T-feature Type: feature
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

5 participants