diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-05-21 10:14:06 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-05-25 06:39:19 +0800 |
commit | 326a566db29031edf21320923e67dde309573efd (patch) | |
tree | ab6f6d1964f407dc8b4e00ca5440fbb748941485 /packages/contracts/test | |
parent | 84257dac2be92192d5b99dd31617aaebeddb285b (diff) | |
download | dexon-sol-tools-326a566db29031edf21320923e67dde309573efd.tar dexon-sol-tools-326a566db29031edf21320923e67dde309573efd.tar.gz dexon-sol-tools-326a566db29031edf21320923e67dde309573efd.tar.bz2 dexon-sol-tools-326a566db29031edf21320923e67dde309573efd.tar.lz dexon-sol-tools-326a566db29031edf21320923e67dde309573efd.tar.xz dexon-sol-tools-326a566db29031edf21320923e67dde309573efd.tar.zst dexon-sol-tools-326a566db29031edf21320923e67dde309573efd.zip |
Add old MultiSig to previous contracts, cleanup file structure
Diffstat (limited to 'packages/contracts/test')
-rw-r--r-- | packages/contracts/test/asset_proxy_owner.ts | 8 | ||||
-rw-r--r-- | packages/contracts/test/multi_sig_with_time_lock.ts | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/packages/contracts/test/asset_proxy_owner.ts b/packages/contracts/test/asset_proxy_owner.ts index 2e8e9373a..6e999dd99 100644 --- a/packages/contracts/test/asset_proxy_owner.ts +++ b/packages/contracts/test/asset_proxy_owner.ts @@ -28,7 +28,7 @@ const zeroEx = new ZeroEx(provider, { networkId: constants.TESTRPC_NETWORK_ID }) describe('AssetProxyOwner', () => { let owners: string[]; let authorized: string; - const requiredApprovals = new BigNumber(2); + const REQUIRED_APPROVALS = new BigNumber(2); const SECONDS_TIME_LOCKED = new BigNumber(1000000); let erc20Proxy: MixinAuthorizableContract; @@ -56,7 +56,7 @@ describe('AssetProxyOwner', () => { provider, txDefaults, owners, - requiredApprovals, + REQUIRED_APPROVALS, SECONDS_TIME_LOCKED, defaultAssetProxyContractAddresses, ); @@ -79,7 +79,7 @@ describe('AssetProxyOwner', () => { provider, txDefaults, owners, - requiredApprovals, + REQUIRED_APPROVALS, SECONDS_TIME_LOCKED, assetProxyContractAddresses, ); @@ -96,7 +96,7 @@ describe('AssetProxyOwner', () => { provider, txDefaults, owners, - requiredApprovals, + REQUIRED_APPROVALS, SECONDS_TIME_LOCKED, assetProxyContractAddresses, ), diff --git a/packages/contracts/test/multi_sig_with_time_lock.ts b/packages/contracts/test/multi_sig_with_time_lock.ts index c369ca63a..ace0f0045 100644 --- a/packages/contracts/test/multi_sig_with_time_lock.ts +++ b/packages/contracts/test/multi_sig_with_time_lock.ts @@ -23,7 +23,7 @@ const blockchainLifecycle = new BlockchainLifecycle(web3Wrapper); describe('MultiSigWalletWithTimeLock', () => { let owners: string[]; - const requiredApprovals = new BigNumber(2); + const REQUIRED_APPROVALS = new BigNumber(2); const SECONDS_TIME_LOCKED = new BigNumber(1000000); before(async () => { @@ -56,7 +56,7 @@ describe('MultiSigWalletWithTimeLock', () => { provider, txDefaults, owners, - requiredApprovals, + REQUIRED_APPROVALS, secondsTimeLocked, ); multiSigWrapper = new MultiSigWrapper(multiSig, provider); @@ -127,7 +127,7 @@ describe('MultiSigWalletWithTimeLock', () => { provider, txDefaults, owners, - requiredApprovals, + REQUIRED_APPROVALS, SECONDS_TIME_LOCKED, ); multiSigWrapper = new MultiSigWrapper(multiSig, provider); |