Skip to content

Commit

Permalink
contracts: versioning for Celo modified contracts
Browse files Browse the repository at this point in the history
Changes in implementation require changes in version. This is ensured
by `./scripts/checks/check-semver-diff.sh`.
  • Loading branch information
karlb committed Oct 14, 2024
1 parent 303c21c commit 3af7531
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ contract OptimismMintableERC20 is
}

/// @notice Semantic version.
/// @custom:semver 1.4.0-beta.1
string public constant version = "1.4.0-beta.1";
/// @custom:semver 1.4.0-beta.1-celo
string public constant version = "1.4.0-beta.1-celo";

/// @notice Getter function for the permit2 address. It deterministically deployed
/// so it will always be at the same address. It is also included as a preinstall,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ contract OptimismMintableERC20Factory is ISemver, Initializable, IOptimismERC20F
/// the OptimismMintableERC20 token contract since this contract
/// is responsible for deploying OptimismMintableERC20 contracts.
/// @notice Semantic version.
/// @custom:semver 1.10.1-beta.3
string public constant version = "1.10.1-beta.3";
/// @custom:semver 1.10.1-beta.3-celo
string public constant version = "1.10.1-beta.3-celo";

/// @notice Constructs the OptimismMintableERC20Factory contract.
constructor() {
Expand Down

0 comments on commit 3af7531

Please sign in to comment.