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: onchain feature flag registry #22

Merged
merged 7 commits into from
Mar 7, 2025
Merged

Conversation

coffeexcoin
Copy link
Contributor

@coffeexcoin coffeexcoin commented Mar 5, 2025

  • create onchain feature flag registry
  • add events; use address 0 for global status
  • clean up
  • remove redundant check

PR-Codex overview

This PR introduces a new FeatureFlagRegistry smart contract for managing feature flags on-chain, adds support for an abstractMainnet network configuration, and refines deployment scripts to utilize a create2IfNotExists utility function.

Detailed summary

  • Added abstractMainnet network configuration to hardhat.config.ts.
  • Introduced FeatureFlagRegistry contract in contracts/helpers/FeatureFlagRegistry.sol.
  • Updated deployment scripts to use create2IfNotExists function.
  • Removed redundant create2IfNotExists function from deployment scripts.
  • Enhanced create2IfNotExists function to include network configuration and deployment checks.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@coffeexcoin coffeexcoin merged commit 92fc435 into main Mar 7, 2025
1 check failed
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.

1 participant