Skip to content

Commit

Permalink
Rm debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciech-turek committed Aug 16, 2024
1 parent fec0b6d commit 8417602
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {DEPLOY_TAGS} from '../../hardhat.config';

const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
const {deployments, getNamedAccounts} = hre;
const {deploy, read} = deployments;
const {deploy} = deployments;
const {deployer, sandAdmin, upgradeAdmin, exchangeFeeRecipient} =
await getNamedAccounts();

Expand All @@ -16,8 +16,6 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
const newProtocolFeeSecondary = 0;
const newMatchOrdersLimit = 50;

console.log('Sand admin original', sandAdmin);

await deploy('Exchange', {
from: deployer,
contract: `@sandbox-smart-contracts/[email protected]/contracts/Exchange.sol:Exchange`,
Expand All @@ -42,10 +40,6 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
log: true,
skipIfAlreadyDeployed: true,
});

console.log(`_______ Exchange deployed _______`);
const DEFAULT_ADMIN_ROLE = await read('Exchange', 'DEFAULT_ADMIN_ROLE');
console.log(await read('Exchange', 'hasRole', DEFAULT_ADMIN_ROLE, sandAdmin));
};
export default func;
func.tags = [
Expand Down

1 comment on commit 8417602

@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

99.22%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
packages/land/contracts
   Land.sol100%100%100%100%
   LandMetadataRegistry.sol100%100%100%100%
   PolygonLand.sol100%100%100%100%
packages/land/contracts/common
   ERC721BaseToken.sol100%100%100%100%
   LandBase.sol98.08%96.67%100%100%218, 218
   LandBaseToken.sol100%100%100%100%
   OperatorFiltererUpgradeable.sol100%100%100%100%
   WithAdmin.sol100%100%100%100%
   WithMetadataRegistry.sol100%100%100%100%
   WithOwner.sol100%100%100%100%
   WithRoyalties.sol100%100%100%100%
   WithSuperOperators.sol100%100%100%100%
packages/land/contracts/interfaces
   IERC173.sol100%100%100%100%
   IERC721BatchOps.sol100%100%100%100%
   IERC721MandatoryTokenReceiver.sol100%100%100%100%
   IErrors.sol100%100%100%100%
   ILandMetadataRegistry.sol100%100%100%100%
   ILandToken.sol100%100%100%100%
   IOperatorFilterRegistry.sol100%100%100%100%
   IQuad.sol100%100%100%100%
packages/land/contracts/mainnet
   LandStorageMixin.sol100%100%100%100%
packages/land/contracts/polygon
   ERC2771Handler.sol100%100%100%100%
   PolygonLandStorageMixin.sol100%100%100%100%
packages/land/contracts/registry
   LandMetadataBase.sol100%100%100%100%
packages/marketplace/contracts
   Exchange.sol94.52%93.33%94.44%96%126, 194, 72
   ExchangeCore.sol98.85%96.67%100%100%85
   OrderValidator.sol96.83%92.86%100%100%110, 36
   RoyaltiesRegistry.sol96.32%88.89%100%98.78%194, 216–217, 263, 65
   TransferManager.sol94.86%84.85%100%99.23%150, 181, 191, 239, 379, 385, 400, 412–413, 424, 93
   Whitelist.sol75.81%60%85.71%82.14%104, 108–109, 122, 125, 141–142, 54, 66, 66–67, 71, 76
packages/marketplace/contracts/interfaces
   IOrderValidator.sol100%100%100%100%
   IRoyaltiesProvider.sol100%100%100%100%
   ITransferManager.sol100%100%100%100%
   IWhitelist.sol100%100%100%100%
packages/marketplace/contracts/libraries
   LibAsset.sol100%100%100%100%
   LibMath.sol100%100%100%100%
   LibOrder.sol100%100%100%100%

Please sign in to comment.