Closed KipCrossing closed 3 years ago
I get this with a fresh install of the app
https://github.com/voteflux/voting-alpha#curl-based-can-be-run-from-cli This need to be done
EDIT: it has been done in auth_servide.dart
I just checked that we are signing up ok and it seems to work fine. When I:
print(response.body);
I get:
I/flutter (10722): {"result": "success", "txids": "0x152c331325017154d025099bc2469c26cc1a6c9df0bf6562b3984ba5d6b8adef,0xacdfaa2bde9c4fefcd4c662ee6904b07f23ed9cfcd7e27e3a940bd61d060fcaf"}
This means we are not passing the correct eth address through when making a vote.
This is where the eth is given to the user.
Another possibility is that the my_addr
has ran out of eth and therefore no more eth is given to new users. Also make sense why you didnt get the error @oscarmanderj
Can you add more eth? I though we were on the testnet?
Uhh, might need faucet address? Probs a @XertroV or Adrian thing tbh. Mebbe @bazmatic
remove eth type in hive bill vote, fix the voting issue
i'm not sure that will fix the issue.
steps to debug:
I/flutter (10722): {"result": "success", "txids": "0x152c331325017154d025099bc2469c26cc1a6c9df0bf6562b3984ba5d6b8adef,0xacdfaa2bde9c4fefcd4c662ee6904b07f23ed9cfcd7e27e3a940bd61d060fcaf"
i think removing typing info from the client won't affect the balance of the addr. (the thing that the OP suggests)
remove eth type in hive bill vote, fix the voting issue
i'm not sure that will fix the issue.
steps to debug:
- the txid you get back from the API call; which addr makes that?
I/flutter (10722): {"result": "success", "txids": "0x152c331325017154d025099bc2469c26cc1a6c9df0bf6562b3984ba5d6b8adef,0xacdfaa2bde9c4fefcd4c662ee6904b07f23ed9cfcd7e27e3a940bd61d060fcaf"
- which addr are you trying to vote with?
- what's the balance of that address?
i think removing typing info from the client won't affect the balance of the addr. (the thing that the OP suggests)
The ethereum address being used was invalid due to a type mismatch, hence the transaction failed. Now the address is being passed through correctly, so this has fixed the issue.
Thanks to everyone for getting involved in this!
I just looked into it again and got success. Perhaps something weird happened with the previous attempt; idk.
@oscarmanderj feel free to merge this
Problem: Voting bug
Solution: remove eth type in hive bill vote, fix the voting issue