Fixed callAsync template. Previously did not append callData, so we couldn’t specify from address
This commit is contained in:
@@ -15,6 +15,7 @@ async callAsync(
|
|||||||
const callDataWithDefaults = await BaseContract._applyDefaultsToTxDataAsync(
|
const callDataWithDefaults = await BaseContract._applyDefaultsToTxDataAsync(
|
||||||
{
|
{
|
||||||
to: self.address,
|
to: self.address,
|
||||||
|
...callData,
|
||||||
data: encodedData,
|
data: encodedData,
|
||||||
},
|
},
|
||||||
self._web3Wrapper.getContractDefaults(),
|
self._web3Wrapper.getContractDefaults(),
|
||||||
|
|||||||
Reference in New Issue
Block a user