From f5516a42fe2c78784b2f93db13364af6a33d3775 Mon Sep 17 00:00:00 2001 From: rzadp Date: Thu, 23 May 2019 15:11:35 +0200 Subject: [PATCH] Update deployment script --- oracle-e2e/scripts/deployERC20.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oracle-e2e/scripts/deployERC20.js b/oracle-e2e/scripts/deployERC20.js index ed4b0596..16a9381e 100644 --- a/oracle-e2e/scripts/deployERC20.js +++ b/oracle-e2e/scripts/deployERC20.js @@ -7,7 +7,7 @@ require('dotenv').config({ const { deployContract, - sendRawTx, + sendRawTxForeign, privateKeyToAddress } = require(`../${contractsPath}/deploy/src/deploymentUtils`) const { @@ -34,7 +34,7 @@ async function deployErc20() { const mintData = await poa20foreign.methods .mint(user.address, '1000000000000000000') .encodeABI({ from: DEPLOYMENT_ACCOUNT_ADDRESS }) - await sendRawTx({ + await sendRawTxForeign({ data: mintData, nonce: foreignNonce, to: poa20foreign.options.address,