Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resume transfer from near #314

Closed
wants to merge 3 commits into from
Closed

resume transfer from near #314

wants to merge 3 commits into from

Conversation

ailisp
Copy link
Contributor

@ailisp ailisp commented Aug 20, 2020

Test:

➜  environment git:(master) ✗ /Users/bo/.nvm/versions/node/v12.18.1/bin/node /Users/bo/workspace/rainbow-bridge/environment/index.js transfer-eth-erc20-from-near --amount 1 --near-sender-account rainbow_bridge_eth_on_near_prover --near-sender-sk ed25519:3D4YudUQRE39Lc4JHghuB5WM8kbgDDa34mnrEP5DdTApVH81af7e2dWgNPEaiQfdJnZq1CNPp5im4Rg5b733oiMP --eth-receiver-address 0xEC8bE1A5630364292E56D01129E8ee8A9578d7D8
Balance of rainbow_bridge_eth_on_near_prover before burning: 998
Burning 1 tokens on NEAR blockchain in favor of EC8bE1A5630364292E56D01129E8ee8A9578d7D8.
TxHash DCySogVoxkY992LGpWpQw7GB2N9BtuyvqHHxY6VvLnn7
[]
Current light client head is: hash=63wWWH6rfr8M9r4ngFeyfSAfzvLbeE43maXMhNfvotWY, height=1438
Block 1710 is not available on the light client yet. Current height of light client is 1438. Sleeping 10 seconds.
^C
➜  environment git:(master) ✗ /Users/bo/.nvm/versions/node/v12.18.1/bin/node /Users/bo/workspace/rainbow-bridge/environment/index.js transfer-eth-erc20-from-near --amount 1 --near-sender-account rainbow_bridge_eth_on_near_prover --near-sender-sk ed25519:3D4YudUQRE39Lc4JHghuB5WM8kbgDDa34mnrEP5DdTApVH81af7e2dWgNPEaiQfdJnZq1CNPp5im4Rg5b733oiMP --eth-receiver-address 0xEC8bE1A5630364292E56D01129E8ee8A9578d7D8
Current light client head is: hash=93S837oWX8bCzrwapmPfrkAcfu2D7vD2L5qMTajFsgH8, height=1498
Block 1710 is not available on the light client yet. Current height of light client is 1498. Sleeping 10 seconds.
Current light client head is: hash=93S837oWX8bCzrwapmPfrkAcfu2D7vD2L5qMTajFsgH8, height=1498
Block 1710 is not available on the light client yet. Current height of light client is 1498. Sleeping 10 seconds.
Current light client head is: hash=93S837oWX8bCzrwapmPfrkAcfu2D7vD2L5qMTajFsgH8, height=1498
Block 1710 is not available on the light client yet. Current height of light client is 1498. Sleeping 10 seconds.
Current light client head is: hash=93S837oWX8bCzrwapmPfrkAcfu2D7vD2L5qMTajFsgH8, height=1498
Block 1710 is not available on the light client yet. Current height of light client is 1498. Sleeping 10 seconds.
Current light client head is: hash=93S837oWX8bCzrwapmPfrkAcfu2D7vD2L5qMTajFsgH8, height=1498
Block 1710 is not available on the light client yet. Current height of light client is 1498. Sleeping 10 seconds.
Current light client head is: hash=CpYkreyP9xT8kR3uZGJ2A1gwCrZs8fs8ctLgyz5phf3H, height=1558
Block 1710 is not available on the light client yet. Current height of light client is 1558. Sleeping 10 seconds.
Current light client head is: hash=CpYkreyP9xT8kR3uZGJ2A1gwCrZs8fs8ctLgyz5phf3H, height=1558
Block 1710 is not available on the light client yet. Current height of light client is 1558. Sleeping 10 seconds.
Current light client head is: hash=CpYkreyP9xT8kR3uZGJ2A1gwCrZs8fs8ctLgyz5phf3H, height=1558
Block 1710 is not available on the light client yet. Current height of light client is 1558. Sleeping 10 seconds.
Current light client head is: hash=CpYkreyP9xT8kR3uZGJ2A1gwCrZs8fs8ctLgyz5phf3H, height=1558
Block 1710 is not available on the light client yet. Current height of light client is 1558. Sleeping 10 seconds.
Current light client head is: hash=CpYkreyP9xT8kR3uZGJ2A1gwCrZs8fs8ctLgyz5phf3H, height=1558
Block 1710 is not available on the light client yet. Current height of light client is 1558. Sleeping 10 seconds.
Current light client head is: hash=HLKnZjmDsKsKzZMKBBburZByZB9Mnm2cBVQLQuwMw43Q, height=1618
Block 1710 is not available on the light client yet. Current height of light client is 1618. Sleeping 10 seconds.
Current light client head is: hash=HLKnZjmDsKsKzZMKBBburZByZB9Mnm2cBVQLQuwMw43Q, height=1618
Block 1710 is not available on the light client yet. Current height of light client is 1618. Sleeping 10 seconds.
Current light client head is: hash=HLKnZjmDsKsKzZMKBBburZByZB9Mnm2cBVQLQuwMw43Q, height=1618
Block 1710 is not available on the light client yet. Current height of light client is 1618. Sleeping 10 seconds.
Current light client head is: hash=HLKnZjmDsKsKzZMKBBburZByZB9Mnm2cBVQLQuwMw43Q, height=1618
Block 1710 is not available on the light client yet. Current height of light client is 1618. Sleeping 10 seconds.
Current light client head is: hash=HLKnZjmDsKsKzZMKBBburZByZB9Mnm2cBVQLQuwMw43Q, height=1618
Block 1710 is not available on the light client yet. Current height of light client is 1618. Sleeping 10 seconds.
Current light client head is: hash=6hvFsGVfyzh3H3tMKN8z486CgpDF4Mf4Rpx9h5RWuH2g, height=1678
Block 1710 is not available on the light client yet. Current height of light client is 1678. Sleeping 10 seconds.
Current light client head is: hash=6hvFsGVfyzh3H3tMKN8z486CgpDF4Mf4Rpx9h5RWuH2g, height=1678
Block 1710 is not available on the light client yet. Current height of light client is 1678. Sleeping 10 seconds.
Current light client head is: hash=6hvFsGVfyzh3H3tMKN8z486CgpDF4Mf4Rpx9h5RWuH2g, height=1678
Block 1710 is not available on the light client yet. Current height of light client is 1678. Sleeping 10 seconds.
Current light client head is: hash=6hvFsGVfyzh3H3tMKN8z486CgpDF4Mf4Rpx9h5RWuH2g, height=1678
Block 1710 is not available on the light client yet. Current height of light client is 1678. Sleeping 10 seconds.
Current light client head is: hash=BM9cpYL1dC3EpZpESf2tjZ6yWNqfduE1VCE9t4P2LobL, height=1738
Near2EthClient block is at 1738 which is further than the needed block 1710
Burnt "1"
Balance of rainbow_bridge_eth_on_near_prover after burning: 997
AQAAAAAAAAAAAAAAAAAAAOyL4aVjA2QpLlbQESno7oqVeNfY
ERC20 balance of EC8bE1A5630364292E56D01129E8ee8A9578d7D8 before the transfer: 1
ERC20 balance of EC8bE1A5630364292E56D01129E8ee8A9578d7D8 after the transfer: 2

Finishes #145

@ailisp ailisp linked an issue Aug 22, 2020 that may be closed by this pull request
Copy link
Contributor

@Kouprin Kouprin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ailisp
Copy link
Contributor Author

ailisp commented Aug 26, 2020

I see, will change there

@ailisp ailisp closed this Aug 26, 2020
@mfornet mfornet deleted the resume-transfer-from-near branch February 18, 2021 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Resuming transfer commands
2 participants