Migration Guide
Governance Integration
Proposal Flow
Create Batch Proposal: Submit MsgMigrateContractProposal with multiple contracts
Voting Period: Standard governance voting process
Execution: If passed, authorizations are stored for all contracts
Migration: Admin/Proxy contract can execute migrations
Cleanup: Authorizations are consumed and deleted
For Contract Admins
Enable Governance for Your Contract
# Enable governance requirement (one-way operation)
secretcli tx compute set-contract-governance <your-contract> --from <admin>Check Authorization Status
# Check if your contract has pending authorization
secretcli query compute authorized-migration <your-contract>For Governance-Only Contracts
Setup Governance-Only Migration
For Governance Participants
Create Migration Proposal
Execute Authorized Migration
Last updated
Was this helpful?