diff --git a/.github/workflows/deploy-batch.yml b/.github/workflows/deploy-batch.yml deleted file mode 100644 index 8227aff9..00000000 --- a/.github/workflows/deploy-batch.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: "Deploy Batch" - -env: - API_KEY_INFURA: ${{ secrets.API_KEY_INFURA }} - FOUNDRY_PROFILE: "optimized" - MNEMONIC: ${{ secrets.EVM_MNEMONIC }} - RPC_URL_MAINNET: ${{ secrets.RPC_URL_MAINNET }} - -on: - workflow_dispatch: - inputs: - chain: - default: "sepolia" - description: "Chain name as defined in the Foundry config." - required: false - -jobs: - deploy-batch: - runs-on: "ubuntu-latest" - steps: - - name: "Check out the repo" - uses: "actions/checkout@v4" - - - name: "Install Foundry" - uses: "foundry-rs/foundry-toolchain@v1" - - - name: "Deploy the SablierV2Batch contract" - run: >- - forge script script/DeployBatch.s.sol - --broadcast - --rpc-url "${{ inputs.chain }}" - --sig "run()" - --verify - -vvvv - - - name: "Add workflow summary" - run: | - echo "## Result" >> $GITHUB_STEP_SUMMARY - echo "✅ Done" >> $GITHUB_STEP_SUMMARY diff --git a/.github/workflows/deploy-merkle-streamer-factory.yml b/.github/workflows/deploy-merkle-streamer-factory.yml deleted file mode 100644 index 32120b36..00000000 --- a/.github/workflows/deploy-merkle-streamer-factory.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: "Deploy Merkle Streamer Factory" - -env: - API_KEY_INFURA: ${{ secrets.API_KEY_INFURA }} - FOUNDRY_PROFILE: "optimized" - MNEMONIC: ${{ secrets.EVM_MNEMONIC }} - RPC_URL_MAINNET: ${{ secrets.RPC_URL_MAINNET }} - -on: - workflow_dispatch: - inputs: - chain: - default: "sepolia" - description: "Chain name as defined in the Foundry config." - required: false - -jobs: - deploy-merkle-streamer-factory: - runs-on: "ubuntu-latest" - steps: - - name: "Check out the repo" - uses: "actions/checkout@v4" - - - name: "Install Foundry" - uses: "foundry-rs/foundry-toolchain@v1" - - - name: "Deploy the SablierV2MerkleStreamerFactory contract" - run: >- - forge script script/DeployMerkleStreamerFactory.s.sol - --broadcast - --rpc-url "${{ inputs.chain }}" - --sig "run()" - --verify - -vvvv - - - name: "Add workflow summary" - run: | - echo "## Result" >> $GITHUB_STEP_SUMMARY - echo "✅ Done" >> $GITHUB_STEP_SUMMARY diff --git a/.github/workflows/deploy-periphery.yml b/.github/workflows/deploy-periphery.yml deleted file mode 100644 index 0666ca01..00000000 --- a/.github/workflows/deploy-periphery.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: "Deploy Periphery" - -env: - API_KEY_INFURA: ${{ secrets.API_KEY_INFURA }} - FOUNDRY_PROFILE: "optimized" - MNEMONIC: ${{ secrets.EVM_MNEMONIC }} - RPC_URL_MAINNET: ${{ secrets.RPC_URL_MAINNET }} - -on: - workflow_dispatch: - inputs: - chain: - default: "sepolia" - description: "Chain name as defined in the Foundry config." - required: false - -jobs: - deploy-periphery: - runs-on: "ubuntu-latest" - steps: - - name: "Check out the repo" - uses: "actions/checkout@v4" - - - name: "Install Foundry" - uses: "foundry-rs/foundry-toolchain@v1" - - - name: "Deploy all Sablier V2 Periphery contracts" - run: >- - forge script script/DeployPeriphery.s.sol - --broadcast - --rpc-url "${{ inputs.chain }}" - --sig "run()" - --verify - -vvvv - - - name: "Add workflow summary" - run: | - echo "## Result" >> $GITHUB_STEP_SUMMARY - echo "✅ Done" >> $GITHUB_STEP_SUMMARY diff --git a/.github/workflows/deploy-protocol.yml b/.github/workflows/deploy-protocol.yml deleted file mode 100644 index 5be20cf8..00000000 --- a/.github/workflows/deploy-protocol.yml +++ /dev/null @@ -1,50 +0,0 @@ -name: "Deploy Protocol" - -env: - API_KEY_INFURA: ${{ secrets.API_KEY_INFURA }} - FOUNDRY_OPTIMIZER_RUNS: "1000" # needed to compile V2 Core - FOUNDRY_PROFILE: "optimized" - MNEMONIC: ${{ secrets.EVM_MNEMONIC }} - RPC_URL_MAINNET: ${{ secrets.RPC_URL_MAINNET }} - -on: - workflow_dispatch: - inputs: - admin: - default: "0xF3663da48030b6c88535413Fd643aB0B5F3496ff" - description: "Initial protocol admin." - required: false - chain: - default: "sepolia" - description: "Chain name as defined in the Foundry config." - required: false - max-segment-count: - default: "300" - description: "Maximum number of segments allowed in a stream." - required: false - -jobs: - deploy-protocol: - runs-on: "ubuntu-latest" - steps: - - name: "Check out the repo" - uses: "actions/checkout@v4" - - - name: "Install Foundry" - uses: "foundry-rs/foundry-toolchain@v1" - - - name: "Deploy the Sablier V2 Protocol" - run: >- - forge script script/DeployProtocol.s.sol - --broadcast - --rpc-url "${{ inputs.chain }}" - --sig "run(address,uint256)" - --verify - -vvvv - "${{ inputs.admin }}" - "${{ inputs.max-segment-count }}" - - - name: "Add workflow summary" - run: | - echo "## Result" >> $GITHUB_STEP_SUMMARY - echo "✅ Done" >> $GITHUB_STEP_SUMMARY