Skip to content

Commit

Permalink
Move variable declaration line
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciech-turek committed Dec 8, 2023
1 parent 41b929f commit f9475b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions packages/asset/contracts/Asset.sol
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ contract Asset is

// mapping of ipfs metadata token hash to token id
mapping(string => uint256) public hashUsed;
address private _owner;

/// @custom:oz-upgrades-unsafe-allow constructor
constructor() {
Expand Down Expand Up @@ -384,8 +385,6 @@ contract Asset is
return "ASSET";
}

address private _owner;

/// @notice Returns the owner of the contract
/// @return address of the owner
function owner() external view returns (address) {
Expand Down
3 changes: 1 addition & 2 deletions packages/asset/contracts/Catalyst.sol
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ contract Catalyst is
bytes32 public constant BURNER_ROLE = keccak256("BURNER_ROLE");

uint256 public highestTierIndex;
address private _owner;

/// @custom:oz-upgrades-unsafe-allow constructor
constructor() {
Expand Down Expand Up @@ -324,8 +325,6 @@ contract Catalyst is
return "CATALYST";
}

address private _owner;

/// @notice Returns the owner of the contract
/// @return address of the owner
function owner() external view returns (address) {
Expand Down

1 comment on commit f9475b0

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage for this commit

98.65%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
packages/asset/contracts
   Asset.sol95%90%96.88%98.28%118, 209, 311, 311–312, 78
   AssetCreate.sol94.64%84.21%100%100%140, 142, 200, 216, 333, 74
   AssetReveal.sol94.35%86.21%96.55%98.89%143, 147, 181, 376, 416, 424, 441, 75, 98
   AuthSuperValidator.sol90%83.33%100%88.89%51–52
   Catalyst.sol95.39%92.19%96.15%98.39%125, 127, 140, 152, 224, 80
packages/asset/contracts/interfaces
   IAsset.sol100%100%100%100%
   IAssetCreate.sol100%100%100%100%
   IAssetReveal.sol100%100%100%100%
   ICatalyst.sol100%100%100%100%
   ITokenUtils.sol100%100%100%100%
packages/asset/contracts/libraries
   TokenIdUtils.sol100%100%100%100%

Please sign in to comment.