Skip to content

Commit

Permalink
fix function argument encoding for updated web3
Browse files Browse the repository at this point in the history
- [CORE-223]
  • Loading branch information
wulfraem committed Jul 4, 2019
1 parent a80ec8f commit ce59e0d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/contracts/executor-wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@ import {
SignerInterface,
} from '@evan.network/dbcp';

import { AbiCoder } from 'web3-eth-abi';
import { Wallet } from './wallet';
import coder = require('web3-eth-abi');


const coder: AbiCoder = new AbiCoder();

/**
* options for executor instance
*/
Expand Down
4 changes: 3 additions & 1 deletion src/contracts/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
https://evan.network/license/
*/

import coder = require('web3-eth-abi');
import { AbiCoder } from 'web3-eth-abi';

import {
ContractLoader,
Expand All @@ -38,6 +38,8 @@ import {
} from '@evan.network/dbcp';


const coder: AbiCoder = new AbiCoder();

export interface WalletOptions extends LoggerOptions {
contractLoader: ContractLoader;
description: Description;
Expand Down

0 comments on commit ce59e0d

Please sign in to comment.