Skip to content

Commit

Permalink
contracts-bedrock: add -beta+custom-gas-token to semver of PR-modifie…
Browse files Browse the repository at this point in the history
…d contracts
  • Loading branch information
0xfuturistic committed Apr 19, 2024
1 parent ed64bf6 commit 99c5d83
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions packages/contracts-bedrock/src/L1/L1CrossDomainMessenger.sol
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ contract L1CrossDomainMessenger is CrossDomainMessenger, ISemver {
SystemConfig public systemConfig;

/// @notice Semantic version.
/// @custom:semver 2.4.0
string public constant version = "2.4.0";
/// @custom:semver 2.3.0-beta+custom-gas-token
string public constant version = "2.3.0-beta+custom-gas-token";

/// @notice Constructs the L1CrossDomainMessenger contract.
constructor() CrossDomainMessenger() {
Expand Down
4 changes: 2 additions & 2 deletions packages/contracts-bedrock/src/L1/L1StandardBridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ contract L1StandardBridge is StandardBridge, ISemver {
);

/// @notice Semantic version.
/// @custom:semver 2.2.0
string public constant version = "2.2.0";
/// @custom:semver 2.1.0-beta+custom-gas-token
string public constant version = "2.1.0-beta+custom-gas-token";

/// @notice Address of the SuperchainConfig contract.
SuperchainConfig public superchainConfig;
Expand Down
4 changes: 2 additions & 2 deletions packages/contracts-bedrock/src/L1/OptimismPortal.sol
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ contract OptimismPortal is Initializable, ResourceMetering, ISemver {
}

/// @notice Semantic version.
/// @custom:semver 2.6.0
string public constant version = "2.6.0";
/// @custom:semver 2.6.0-beta+custom-gas-token
string public constant version = "2.6.0-beta+custom-gas-token";

/// @notice Constructs the OptimismPortal contract.
constructor() {
Expand Down
4 changes: 2 additions & 2 deletions packages/contracts-bedrock/src/L1/SystemConfig.sol
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ contract SystemConfig is OwnableUpgradeable, ISemver {
event ConfigUpdate(uint256 indexed version, UpdateType indexed updateType, bytes data);

/// @notice Semantic version.
/// @custom:semver 1.12.0
string public constant version = "1.12.0";
/// @custom:semver 1.12.0-beta+custom-gas-token
string public constant version = "1.12.0-beta+custom-gas-token";

/// @notice Constructs the SystemConfig contract. Cannot set
/// the owner to `address(0)` due to the Ownable contract's
Expand Down
6 changes: 3 additions & 3 deletions packages/contracts-bedrock/src/L2/L1Block.sol
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ contract L1Block is ISemver {
/// @notice The latest L1 blob base fee.
uint256 public blobBaseFee;

/// @custom:semver 1.2.0-beta+custom-gas-token
string public constant version = "1.2.0-beta+custom-gas-token";

/// @notice Returns the gas paying token, its decimals, name and symbol.
/// If nothing is set in state, then it means ether is used.
function gasPayingToken() public view returns (address addr_, uint8 decimals_) {
Expand All @@ -83,9 +86,6 @@ contract L1Block is ISemver {
return token != Constants.ETHER;
}

/// @custom:semver 1.3.0
string public constant version = "1.3.0";

/// @custom:legacy
/// @notice Updates the L1 block values.
/// @param _number L1 blocknumber.
Expand Down
4 changes: 2 additions & 2 deletions packages/contracts-bedrock/src/L2/L2CrossDomainMessenger.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import { Predeploys } from "src/libraries/Predeploys.sol";
/// L2 on the L2 side. Users are generally encouraged to use this contract instead of lower
/// level message passing contracts.
contract L2CrossDomainMessenger is CrossDomainMessenger, ISemver {
/// @custom:semver 2.0.0
string public constant version = "2.1.0";
/// @custom:semver 2.0.0-beta+custom-gas-token
string public constant version = "2.0.0-beta+custom-gas-token";

/// @notice Constructs the L2CrossDomainMessenger contract.
constructor() CrossDomainMessenger() {
Expand Down
4 changes: 2 additions & 2 deletions packages/contracts-bedrock/src/L2/L2StandardBridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ contract L2StandardBridge is StandardBridge, ISemver {
bytes extraData
);

/// @custom:semver 1.9.0
string public constant version = "1.9.0";
/// @custom:semver 1.8.0-beta+custom-gas-token
string public constant version = "1.8.0-beta+custom-gas-token";

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

0 comments on commit 99c5d83

Please sign in to comment.