-
Notifications
You must be signed in to change notification settings - Fork 12
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
feat: Add reason to vote #71
Conversation
Blocked by foundry-rs/foundry#4409 |
This was not a blocker, I was actually being dumb, thx @Orland0x for helping my stupid ass :) |
src/utils/SignatureVerifier.sol
Outdated
@@ -6,6 +6,7 @@ import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; | |||
import "@openzeppelin/contracts/utils/cryptography/EIP712.sol"; | |||
import "src/types.sol"; | |||
import { SXHash } from "src/utils/SXHash.sol"; | |||
import "forge-std/console2.sol"; |
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.
^
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.
Nice :) 9cef187
alright as of this conversation we should call it |
Updated :) |
uTACK |
…_add_reason_parameter
9debc1d
to
fdc94cd
Compare
Adds an optional string
reason
to thevote
function. Thisreason
will be emitted in theVoteCreated
event.Closes #65