Skip to content

Commit

Permalink
Fix accounts naming
Browse files Browse the repository at this point in the history
  • Loading branch information
karim-en committed Feb 26, 2024
1 parent 19bb19b commit fd2a0b7
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ RainbowConfig.declareOption(
RainbowConfig.declareOption(
'near-client-account',
'The account of the Near Client contract that can be used to accept ETH headers.',
'rainbow_bridge_eth_on_near_client'
'eth_on_near_client.node0'
)
RainbowConfig.declareOption(
'near-client-sk',
Expand Down Expand Up @@ -125,7 +125,7 @@ RainbowConfig.declareOption(
RainbowConfig.declareOption(
'near-prover-account',
'The account of the Near Prover contract that can be used to accept ETH headers.',
'rainbow_bridge_eth_on_near_prover'
'eth_on_near_prover.node0'
)
RainbowConfig.declareOption(
'near-prover-sk',
Expand Down
6 changes: 3 additions & 3 deletions testing/ci/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ sleep 5
yarn run pm2 list
node index.js TESTING transfer-eth-erc20-to-near --amount 1000 \
--eth-sender-sk 0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501200 \
--near-receiver-account rainbow_bridge_eth_on_near_prover --near-master-account rainbow_bridge_eth_on_near_prover \
--near-receiver-account eth_on_near_prover.node0 --near-master-account eth_on_near_prover.node0 \
2>&1 | tee -a /tmp/eth2neartransfer.out
grep "Balance of rainbow_bridge_eth_on_near_prover after the transfer is 1000" /tmp/eth2neartransfer.out
node index.js TESTING transfer-eth-erc20-from-near --amount 1 --near-sender-account rainbow_bridge_eth_on_near_prover \
grep "Balance of eth_on_near_prover.node0 after the transfer is 1000" /tmp/eth2neartransfer.out
node index.js TESTING transfer-eth-erc20-from-near --amount 1 --near-sender-account eth_on_near_prover.node0 \
--near-sender-sk ed25519:3D4YudUQRE39Lc4JHghuB5WM8kbgDDa34mnrEP5DdTApVH81af7e2dWgNPEaiQfdJnZq1CNPp5im4Rg5b733oiMP \
--eth-receiver-address 0xEC8bE1A5630364292E56D01129E8ee8A9578d7D8 \
2>&1 | tee -a /tmp/near2ethtransfer.out
Expand Down
6 changes: 3 additions & 3 deletions testing/ci/e2e_deploy_contract.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ yarn run pm2 list

node index.js TESTING transfer-eth-erc20-to-near --token-name myerc20 --amount 1000 \
--eth-sender-sk 0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501200 \
--near-receiver-account rainbow_bridge_eth_on_near_prover --near-master-account rainbow_bridge_eth_on_near_prover \
--near-receiver-account eth_on_near_prover.node0 --near-master-account eth_on_near_prover.node0 \
2>&1 | tee -a /tmp/eth2neartransfer.out
grep "Balance of rainbow_bridge_eth_on_near_prover after the transfer is 1000" /tmp/eth2neartransfer.out
node index.js TESTING transfer-eth-erc20-from-near --token-name myerc20 --amount 1 --near-sender-account rainbow_bridge_eth_on_near_prover \
grep "Balance of eth_on_near_prover.node0 after the transfer is 1000" /tmp/eth2neartransfer.out
node index.js TESTING transfer-eth-erc20-from-near --token-name myerc20 --amount 1 --near-sender-account eth_on_near_prover.node0 \
--near-sender-sk ed25519:3D4YudUQRE39Lc4JHghuB5WM8kbgDDa34mnrEP5DdTApVH81af7e2dWgNPEaiQfdJnZq1CNPp5im4Rg5b733oiMP \
--eth-receiver-address 0xEC8bE1A5630364292E56D01129E8ee8A9578d7D8 \
2>&1 | tee -a /tmp/near2ethtransfer.out
Expand Down
6 changes: 3 additions & 3 deletions testing/ci/test_challenge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ node index.js start near2eth-relay --near2eth-relay-min-delay 1 --near2eth-relay

node index.js TESTING transfer-eth-erc20-to-near --amount 1000 \
--eth-sender-sk 0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501200 \
--near-receiver-account rainbow_bridge_eth_on_near_prover --near-master-account rainbow_bridge_eth_on_near_prover \
--near-receiver-account eth_on_near_prover.node0 --near-master-account eth_on_near_prover.node0 \
2>&1 | tee -a /tmp/eth2neartransfer.out
grep "Balance of rainbow_bridge_eth_on_near_prover after the transfer is 1000" /tmp/eth2neartransfer.out
node index.js TESTING transfer-eth-erc20-from-near --amount 1 --near-sender-account rainbow_bridge_eth_on_near_prover \
grep "Balance of eth_on_near_prover.node0 after the transfer is 1000" /tmp/eth2neartransfer.out
node index.js TESTING transfer-eth-erc20-from-near --amount 1 --near-sender-account eth_on_near_prover.node0 \
--near-sender-sk ed25519:3D4YudUQRE39Lc4JHghuB5WM8kbgDDa34mnrEP5DdTApVH81af7e2dWgNPEaiQfdJnZq1CNPp5im4Rg5b733oiMP \
--eth-receiver-address 0xEC8bE1A5630364292E56D01129E8ee8A9578d7D8 \
2>&1 | tee -a /tmp/near2ethtransfer.out
Expand Down
6 changes: 3 additions & 3 deletions testing/ci/test_ethrelay_catchup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ sleep 5
yarn run pm2 list
node index.js TESTING transfer-eth-erc20-to-near --amount 1000 \
--eth-sender-sk 0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501200 \
--near-receiver-account rainbow_bridge_eth_on_near_prover --near-master-account rainbow_bridge_eth_on_near_prover \
--near-receiver-account eth_on_near_prover.node0 --near-master-account eth_on_near_prover.node0 \
2>&1 | tee -a /tmp/eth2neartransfer.out
grep "Balance of rainbow_bridge_eth_on_near_prover after the transfer is 1000" /tmp/eth2neartransfer.out
node index.js TESTING transfer-eth-erc20-from-near --amount 1 --near-sender-account rainbow_bridge_eth_on_near_prover \
grep "Balance of eth_on_near_prover.node0 after the transfer is 1000" /tmp/eth2neartransfer.out
node index.js TESTING transfer-eth-erc20-from-near --amount 1 --near-sender-account eth_on_near_prover.node0 \
--near-sender-sk ed25519:3D4YudUQRE39Lc4JHghuB5WM8kbgDDa34mnrEP5DdTApVH81af7e2dWgNPEaiQfdJnZq1CNPp5im4Rg5b733oiMP \
--eth-receiver-address 0xEC8bE1A5630364292E56D01129E8ee8A9578d7D8 \
2>&1 | tee -a /tmp/near2ethtransfer.out
Expand Down
6 changes: 3 additions & 3 deletions testing/ci/test_npm_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ sleep 5
yarn pm2 list
rainbow TESTING transfer-eth-erc20-to-near --amount 1000 \
--eth-sender-sk 0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501200 \
--near-receiver-account rainbow_bridge_eth_on_near_prover --near-master-account rainbow_bridge_eth_on_near_prover \
--near-receiver-account eth_on_near_prover.node0 --near-master-account eth_on_near_prover.node0 \
2>&1 | tee -a /tmp/eth2neartransfer.out
grep "Balance of rainbow_bridge_eth_on_near_prover after the transfer is 1000" /tmp/eth2neartransfer.out
rainbow TESTING transfer-eth-erc20-from-near --amount 1 --near-sender-account rainbow_bridge_eth_on_near_prover \
grep "Balance of eth_on_near_prover.node0 after the transfer is 1000" /tmp/eth2neartransfer.out
rainbow TESTING transfer-eth-erc20-from-near --amount 1 --near-sender-account eth_on_near_prover.node0 \
--near-sender-sk ed25519:3D4YudUQRE39Lc4JHghuB5WM8kbgDDa34mnrEP5DdTApVH81af7e2dWgNPEaiQfdJnZq1CNPp5im4Rg5b733oiMP \
--eth-receiver-address 0xEC8bE1A5630364292E56D01129E8ee8A9578d7D8 \
2>&1 | tee -a /tmp/near2ethtransfer.out
Expand Down

0 comments on commit fd2a0b7

Please sign in to comment.