aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-06-22 07:25:42 +0800
committerRemco Bloemen <remco@wicked.ventures>2018-06-23 19:53:39 +0800
commit8ddcb6c841fd97bca2cddffd49a5b773cf53635f (patch)
treefa20464707926d0615b0620d3d7d302281d58f54 /packages/contracts/src
parent1681361aedb2c7c4d97f8b74890ee2f86d96df45 (diff)
downloaddexon-0x-contracts-8ddcb6c841fd97bca2cddffd49a5b773cf53635f.tar.gz
dexon-0x-contracts-8ddcb6c841fd97bca2cddffd49a5b773cf53635f.tar.zst
dexon-0x-contracts-8ddcb6c841fd97bca2cddffd49a5b773cf53635f.zip
Update and add tests
Diffstat (limited to 'packages/contracts/src')
-rw-r--r--packages/contracts/src/contracts/current/test/TestAssetProxyOwner/TestAssetProxyOwner.sol2
-rw-r--r--packages/contracts/src/utils/multi_sig_wrapper.ts6
2 files changed, 5 insertions, 3 deletions
diff --git a/packages/contracts/src/contracts/current/test/TestAssetProxyOwner/TestAssetProxyOwner.sol b/packages/contracts/src/contracts/current/test/TestAssetProxyOwner/TestAssetProxyOwner.sol
index 40a6255cb..2abcd17a0 100644
--- a/packages/contracts/src/contracts/current/test/TestAssetProxyOwner/TestAssetProxyOwner.sol
+++ b/packages/contracts/src/contracts/current/test/TestAssetProxyOwner/TestAssetProxyOwner.sol
@@ -34,7 +34,7 @@ contract TestAssetProxyOwner is
{
}
- function testValidRemoveAuthorizedAddressTx(uint256 id)
+ function testValidRemoveAuthorizedAddressAtIndexTx(uint256 id)
public
validRemoveAuthorizedAddressAtIndexTx(id)
returns (bool)
diff --git a/packages/contracts/src/utils/multi_sig_wrapper.ts b/packages/contracts/src/utils/multi_sig_wrapper.ts
index f0098bd5e..b0d4fa8ab 100644
--- a/packages/contracts/src/utils/multi_sig_wrapper.ts
+++ b/packages/contracts/src/utils/multi_sig_wrapper.ts
@@ -40,13 +40,15 @@ export class MultiSigWrapper {
const tx = await this._logDecoder.getTxWithDecodedLogsAsync(txHash);
return tx;
}
- public async executeRemoveAuthorizedAddressAsync(
+ public async executeRemoveAuthorizedAddressAtIndexAsync(
txId: BigNumber,
from: string,
): Promise<TransactionReceiptWithDecodedLogs> {
// tslint:disable-next-line:no-unnecessary-type-assertion
const txHash = await (this
- ._multiSig as AssetProxyOwnerContract).executeRemoveAuthorizedAddress.sendTransactionAsync(txId, { from });
+ ._multiSig as AssetProxyOwnerContract).executeRemoveAuthorizedAddressAtIndex.sendTransactionAsync(txId, {
+ from,
+ });
const tx = await this._logDecoder.getTxWithDecodedLogsAsync(txHash);
return tx;
}