-
Notifications
You must be signed in to change notification settings - Fork 159
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 start and end timestmap for poll #2113
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
136d303
to
f83db00
Compare
f83db00
to
7686030
Compare
7686030
to
aeb354d
Compare
aeb354d
to
a9ac6f2
Compare
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.
@ctrlc03 thanks, just one suggestion:
Let's move this to maci-contracts
and re-export it in maci-sdk
.
const startTime = (await signer.provider?.getBlock("latest"))?.timestamp ?? Math.floor(Date.now() / 1000);
And change getBlock
to getBlockNumber
.
a9ac6f2
to
cf67b53
Compare
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.
@ctrlc03 thanks!
Description
Add start and end date for polls
Related issue(s)
fix #2110
Confirmation
Important
We do not accept minor grammatical fixes (e.g., correcting typos, rewording sentences) unless they significantly improve clarity in technical documentation. These contributions, while appreciated, are not a priority for merging. If there is a grammatical error feel free to message the team.