diff --git a/.github/workflows/deploy-programs.yaml b/.github/workflows/deploy-programs.yaml index 37287060..725df880 100644 --- a/.github/workflows/deploy-programs.yaml +++ b/.github/workflows/deploy-programs.yaml @@ -8,7 +8,6 @@ on: required: true type: choice options: - - all - conditional_vault_v4 - futarchy_v6 - launchpad_v6 @@ -16,6 +15,8 @@ on: - launchpad_v7 - bid_wall - liquidation + - mint_governor + - performance_package_v2 priority-fee: description: "Priority fee in microlamports" required: true @@ -24,7 +25,7 @@ on: jobs: conditional-vault-v4: - if: inputs.program == 'conditional_vault_v4' || inputs.program == 'all' + if: inputs.program == 'conditional_vault_v4' uses: ./.github/workflows/reusable-build.yaml with: program: "conditional_vault" @@ -43,7 +44,7 @@ jobs: MAINNET_MULTISIG_VAULT: ${{ secrets.MAINNET_MULTISIG_VAULT }} liquidation: - if: inputs.program == 'liquidation' || inputs.program == 'all' + if: inputs.program == 'liquidation' uses: ./.github/workflows/reusable-build.yaml with: program: "liquidation" @@ -62,7 +63,7 @@ jobs: MAINNET_MULTISIG_VAULT: ${{ secrets.MAINNET_MULTISIG_VAULT }} futarchy-v6: - if: inputs.program == 'futarchy_v6' || inputs.program == 'all' + if: inputs.program == 'futarchy_v6' uses: ./.github/workflows/reusable-build.yaml with: program: "futarchy" @@ -81,7 +82,7 @@ jobs: MAINNET_MULTISIG_VAULT: ${{ secrets.MAINNET_MULTISIG_VAULT }} launchpad-v6: - if: inputs.program == 'launchpad_v6' || inputs.program == 'all' + if: inputs.program == 'launchpad_v6' uses: ./.github/workflows/reusable-build.yaml with: program: "launchpad" @@ -100,7 +101,7 @@ jobs: MAINNET_MULTISIG_VAULT: ${{ secrets.MAINNET_MULTISIG_VAULT }} price-based-performance-package-v6: - if: inputs.program == 'price_based_performance_package_v6' || inputs.program == 'all' + if: inputs.program == 'price_based_performance_package_v6' uses: ./.github/workflows/reusable-build.yaml with: program: "price_based_performance_package" @@ -119,7 +120,7 @@ jobs: MAINNET_MULTISIG_VAULT: ${{ secrets.MAINNET_MULTISIG_VAULT }} launchpad-v7: - if: inputs.program == 'launchpad_v7' || inputs.program == 'all' + if: inputs.program == 'launchpad_v7' uses: ./.github/workflows/reusable-build.yaml with: program: "launchpad_v7" @@ -138,7 +139,7 @@ jobs: MAINNET_MULTISIG_VAULT: ${{ secrets.MAINNET_MULTISIG_VAULT }} bid-wall: - if: inputs.program == 'bid_wall' || inputs.program == 'all' + if: inputs.program == 'bid_wall' uses: ./.github/workflows/reusable-build.yaml with: program: "bid_wall" @@ -150,6 +151,44 @@ jobs: use-squads: true features: "production" priority-fee: ${{ inputs.priority-fee }} + secrets: + MAINNET_SOLANA_DEPLOY_URL: ${{ secrets.MAINNET_SOLANA_DEPLOY_URL }} + MAINNET_DEPLOYER_KEYPAIR: ${{ secrets.MAINNET_DEPLOYER_KEYPAIR }} + MAINNET_MULTISIG: ${{ secrets.MAINNET_MULTISIG }} + MAINNET_MULTISIG_VAULT: ${{ secrets.MAINNET_MULTISIG_VAULT }} + + mint-governor: + if: inputs.program == 'mint_governor' + uses: ./.github/workflows/reusable-build.yaml + with: + program: "mint_governor" + override-program-id: "gvnr27cVeyW3AVf3acL7VCJ5WjGAphytnsgcK1feHyH" + network: "mainnet" + deploy: true + upload_idl: true + verify: true + use-squads: true + features: "production" + priority-fee: ${{ inputs.priority-fee }} + secrets: + MAINNET_SOLANA_DEPLOY_URL: ${{ secrets.MAINNET_SOLANA_DEPLOY_URL }} + MAINNET_DEPLOYER_KEYPAIR: ${{ secrets.MAINNET_DEPLOYER_KEYPAIR }} + MAINNET_MULTISIG: ${{ secrets.MAINNET_MULTISIG }} + MAINNET_MULTISIG_VAULT: ${{ secrets.MAINNET_MULTISIG_VAULT }} + + performance-package-v2: + if: inputs.program == 'performance_package_v2' + uses: ./.github/workflows/reusable-build.yaml + with: + program: "performance_package_v2" + override-program-id: "pPV2pfrxnmstSb9j7kEeCLny5BGj6SNwCWGd6xbGGzz" + network: "mainnet" + deploy: true + upload_idl: true + verify: true + use-squads: true + features: "production" + priority-fee: ${{ inputs.priority-fee }} secrets: MAINNET_SOLANA_DEPLOY_URL: ${{ secrets.MAINNET_SOLANA_DEPLOY_URL }} MAINNET_DEPLOYER_KEYPAIR: ${{ secrets.MAINNET_DEPLOYER_KEYPAIR }} diff --git a/.github/workflows/generate-verifiable-builds.yaml b/.github/workflows/generate-verifiable-builds.yaml index 53047388..c4fe27e5 100644 --- a/.github/workflows/generate-verifiable-builds.yaml +++ b/.github/workflows/generate-verifiable-builds.yaml @@ -128,4 +128,38 @@ jobs: uses: EndBug/add-and-commit@v9.1.4 with: default_author: github_actions - message: 'Update liquidation verifiable build' \ No newline at end of file + message: 'Update liquidation verifiable build' + generate-verifiable-mint-governor: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + - uses: metadaoproject/anchor-verifiable-build@v0.4 + with: + program: mint_governor + anchor-version: '0.29.0' + solana-cli-version: '1.17.31' + features: 'production' + - run: 'git pull --rebase' + - run: cp target/deploy/mint_governor.so ./verifiable-builds + - name: Commit verifiable build back to mainline + uses: EndBug/add-and-commit@v9.1.4 + with: + default_author: github_actions + message: 'Update mint_governor verifiable build' + generate-verifiable-performance-package-v2: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + - uses: metadaoproject/anchor-verifiable-build@v0.4 + with: + program: performance_package_v2 + anchor-version: '0.29.0' + solana-cli-version: '1.17.31' + features: 'production' + - run: 'git pull --rebase' + - run: cp target/deploy/performance_package_v2.so ./verifiable-builds + - name: Commit verifiable build back to mainline + uses: EndBug/add-and-commit@v9.1.4 + with: + default_author: github_actions + message: 'Update performance_package_v2 verifiable build' \ No newline at end of file diff --git a/README.md b/README.md index b8a701e7..5b89a6a2 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ Programs for unruggable capital formation and market-driven governance. | ----------------- | ---- | -------------------------------------------- | | launchpad | v0.7.0 | moontUzsdepotRGe5xsfip7vLPTJnVuafqdUWexVnPM | | bid_wall | v0.7.0 | WALL8ucBuUyL46QYxwYJjidaFYhdvxUFrgvBxPshERx | +| mint_governor | v0.7.0 | gvnr27cVeyW3AVf3acL7VCJ5WjGAphytnsgcK1feHyH | +| performance_package_v2 | v0.7.0 | pPV2pfrxnmstSb9j7kEeCLny5BGj6SNwCWGd6xbGGzz | | liquidation | v0.1.0 | LiQnowFbFQdYyZhF4pUbpsrZCjxRTQ1upKJxZ2VXjde | | futarchy | v0.6.0 | FUTARELBfJfQ8RDGhg1wdhddq1odMAJUePHFuBYfUxKq | | launchpad | v0.6.0 | MooNyh4CBUYEKyXVnjGYQ8mEiJDpGvJMdvrZx1iGeHV |