diff options
Diffstat (limited to 'packages/web3-wrapper/src/index.ts')
-rw-r--r-- | packages/web3-wrapper/src/index.ts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/web3-wrapper/src/index.ts b/packages/web3-wrapper/src/index.ts index dd94d683e..b48532204 100644 --- a/packages/web3-wrapper/src/index.ts +++ b/packages/web3-wrapper/src/index.ts @@ -1,5 +1,8 @@ import {TransactionReceipt, TxData} from '@0xproject/types'; -import {promisify} from '@0xproject/utils'; +import { + bigNumberConfigs, + promisify, +} from '@0xproject/utils'; import BigNumber from 'bignumber.js'; import * as _ from 'lodash'; import * as Web3 from 'web3'; @@ -15,6 +18,9 @@ interface RawLogEntry { topics: string[]; } +// Customize our BigNumber instances +bigNumberConfigs.configure(); + export class Web3Wrapper { private _web3: Web3; private _defaults: Partial<TxData>; |