Skip to content

gas snapshot should use a default seed for fuzz tests #7863

@kanej

Description

@kanej

Describe the issue

Enhance the --snapshot option to use a default seed for fuzz tests if one is not provided in the hardhat.config.ts file.

This means that a user can run npx hardhat test solidity --snapshot twice and get the same .gas-snapshot file with no further modification of hardhat.config.ts.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions