diff --git a/README.md b/README.md index 9604a0cb..fb2a7976 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ Running tests for all projects: yarn test ``` -Additionaly there are end-to-end tests for [Oracle](oracle-e2e/README.md) and [UI](ui-e2e/README.md). +Additionally there are end-to-end tests for [Oracle](oracle-e2e/README.md) and [UI](ui-e2e/README.md). For details on building, running and developing please refer to respective READMEs in sub-repositories. diff --git a/oracle/scripts/erc20_to_erc20/sendForeign.js b/oracle/scripts/erc20_to_erc20/sendForeign.js index 27f55c39..23e604c6 100644 --- a/oracle/scripts/erc20_to_erc20/sendForeign.js +++ b/oracle/scripts/erc20_to_erc20/sendForeign.js @@ -27,7 +27,7 @@ async function main() { const poa20 = new web3Foreign.eth.Contract(ERC20_ABI, ERC20_TOKEN_ADDRESS) try { - const foreignChaindId = await sendRawTx({ + const foreignChainId = await sendRawTx({ chain: 'foreign', params: [], method: 'net_version' @@ -56,7 +56,7 @@ async function main() { gasLimit, to: ERC20_TOKEN_ADDRESS, web3: web3Foreign, - chainId: foreignChaindId + chainId: foreignChainId }) if (txHash !== undefined) { nonce++ diff --git a/oracle/scripts/erc20_to_native/sendForeign.js b/oracle/scripts/erc20_to_native/sendForeign.js index a0213b57..e07c0bb3 100644 --- a/oracle/scripts/erc20_to_native/sendForeign.js +++ b/oracle/scripts/erc20_to_native/sendForeign.js @@ -26,7 +26,7 @@ async function main() { const poa20 = new web3Foreign.eth.Contract(ERC20_ABI, ERC20_TOKEN_ADDRESS) try { - const foreignChaindId = await sendRawTx({ + const foreignChainId = await sendRawTx({ chain: 'foreign', params: [], method: 'net_version' @@ -55,7 +55,7 @@ async function main() { gasLimit, to: ERC20_TOKEN_ADDRESS, web3: web3Foreign, - chainId: foreignChaindId + chainId: foreignChainId }) if (txHash !== undefined) { nonce++ diff --git a/oracle/scripts/erc20_to_native/sendHome.js b/oracle/scripts/erc20_to_native/sendHome.js index 68d6b21e..4baefbdd 100644 --- a/oracle/scripts/erc20_to_native/sendHome.js +++ b/oracle/scripts/erc20_to_native/sendHome.js @@ -21,7 +21,7 @@ async function main() { try { await isValidAmount(HOME_MIN_AMOUNT_PER_TX, bridge) - const homeChaindId = await sendRawTx({ + const homeChainId = await sendRawTx({ chain: 'home', params: [], method: 'net_version' @@ -44,7 +44,7 @@ async function main() { gasLimit: 100000, to: HOME_BRIDGE_ADDRESS, web3: web3Home, - chainId: homeChaindId + chainId: homeChainId }) if (txHash !== undefined) { nonce++ diff --git a/oracle/scripts/native_to_erc20/sendForeign.js b/oracle/scripts/native_to_erc20/sendForeign.js index f6a26c16..8e2d8257 100644 --- a/oracle/scripts/native_to_erc20/sendForeign.js +++ b/oracle/scripts/native_to_erc20/sendForeign.js @@ -53,7 +53,7 @@ async function main() { try { await isValidAmount(FOREIGN_MIN_AMOUNT_PER_TX, bridge) - const foreignChaindId = await sendRawTx({ + const foreignChainId = await sendRawTx({ chain: 'foreign', params: [], method: 'net_version' @@ -82,7 +82,7 @@ async function main() { gasLimit, to: ERC20_TOKEN_ADDRESS, web3: web3Foreign, - chainId: foreignChaindId + chainId: foreignChainId }) if (txHash !== undefined) { nonce++ diff --git a/oracle/scripts/native_to_erc20/sendHome.js b/oracle/scripts/native_to_erc20/sendHome.js index 439fb1b1..c836e0fc 100644 --- a/oracle/scripts/native_to_erc20/sendHome.js +++ b/oracle/scripts/native_to_erc20/sendHome.js @@ -21,7 +21,7 @@ async function main() { try { await isValidAmount(HOME_MIN_AMOUNT_PER_TX, bridge) - const homeChaindId = await sendRawTx({ + const homeChainId = await sendRawTx({ chain: 'home', params: [], method: 'net_version' @@ -44,7 +44,7 @@ async function main() { gasLimit: 100000, to: HOME_BRIDGE_ADDRESS, web3: web3Home, - chainId: homeChaindId + chainId: homeChainId }) if (txHash !== undefined) { nonce++