aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-utils/test/abi_encoder_test.ts
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-11-10 14:24:24 +0800
committerGreg Hysen <greg.hysen@gmail.com>2018-11-29 08:38:10 +0800
commit59206c387e702492d22e975acf806ebe7de36bfd (patch)
treeb6ac130c7f197c28bb1224fd25640b09ad92cbb2 /packages/order-utils/test/abi_encoder_test.ts
parent20f1526c7d0e1edb4a1de8e8a26811ae81b609dc (diff)
downloaddexon-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.ts6
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);