Skip to content

Commit

Permalink
Rm default value initi
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciech-turek committed Apr 25, 2024
1 parent 0ba2b46 commit bf7e70b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/asset/contracts/AssetCreate.sol
Expand Up @@ -565,7 +565,7 @@ contract AssetCreate is
address paymentToken,
address creator
) private {
uint256 fee = 0;
uint256 fee;
if (lazyMintFeeInBps > 0) {
fee = (unitPrice * amount * lazyMintFeeInBps) / 10000;
SafeERC20.safeTransferFrom(IERC20(paymentToken), from, lazyMintFeeReceiver, fee);
Expand Down

1 comment on commit bf7e70b

@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

87.81%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
packages/asset/contracts
   Asset.sol94.70%89.58%96.67%98.15%117, 208, 310, 310–311, 77
   AssetCreate.sol93.23%83%100%100%101, 167, 169, 228, 245, 365, 400, 478–479, 509, 529, 653–654, 661–662, 669–670
   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.14%91.94%95.83%98.28%124, 126, 139, 151, 223, 79
packages/asset/contracts/interfaces
   IAsset.sol100%100%100%100%
   IAssetCreate.sol100%100%100%100%
   IAssetReveal.sol100%100%100%100%
   ICatalyst.sol100%100%100%100%
   IExchange.sol100%100%100%100%
   ITokenUtils.sol100%100%100%100%
packages/asset/contracts/libraries
   LibAsset.sol0%0%0%0%106, 48, 48, 48–49, 51, 51, 51–52, 54, 66–67, 69, 69, 69–70, 70, 70–71, 71, 71, 73–75, 75, 75, 77, 84, 91, 99
   LibMath.sol0%0%0%0%21, 21, 21–22, 24, 37, 37, 37–38, 54, 54, 54, 54, 54–55, 67–68
   LibOrder.sol0%0%0%0%101, 101, 101–102, 104, 117, 117, 117–119, 134–135, 135, 135–136, 151–152, 152, 152–153, 39, 55, 77, 77, 77, 77, 77–78, 78, 78, 78, 78, 98–99
   TokenIdUtils.sol100%100%100%100%

Please sign in to comment.