diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-10 21:02:32 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-10 23:47:38 +0800 |
commit | 7eb9444458f8c86cbc9c7be47879802c52ece57a (patch) | |
tree | 749c90f1bc547dfb7795057bc2b6aadf709b7319 /packages/contract_templates/contract.handlebars | |
parent | ebc296ea3150672c6998fcbdefbbb18433030719 (diff) | |
download | dexon-sol-tools-7eb9444458f8c86cbc9c7be47879802c52ece57a.tar dexon-sol-tools-7eb9444458f8c86cbc9c7be47879802c52ece57a.tar.gz dexon-sol-tools-7eb9444458f8c86cbc9c7be47879802c52ece57a.tar.bz2 dexon-sol-tools-7eb9444458f8c86cbc9c7be47879802c52ece57a.tar.lz dexon-sol-tools-7eb9444458f8c86cbc9c7be47879802c52ece57a.tar.xz dexon-sol-tools-7eb9444458f8c86cbc9c7be47879802c52ece57a.tar.zst dexon-sol-tools-7eb9444458f8c86cbc9c7be47879802c52ece57a.zip |
Remove _applyDefaultsToDeployTxDataAsync
Diffstat (limited to 'packages/contract_templates/contract.handlebars')
-rw-r--r-- | packages/contract_templates/contract.handlebars | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contract_templates/contract.handlebars b/packages/contract_templates/contract.handlebars index af9f15c69..0f6151690 100644 --- a/packages/contract_templates/contract.handlebars +++ b/packages/contract_templates/contract.handlebars @@ -65,7 +65,7 @@ export class {{contractName}}Contract extends BaseContract { ); const txData = ethers.Contract.getDeployTransaction(bytecode, abi, {{> params inputs=ctor.inputs}}); const web3Wrapper = new Web3Wrapper(provider); - const txDataWithDefaults = await BaseContract._applyDefaultsToDeployTxDataAsync( + const txDataWithDefaults = await BaseContract._applyDefaultsToTxDataAsync( txData, defaults, web3Wrapper.estimateGasAsync.bind(web3Wrapper), |