diff --git a/.github/workflows/create_add_rewards_payload.yaml b/.github/workflows/create_add_rewards_payload.yaml index da0767678..294b5478d 100644 --- a/.github/workflows/create_add_rewards_payload.yaml +++ b/.github/workflows/create_add_rewards_payload.yaml @@ -77,7 +77,7 @@ jobs: run_reports: needs: run-script-and-create-pr - uses: ./.github/workflows/run_reports_reusable.yaml + uses: "BalancerMaxis/multisig-ops/.github/workflows/run_reports_reusable.yaml@main" with: pr_number: ${{ needs.run-script-and-create-pr.outputs.pull-request-number }} checkout_ref: ${{ needs.run-script-and-create-pr.outputs.pull-request-branch }} \ No newline at end of file diff --git a/.github/workflows/run_reports_reusable.yaml b/.github/workflows/run_reports_reusable.yaml index 13b039a77..004095c8b 100644 --- a/.github/workflows/run_reports_reusable.yaml +++ b/.github/workflows/run_reports_reusable.yaml @@ -61,22 +61,6 @@ jobs: - name: Generate Validation Report id: validation-report - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - WEB3_INFURA_PROJECT_ID: ${{ secrets.WEB3_INFURA_PROJECT_ID }} - ETHERSCAN_TOKEN: ${{ secrets.ETHERSCAN_TOKEN }} - ARBISCAN_TOKEN: ${{ secrets.ARBISCAN_TOKEN }} - GNOSISSCAN_TOKEN: ${{ secrets.GNOSISSCAN_TOKEN }} - POLYGONSCAN_TOKEN: ${{ secrets.POLYGONSCAN_TOKEN }} - OPTIMISMSCAN_TOKEN: ${{ secrets.OPTIMISMSCAN_TOKEN }} - ZKEVMSCAN_TOKEN: ${{ secrets.ZKEVMSCAN_TOKEN }} - SNOWTRACE_TOKEN: ${{ secrets.SNOWTRACE_TOKEN }} - BASESCAN_TOKEN: ${{ secrets.BASESCAN_TOKEN }} - TENDERLY_ACCESS_KEY: ${{ secrets.TENDERLY_ACCESS_KEY }} - TENDERLY_ACCOUNT_NAME: ${{ secrets.TENDERLY_ACCOUNT_NAME }} - TENDERLY_PROJECT_NAME: ${{ secrets.TENDERLY_PROJECT_NAME }} - PR_NUMBER: ${{ inputs.pr_number }} - COMMIT_SHA: ${{ inputs.checkout_ref }} run: | env export COMMIT_SHA=`git rev-parse HEAD` @@ -84,22 +68,6 @@ jobs: brownie run --network mainnet scripts/validate_bip.py - name: Generate Payload report - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - WEB3_INFURA_PROJECT_ID: ${{ secrets.WEB3_INFURA_PROJECT_ID }} - ETHERSCAN_TOKEN: ${{ secrets.ETHERSCAN_TOKEN }} - ARBISCAN_TOKEN: ${{ secrets.ARBISCAN_TOKEN }} - GNOSISSCAN_TOKEN: ${{ secrets.GNOSISSCAN_TOKEN }} - POLYGONSCAN_TOKEN: ${{ secrets.POLYGONSCAN_TOKEN }} - OPTIMISMSCAN_TOKEN: ${{ secrets.OPTIMISMSCAN_TOKEN }} - ZKEVMSCAN_TOKEN: ${{ secrets.ZKEVMSCAN_TOKEN }} - SNOWTRACE_TOKEN: ${{ secrets.SNOWTRACE_TOKEN }} - BASESCAN_TOKEN: ${{ secrets.BASESCAN_TOKEN }} - TENDERLY_ACCESS_KEY: ${{ secrets.TENDERLY_ACCESS_KEY }} - TENDERLY_ACCOUNT_NAME: ${{ secrets.TENDERLY_ACCOUNT_NAME }} - TENDERLY_PROJECT_NAME: ${{ secrets.TENDERLY_PROJECT_NAME }} - PR_NUMBER: ${{ inputs.pr_number }} - COMMIT_SHA: ${{ inputs.checkout_ref }} id: gen-report continue-on-error: true run: | diff --git a/action-scripts/tx_build_add_reward_token.py b/action-scripts/tx_build_add_reward_token.py index 45817a671..85364a254 100644 --- a/action-scripts/tx_build_add_reward_token.py +++ b/action-scripts/tx_build_add_reward_token.py @@ -36,9 +36,10 @@ def main(): tx = json.load(f) tx["chainId"] = chain_id tx["meta"]["createdFromSafeAddress"] = addr_book.multisigs.lm + ## Template is expected to have an addrbook string in to field tx["transactions"][0]["to"] = addr_book.search_unique( - "AuthorizerAdaptorEntrypoint" - ) + tx["transactions"][0]["to"] + ).address tx["transactions"][0]["contractInputsValues"]["data"] = str(data) tx["transactions"][0]["contractInputsValues"]["target"] = gauge ## create a directory in MaxiOps/transfers for the chain if it does not exist