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

Command to take a snapshot for a specific test does not work #3492

Open
nabil-ziani opened this issue Feb 14, 2025 · 2 comments
Open

Command to take a snapshot for a specific test does not work #3492

nabil-ziani opened this issue Feb 14, 2025 · 2 comments

Comments

@nabil-ziani
Copy link

nabil-ziani commented Feb 14, 2025

Section

Section 7 | Foundry Fund Me

Could you please leave a link to the Cyfrin Updraft Lesson (or YouTube video timestamp) where this error occurs? (You can right click a video and "copy video URL at current time")

(https://updraft.cyfrin.io/courses/foundry/foundry-fund-me/calculate-solidity-function-gas-costs)

Describe the bug

Hi,

The command to take a snapshot for a specific test (as shown in the video at 0:50) does not work. It should be updated to:

forge snapshot --match-test testWithdrawFromMultipleFunders

instead of

forge snapshot -m testWithdrawFromMultipleFunders

Image

@EngrPips
Copy link

Thanks for pointing this out, @nabil-ziani. It will be attended to appropriately as soon as possible.

@nabil-ziani
Copy link
Author

Glad I can make a small contribution 😊, I'm having a blast going through the course, huge thanks to you and everyone who made this happen!

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

No branches or pull requests

2 participants