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

feat(contracts): added message processor and tally addresses to the maci contract #1715

Conversation

yashgo0018
Copy link
Contributor

Description

Changed the polls mapping to return the PollContracts struct instead of the poll address, it will now return the message processor address, tally contract address and poll contract address, when we will fetch the poll from the polls mapping and the getPoll function.

Confirmation

Copy link

vercel bot commented Jul 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
maci-website ✅ Ready (Inspect) Visit Preview Jul 30, 2024 9:18pm

/// @return poll The Poll contract object
function getPoll(uint256 _pollId) public view returns (address poll) {
/// @return pollContracts The Poll contract object
function getPoll(uint256 _pollId) public view returns (PollContracts memory pollContracts) {

Check warning

Code scanning / Slither

Conformance to Solidity naming conventions Warning

Parameter MACI.getPoll(uint256)._pollId is not in mixedCase
Copy link
Collaborator

@ctrlc03 ctrlc03 left a comment

Choose a reason for hiding this comment

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

Thank you!!

@ctrlc03 ctrlc03 merged commit 801b774 into privacy-scaling-explorations:dev Jul 30, 2024
23 checks passed
@yashgo0018 yashgo0018 deleted the added-poll-contracts-in-polls-mapping branch July 30, 2024 22:05
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