diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-08-30 05:05:28 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-08-30 05:12:10 +0800 |
commit | dcb12b6ad6485f987d574ee3b20bf24aaf7a7d40 (patch) | |
tree | f31de9fdf19c300470737adb989824767f4b04f6 /packages/contracts/test | |
parent | f87420a7768cb6342ad53f0d05734466e039f231 (diff) | |
download | dexon-sol-tools-dcb12b6ad6485f987d574ee3b20bf24aaf7a7d40.tar dexon-sol-tools-dcb12b6ad6485f987d574ee3b20bf24aaf7a7d40.tar.gz dexon-sol-tools-dcb12b6ad6485f987d574ee3b20bf24aaf7a7d40.tar.bz2 dexon-sol-tools-dcb12b6ad6485f987d574ee3b20bf24aaf7a7d40.tar.lz dexon-sol-tools-dcb12b6ad6485f987d574ee3b20bf24aaf7a7d40.tar.xz dexon-sol-tools-dcb12b6ad6485f987d574ee3b20bf24aaf7a7d40.tar.zst dexon-sol-tools-dcb12b6ad6485f987d574ee3b20bf24aaf7a7d40.zip |
Update AssetProxyOwner to 0.4.24
Diffstat (limited to 'packages/contracts/test')
-rw-r--r-- | packages/contracts/test/multisig/asset_proxy_owner.ts | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/packages/contracts/test/multisig/asset_proxy_owner.ts b/packages/contracts/test/multisig/asset_proxy_owner.ts index 9515941ff..2f626daef 100644 --- a/packages/contracts/test/multisig/asset_proxy_owner.ts +++ b/packages/contracts/test/multisig/asset_proxy_owner.ts @@ -148,25 +148,6 @@ describe('AssetProxyOwner', () => { }); }); - describe('readBytes4', () => { - it('should revert if byte array has a length < 4', async () => { - const byteArrayLessThan4Bytes = '0x010101'; - return expectContractCallFailedWithoutReasonAsync( - testAssetProxyOwner.publicReadBytes4.callAsync(byteArrayLessThan4Bytes, new BigNumber(0)), - ); - }); - it('should return the first 4 bytes of a byte array of arbitrary length', async () => { - const byteArrayLongerThan32Bytes = - '0x0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef'; - const first4Bytes = await testAssetProxyOwner.publicReadBytes4.callAsync( - byteArrayLongerThan32Bytes, - new BigNumber(0), - ); - const expectedFirst4Bytes = byteArrayLongerThan32Bytes.slice(0, 10); - expect(first4Bytes).to.equal(expectedFirst4Bytes); - }); - }); - describe('registerAssetProxy', () => { it('should throw if not called by multisig', async () => { const isRegistered = true; |