Skip to content
This repository was archived by the owner on Nov 11, 2022. It is now read-only.
This repository was archived by the owner on Nov 11, 2022. It is now read-only.

Test Case: Assess consistent versioning #220

@corbanvilla

Description

@corbanvilla

Setup the versioning testcase to pull directly from package.json.

Bonus Points

Write a script callable from package.json which uses sed to automatically update the version() return in all contracts.
Note: Some contracts use _version as the constant (ERC721Attributes) but most others use version as a public constant. Make sure to address both cases.

Subpackage package.json versions should be updated as well!

Extra Bonus Points

Extra bonus points if it's a Hardhat task where by default it only shows the changes it would make and allows the user to verify before running. Look for the -i flag under man sed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-allContract-allP-lowPriority-lowT-bugType: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions