diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-06-20 08:21:31 +0800 |
---|---|---|
committer | Greg Hysen <greg.hysen@gmail.com> | 2018-06-21 04:54:39 +0800 |
commit | 783ac3c10575447878cf339fddfc0d00ffeb1c85 (patch) | |
tree | d24e82bb9bc41ed13b681d09b04f3e9ad64ecbc9 /packages/contract_templates | |
parent | d46e3f677805c8e3e4b4873fb9b0cec2988a4d63 (diff) | |
download | dexon-sol-tools-783ac3c10575447878cf339fddfc0d00ffeb1c85.tar dexon-sol-tools-783ac3c10575447878cf339fddfc0d00ffeb1c85.tar.gz dexon-sol-tools-783ac3c10575447878cf339fddfc0d00ffeb1c85.tar.bz2 dexon-sol-tools-783ac3c10575447878cf339fddfc0d00ffeb1c85.tar.lz dexon-sol-tools-783ac3c10575447878cf339fddfc0d00ffeb1c85.tar.xz dexon-sol-tools-783ac3c10575447878cf339fddfc0d00ffeb1c85.tar.zst dexon-sol-tools-783ac3c10575447878cf339fddfc0d00ffeb1c85.zip |
Fixed `callAsync` template. Previously did not append `callData`, so we couldn’t specify `from` address
Diffstat (limited to 'packages/contract_templates')
-rw-r--r-- | packages/contract_templates/partials/callAsync.handlebars | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/contract_templates/partials/callAsync.handlebars b/packages/contract_templates/partials/callAsync.handlebars index 5d14b1823..35fbe3c85 100644 --- a/packages/contract_templates/partials/callAsync.handlebars +++ b/packages/contract_templates/partials/callAsync.handlebars @@ -15,6 +15,7 @@ async callAsync( const callDataWithDefaults = await BaseContract._applyDefaultsToTxDataAsync( { to: self.address, + ...callData, data: encodedData, }, self._web3Wrapper.getContractDefaults(), |