-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fec0b6d
commit 8417602
Showing
1 changed file
with
1 addition
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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(); | ||
|
||
|
@@ -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`, | ||
|
@@ -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 = [ | ||
|
8417602
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage for this commit
Coverage Report