Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

feat: Create the file if the check mode is on and the file does not exist yet #9

Closed
wants to merge 4 commits into from

Conversation

RyanHolanda
Copy link

• Created a new function _checkOrWriteSnapshot(string memory name, uint256 gasUsed) to verify whether to check the existing snapshot or write a new snapshot

• Added a new feature to create the snapshot file if it does not exist and checkMode is on, instead of failing.

test/GasSnapshot.t.sol Outdated Show resolved Hide resolved
@RyanHolanda RyanHolanda requested a review from marktoda May 5, 2024 09:18
@marktoda marktoda closed this Nov 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants