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

XC doesn't work for original Pangaea wallet, but does for self-created wallet #34

Open
JB273 opened this issue Sep 21, 2019 · 5 comments
Assignees

Comments

@JB273
Copy link

JB273 commented Sep 21, 2019

Running a test w:ith XC and have the following finding:
Ok, I run in to the following scenario:
I have two one1-address accounts,
1 is original and comes from Harmony during signup proces.
2 is created by myself for testing

When sending with XC from 2 to 1 it is working correctly and I also receive the amount on account 1.
When sending with XC from 1 to 2 it seems to be working, but amount is not received on account 2 and tokens are lost (in space 🤣😂)

Transactions can both be found in Pangaea Explorer!

Can someone test and confirm this?

@JB273
Copy link
Author

JB273 commented Sep 21, 2019

Commandline and out put for sending from 2 (self created wallet) to 1 (original Pangaea wallet):
./wallet.sh -t transfer --from=one1dynteed5pxanja7r3pnmwuchxr5td0f9mqd8vn --to=one136d9rd7js6rql0llze369y6jm9rednukz6ukhc --amount=10 --shardID=2 --toShardID=0 --pass pass:pangaea
Using pangaea profile for wallet
Unlock account succeeded! 'pass:pangaea'
Transaction Id for shard 2: 0xee45cc70d0444aa475cadc2f486af2dabac6d7355e903351bccd8506d369e926

Also received a nonce for this:
root@JNB-Pangaea:/media/pangaea# ./wallet.sh -t balances
Using pangaea profile for wallet
Account 0:
Address: one136d9rd7js6rql0llze369y6jm9rednukz6ukhc
Balance in Shard 0: 100.0000, nonce: 1 not yet received
Balance in Shard 1: 100.0000, nonce: 0
Balance in Shard 2: 100.0000, nonce: 0
Balance in Shard 3: 352.441171285, nonce: 0
Account 1:
Address: one1dynteed5pxanja7r3pnmwuchxr5td0f9mqd8vn
Balance in Shard 0: 100.0000, nonce: 1
Balance in Shard 1: 100.0000, nonce: 0
Balance in Shard 2: 90.0000, nonce: 1 nonce got up with 1
Balance in Shard 3: 100.0000, nonce: 0
root@JNB-Pangaea:/media/pangaea# ./wallet.sh -t balances
Using pangaea profile for wallet
Account 0:
Address: one136d9rd7js6rql0llze369y6jm9rednukz6ukhc
Balance in Shard 0: 110.0000, nonce: 1 received tokens
Balance in Shard 1: 100.0000, nonce: 0
Balance in Shard 2: 100.0000, nonce: 0
Balance in Shard 3: 352.653092847, nonce: 0
Account 1:
Address: one1dynteed5pxanja7r3pnmwuchxr5td0f9mqd8vn
Balance in Shard 0: 100.0000, nonce: 0
Balance in Shard 1: 100.0000, nonce: 0
Balance in Shard 2: 90.0000, nonce: 1
Balance in Shard 3: 100.0000, nonce: 0

@JB273
Copy link
Author

JB273 commented Sep 21, 2019

Commandline and out put for sending from 1 (original Pangaea wallet) 2 to (self created wallet):
root@JNB-Pangaea:/media/pangaea# ./wallet.sh -t transfer --from=one136d9rd7js6rql0llze369y6jm9rednukz6ukhc --to=one1dynteed5pxanja7r3pnmwuchxr5td0f9mqd8vn --amount=10 --shardID=0 --toShardID=2 --pass pass:
Using pangaea profile for wallet
Unlock account succeeded! 'pass:'
Transaction Id for shard 0: 0xab54f50b4c19f757922f35b09c197e2f31c0de33c0ff3a8968af3dae776e0be9

also received nonce, but no tokens received:
root@JNB-Pangaea:/media/pangaea# ./wallet.sh -t balances
Using pangaea profile for wallet
Account 0:
Address: one136d9rd7js6rql0llze369y6jm9rednukz6ukhc
Balance in Shard 0: 100.0000, nonce: 2 nonce got up
Balance in Shard 1: 100.0000, nonce: 0
Balance in Shard 2: 100.0000, nonce: 0
Balance in Shard 3: 354.454229048, nonce: 0
Account 1:
Address: one1dynteed5pxanja7r3pnmwuchxr5td0f9mqd8vn
Balance in Shard 0: 100.0000, nonce: 1
Balance in Shard 1: 100.0000, nonce: 0
Balance in Shard 2: 90.0000, nonce: 1 nothing received
Balance in Shard 3: 100.0000, nonce: 0

@JB273
Copy link
Author

JB273 commented Sep 21, 2019

Tested also with user "B Fish" on telegram, he did send over 10 tokens XC, but I didn't received it.
TXiD: 0x1a4cd0194fd964bc9a58897fdb6636a4a69284131d509ddc088e64c3b3f86084

@harmony-ek
Copy link

Can you copy/paste the output of LD_LIBRARY_PATH=. ./wallet -version?

@JB273
Copy link
Author

JB273 commented Sep 21, 2019

Harmony (C) 2019. wallet, version v4662-pangaea-20190920.0-0-gc2324c41 (jenkins@ 2019-09-21T06:31:36+0000)

@harmony-ek harmony-ek self-assigned this Sep 21, 2019
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

No branches or pull requests

2 participants