diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-11-10 14:24:24 +0800 |
---|---|---|
committer | Greg Hysen <greg.hysen@gmail.com> | 2018-11-29 08:38:10 +0800 |
commit | 59206c387e702492d22e975acf806ebe7de36bfd (patch) | |
tree | b6ac130c7f197c28bb1224fd25640b09ad92cbb2 /packages/order-utils/test/abi_encoder_test.ts | |
parent | 20f1526c7d0e1edb4a1de8e8a26811ae81b609dc (diff) | |
download | dexon-sol-tools-59206c387e702492d22e975acf806ebe7de36bfd.tar dexon-sol-tools-59206c387e702492d22e975acf806ebe7de36bfd.tar.gz dexon-sol-tools-59206c387e702492d22e975acf806ebe7de36bfd.tar.bz2 dexon-sol-tools-59206c387e702492d22e975acf806ebe7de36bfd.tar.lz dexon-sol-tools-59206c387e702492d22e975acf806ebe7de36bfd.tar.xz dexon-sol-tools-59206c387e702492d22e975acf806ebe7de36bfd.tar.zst dexon-sol-tools-59206c387e702492d22e975acf806ebe7de36bfd.zip |
Works for types with default widths
Diffstat (limited to 'packages/order-utils/test/abi_encoder_test.ts')
-rw-r--r-- | packages/order-utils/test/abi_encoder_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/order-utils/test/abi_encoder_test.ts b/packages/order-utils/test/abi_encoder_test.ts index 4c571434e..404f160fd 100644 --- a/packages/order-utils/test/abi_encoder_test.ts +++ b/packages/order-utils/test/abi_encoder_test.ts @@ -116,7 +116,7 @@ describe.only('ABI Encoder', () => { }); - it('Types with default widths', async () => { + it.only('Types with default widths', async () => { const method = new AbiEncoder.Method(AbiSamples.typesWithDefaultWidthsAbi); console.log(method); const args = [new BigNumber(1), new BigNumber(-1), '0x56', [new BigNumber(1)], [new BigNumber(-1)], ['0x56']]; @@ -201,7 +201,7 @@ describe.only('ABI Encoder', () => { expect(calldata).to.be.equal(expectedCalldata); }); - it('Multidimensional Arrays / Static Members', async () => { + it.only('Multidimensional Arrays / Static Members', async () => { const method = new AbiEncoder.Method(AbiSamples.multiDimensionalArraysStaticTypeAbi); // Eight 3-dimensional arrays of uint8[2][2][2] @@ -259,7 +259,7 @@ describe.only('ABI Encoder', () => { expect(calldata).to.be.equal(expectedCalldata); }); - it.only('Fixed Lenfgth Array / Dynamic Members', async () => { + it('Fixed Lenfgth Array / Dynamic Members', async () => { const method = new AbiEncoder.Method(AbiSamples.staticArrayDynamicMembersAbi); const args = [["Brave", "New", "World"]]; const calldata = method.encode(args); |