-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
adding a function and editing the error message for the issue #4151 #4208
adding a function and editing the error message for the issue #4151 #4208
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Hey @Saty248, thanks for this. This is a really interesting idea. It won't work for raw This needs tests though, and I dont' think the code is formatted correctly. |
@@ -68,3 +68,8 @@ export async function loadFixture<T>(fixture: Fixture<T>): Promise<T> { | |||
return data; | |||
} | |||
} | |||
|
|||
// function to clear the snapshots array when hardhat_reset is called.. | |||
export async function deleteOnReset(){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function name is overspecified. I think clearSnapshots
would be better.
hey @fvictorio, |
4397642
to
e27a7d9
Compare
i have changed the error message for the issue #4151 and i've also added a function deleteOnReset() which resets the snapshots array.
let me know what other changes I need to make on this issue.