Skip to content

Commit

Permalink
try using a "less local" path string ot see if it fixes the env var t…
Browse files Browse the repository at this point in the history
…hing.

Pull only address from for to
  • Loading branch information
Tritium committed Jun 13, 2024
1 parent 9482b35 commit ad24e8b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create_add_rewards_payload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
32 changes: 0 additions & 32 deletions .github/workflows/run_reports_reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,45 +61,13 @@ 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`
cd action-scripts/brownie
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: |
Expand Down
5 changes: 3 additions & 2 deletions action-scripts/tx_build_add_reward_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ad24e8b

Please sign in to comment.