Skip to content

Conversation

@zguesmi
Copy link
Member

@zguesmi zguesmi commented May 15, 2025

Deploy contracts through a dedicated action.
Steps:

  • Validate Github environments to use the correct deployer wallet.
  • Run the Build and test CI.
  • Deploy contracts.
  • Verify (TODO).

strategyConfig: {
create2: {
salt: "0x0000000000000000000000000000000000000000000000000000000000000000",
salt: "0x5FD8F2C3DFCF36E174AC91A44AE6CAEBDDA012EFED601736E2C20A11A56CF532",
Copy link
Member Author

@zguesmi zguesmi May 15, 2025

Choose a reason for hiding this comment

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

Reset salt and deploy before merging

Suggested change
salt: "0x5FD8F2C3DFCF36E174AC91A44AE6CAEBDDA012EFED601736E2C20A11A56CF532",
salt: "0x0000000000000000000000000000000000000000000000000000000000000000",

Copy link
Member Author

Choose a reason for hiding this comment

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

Will do it in the next PR.

@zguesmi zguesmi marked this pull request as ready for review May 15, 2025 17:28
@zguesmi zguesmi self-assigned this May 15, 2025
@zguesmi
Copy link
Member Author

zguesmi commented May 15, 2025

TODO: use the testnet wallet for final deployment.

"clean": "hardhat clean",
"compile": "hardhat clean && hardhat compile && npm run artifact-to-abis",
"verify:ignition": "hardhat ignition verify --include-unrelated-contracts",
"verify": "hardhat verify",
Copy link
Contributor

Choose a reason for hiding this comment

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

should we keep both script ? or only use verify:ignition as default and rename it to "verify" ?

Copy link
Member Author

@zguesmi zguesmi May 16, 2025

Choose a reason for hiding this comment

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

I don't think HH Ignition verification is enough. For example, when we upgrade proxies, the new implementation contracts is deployed by upgrades plugin not by HH Ignition meaning that it can't verify it.

@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@zguesmi zguesmi force-pushed the feature/sharing-deployment-with-actions branch from 5cef1db to e3c8950 Compare May 16, 2025 13:19
@zguesmi
Copy link
Member Author

zguesmi commented May 16, 2025

image

@zguesmi
Copy link
Member Author

zguesmi commented May 16, 2025

image

@zguesmi zguesmi merged commit ceb7645 into develop May 16, 2025
3 of 4 checks passed
@zguesmi zguesmi deleted the feature/sharing-deployment-with-actions branch May 16, 2025 13:55
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.

3 participants