Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: marketplace mock contracts and test #1587

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions packages/deploy/test/asset/assetCreateFixture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,17 @@ const setupAssetCreateTests = deployments.createFixture(
const createBatchLazyMintSignature = (data: LazyMintBatchData) =>
createMultipleLazyMintSignature(data, AssetCreateContract, network);

const OrderValidatorAsAdmin = OrderValidatorContract.connect(
await ethers.provider.getSigner(assetAdmin)
);

const ERC20_ROLE = await OrderValidatorContract.ERC20_ROLE();
await OrderValidatorAsAdmin.grantRole(
ERC20_ROLE,
await SandContract.getAddress()
);
await OrderValidatorAsAdmin.disableWhitelists();

return {
AssetContract,
AssetCreateContract,
Expand Down
111 changes: 0 additions & 111 deletions packages/marketplace/contracts/mocks/LandMock.sol

This file was deleted.

Loading
Loading