-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add new StdDaoToken test: multiple votings started, transfers work co… #208
Conversation
@@ -155,6 +155,11 @@ contract Voting_SimpleToken is IVoting, Ownable { | |||
} | |||
} | |||
|
|||
function getPowerOf(address _who) view public returns(uint) { | |||
return stdDaoToken.getBalanceAtVoting(votingID, _who); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А разве для isQuadraticVoting будет так же?
|
||
const VOTING_TYPE_LIQUID = 4; | ||
|
||
beforeEach(async() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Файл лучше назвать voting_simple_token.functional.tests.js
Длинно, но норм)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
а почему simple_token? Там же все виды создаются
…rrectly #206