feat(sdk,cli): add isOpen status to poll data and improve CLI output#2827
Merged
0xmad merged 1 commit intoprivacy-ethereum:mainfrom Mar 5, 2026
Merged
feat(sdk,cli): add isOpen status to poll data and improve CLI output#28270xmad merged 1 commit intoprivacy-ethereum:mainfrom
0xmad merged 1 commit intoprivacy-ethereum:mainfrom
Conversation
|
@johnson86tw is attempting to deploy a commit to the Privacy and Scaling Explorations Team on Vercel. A member of the Team first needs to authorize it. |
1. packages/cli/ts/index.ts: Added transaction hash output for publish command, added --quiet option and poll status display for getPoll command, added success message for verifyTallyCommitment command 2. packages/sdk/ts/poll/poll.ts: Added isOpen field calculation by comparing current block timestamp with poll start/end dates 3. packages/sdk/ts/poll/types.ts: Added isOpen field to IGetPollData interface
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
isOpenfield to poll data in SDK, calculated by comparing current block timestamp with poll start/end datespublishcommand--quietoption forgetPollcommandverifyTallyCommitmentcommand