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

[Governance] Audit changes #1644

Merged
merged 6 commits into from
Mar 4, 2024
Merged

[Governance] Audit changes #1644

merged 6 commits into from
Mar 4, 2024

Conversation

mrhouzlane
Copy link
Contributor

@mrhouzlane mrhouzlane commented Feb 28, 2024

Description

Governance contract changes requests from Certik Audit.

Summary of changes

  • SRC-10 : add custom errors here
  • MHG-08: Change made in MetaHumanGovernor constructor params.
  • CCG-01: Not subject to a check anymore.
  • CCG-04: Fix Unnecessary read access storage here
  • SRS-01: Replace transfer by sendValue from OZ : here and here
  • SRC-09 : Usage of third party services like Wormhole may occur in downtime on their side. Implementing regular checks on the Wormhole Automatic Relayer is an option here.
  • MHG-11: We decided to add a withdraw functions in Hub and Spoke contracts.
  • MHG-10: Skipped - not necessary.
  • MHG-06: Cancel proposal synced on hub and spokes here
  • MHG-03: Unsafe Integer Cast: Ethereum addresses are always within the range of uint160, using SafeCast.toUint160 for address casting is not necessary here. - skipped.
  • SRC-07: The clock mode (ERC6372) is an optional change and will be made in future version release. No change in this version.
  • MHG-05: The clock mode (ERC6372) is an optional change and will be made in future version release. No change in this version.
  • DAO-02: The clock mode (ERC6372) is an optional change and will be made in future version release. No change in this version.
  • SRC-06: [Internal discussion] - noticed - A blog will be written down for this issue.

Closes #1645

Copy link

vercel bot commented Feb 28, 2024

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

4 Ignored Deployments
Name Status Preview Comments Updated (UTC)
escrow-dashboard ⬜️ Ignored (Inspect) Visit Preview Mar 4, 2024 0:56am
faucet-server ⬜️ Ignored (Inspect) Visit Preview Mar 4, 2024 0:56am
job-launcher-client ⬜️ Ignored (Inspect) Visit Preview Mar 4, 2024 0:56am
job-launcher-server ⬜️ Ignored (Inspect) Visit Preview Mar 4, 2024 0:56am

@mrhouzlane mrhouzlane changed the title fix prettier [Governance] Audit changes Feb 28, 2024
@mrhouzlane mrhouzlane self-assigned this Feb 28, 2024
@mrhouzlane mrhouzlane added the WIP Work In Progress label Feb 28, 2024
SRC-10: add custom errors
SRC-10: add custom errors
@mrhouzlane mrhouzlane requested a review from leric7 March 4, 2024 01:10
@mrhouzlane mrhouzlane merged commit 8a453ad into develop Mar 4, 2024
22 checks passed
@leric7 leric7 deleted the certik-changes branch June 3, 2024 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP Work In Progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants