Skip to content

feat(sdk,cli): add isOpen status to poll data and improve CLI output#2827

Merged
0xmad merged 1 commit intoprivacy-ethereum:mainfrom
johnson86tw:main
Mar 5, 2026
Merged

feat(sdk,cli): add isOpen status to poll data and improve CLI output#2827
0xmad merged 1 commit intoprivacy-ethereum:mainfrom
johnson86tw:main

Conversation

@johnson86tw
Copy link
Contributor

Summary

  • Added isOpen field to poll data in SDK, calculated by comparing current block timestamp with poll start/end dates
  • Added transaction hash output for publish command
  • Added poll status display (Open/Closed) and --quiet option for getPoll command
  • Added success message for verifyTallyCommitment command

@vercel
Copy link

vercel bot commented Jan 29, 2026

@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
@vercel
Copy link

vercel bot commented Mar 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
maci-website Ready Ready Preview Mar 5, 2026 10:16pm

Request Review

Copy link
Collaborator

@0xmad 0xmad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@0xmad 0xmad merged commit a0bea6d into privacy-ethereum:main Mar 5, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants