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

Fix/gas refund on set vote #185

Merged
Prev Previous commit
fix: removed "." (dot) from comment on max gas refund because it migh…
…t be confusing
dcrescimbeni committed Jun 30, 2022
commit 76bdd1cef4f9134b6fc9b8a51d9dd0159dfc986e
2 changes: 1 addition & 1 deletion contracts/erc20guild/BaseERC20Guild.sol
Original file line number Diff line number Diff line change
@@ -179,7 +179,7 @@ contract BaseERC20Guild {
require(_proposalTime > 0, "ERC20Guild: proposal time has to be more than 0");
require(_lockTime >= _proposalTime, "ERC20Guild: lockTime has to be higher or equal to proposalTime");
require(_votingPowerForProposalExecution > 0, "ERC20Guild: voting power for execution has to be more than 0");
require(_voteGas <= 117000, "ERC20Guild: vote gas has to be equal or lower than 117.000");
require(_voteGas <= 117000, "ERC20Guild: vote gas has to be equal or lower than 117000");
proposalTime = _proposalTime;
timeForExecution = _timeForExecution;
votingPowerForProposalExecution = _votingPowerForProposalExecution;