parent
677bc50519
commit
443474e802
@ -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.
|
||||
|
||||
|
@ -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++
|
||||
|
@ -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++
|
||||
|
@ -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++
|
||||
|
@ -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++
|
||||
|
@ -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++
|
||||
|
Loading…
Reference in New Issue
Block a user