Skip to content

Implement a table to enable/disable features for specific chains #487

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

Open
lumtis opened this issue Mar 20, 2025 · 0 comments
Open

Implement a table to enable/disable features for specific chains #487

lumtis opened this issue Mar 20, 2025 · 0 comments

Comments

@lumtis
Copy link
Member

lumtis commented Mar 20, 2025

Some features might not be immediately available for some chains.

Example: withdrawAndCall on Solana: #485

In general when the code is implemented for a new chain but not audited for mainnet, we might want to disable it at the smart contract level.

It would be useful to have a table allow to toggle these features per chain with an admin proposal, so we don't need to upgrade the contract each time which is a more sensitive action.

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

No branches or pull requests

1 participant