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

refactor(contracts): add audit auggestions #1204

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

ctrlc03
Copy link
Collaborator

@ctrlc03 ctrlc03 commented Feb 19, 2024

Description

  • Add coordinator pub key sanity check
  • optimize padAndHashMessage
  • use >= instead of == for signup/message max value checks
  • remove unnecessary state variable numStateLeaves on MACI

Confirmation

Copy link

netlify bot commented Feb 19, 2024

Deploy Preview for maci-typedoc ready!

Name Link
🔨 Latest commit 415c3da
🔍 Latest deploy log https://app.netlify.com/sites/maci-typedoc/deploys/65d370cddda473000866722b
😎 Deploy Preview https://deploy-preview-1204--maci-typedoc.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@ctrlc03 ctrlc03 force-pushed the refactor/contracts-suggestions branch from 3e54e73 to 32d1773 Compare February 19, 2024 14:33
@ctrlc03 ctrlc03 force-pushed the refactor/contracts-suggestions branch from 32d1773 to ee53ecf Compare February 19, 2024 15:01
Add coordinator pub key check, optimize padAndHashMessage, use >= instead of == for signup/message
max value checks
@ctrlc03 ctrlc03 force-pushed the refactor/contracts-suggestions branch from ee53ecf to 415c3da Compare February 19, 2024 15:16
@ctrlc03 ctrlc03 enabled auto-merge February 19, 2024 15:32
@ctrlc03 ctrlc03 merged commit d4d786d into dev Feb 19, 2024
19 checks passed
@ctrlc03 ctrlc03 deleted the refactor/contracts-suggestions branch February 19, 2024 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants