-
Notifications
You must be signed in to change notification settings - Fork 79
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
dao exec for vote method in voting app always voting yes #982
Comments
Thanks for opening your first issue in aragonCLI! Someone will circle back soon ⚡ |
@Bumangues thanks for reporting this issue and the super clear explanation. We will look at it and let you know when we fix it. |
Hi @Bumangues, thank you very much for reporting this. We currently doesn't support conversion of dao --environment aragon:rinkeby exec 0xd781d3Ab8e963caB04202993986721B20fC853dF 0xb3dca023cef5d2182b222a7b91b78723f60347ea vote "13" "false" "false" --debug Hopefully in the future we can support type conversion. |
Ah, thank you for the clarification! |
🐛 Bug Report
I am trying to call the vote method from the voting app in an organization I've created in the Rinkeby testnet. I am able to call the method, but regardless of wether I pass '0' or '1' in the second argument, the transaction is "Successfully executed: "Vote yes in vote #"".
for example:
dao --environment aragon:rinkeby exec 0xd781d3Ab8e963caB04202993986721B20fC853dF 0xb3dca023cef5d2182b222a7b91b78723f60347ea vote "13" "0" "0" --debug
yieldsI find this interesting because based on the logs, it is parsed correctly, but the transaction is not executed in the manner that I expected when passing 0 in the second param of the vote method.
I attempted to vote 'no' through the browser GUI in chrome and was successful in voting no.
When I looked at the transaction through the rinkeby block explorer, I saw the input data for the transaction done through the browser and saw that the second parameter was indeed 0:
However, the input data for the transaction done through Aragon CLI had a 1 in the second parameter:
Have you read the Contributing Guidelines on issues?
Yes
Context
Mainnet or testnet?
Rinkeby
Organization
danieltest.aragonid.eth
Environment
To Reproduce
(Write your steps here:)
dao --debug --environment aragon:rinkeby exec <dao-addr> <app-proxy-addr> vote 2 1 1
dao --debug --environment aragon:rinkeby exec <dao-addr> <app-proxy-addr> vote 3 0 1
dao --debug --environment aragon:rinkeby exec <dao-addr> <app-proxy-addr> vote 4 0 0
dao --debug --environment aragon:rinkeby exec <dao-addr> <app-proxy-addr> vote 5 1 0
Expected behavior
In step 3, the vote is yes
In step 4, the vote is no
In step 5, the vote is yes
In step 6, the vote is no
In step 7, the vote is no
In step 8, the vote is yes
Actual Behavior
In step 3, the vote is yes
In step 4, the vote is no
In step 5, the vote is yes
In step 6, the vote is yes
In step 7, the vote is yes
In step 8, the vote is yes
You can observe this behavior through the browser and through a block explorer
The text was updated successfully, but these errors were encountered: