Skip to content

Commit

Permalink
move automation scripts out of package dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
BIP Bot committed Jul 28, 2023
1 parent e7711f5 commit b092858
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate_addressbooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
git clone https://github.com/balancer/balancer-deployments.git
export DEPLOYMENTS_REPO_ROOT_URL=`pwd`/balancer-deployments
pip3 install -r bal_addresses/requirements.txt
python3 bal_addresses/transform-deployments.py
python3 bal_addresses/gen_addresses.py
python3 transform-deployments.py
python3 gen_addresses.py
rm -rf balancer-deployments
git add -A
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate_permissions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
id: update
run: |
pip3 install -r bal_addresses/requirements.txt
python3 bal_addresses/generate_current_permissions.py
python3 bal_addresses/gen_addresses.py
python3 generate_current_permissions.py
python3 gen_addresses.py
rm -rf balancer-deployments
git add -A
Expand Down
2 changes: 1 addition & 1 deletion bal_addresses/gen_addresses.py → gen_addresses.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import os
from addresses import AddrBook
from bal_addresses import AddrBook
import requests
import json

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import requests
import json
import pandas as pd
import os
from addresses import AddrBook, GITHUB_DEPLOYMENTS_RAW
from permissions import BalPermissions
from bal_addresses import AddrBook, GITHUB_DEPLOYMENTS_RAW
from web3 import Web3
import datetime

INFURA_KEY = os.getenv('INFURA_KEY')

Expand Down
File renamed without changes.

0 comments on commit b092858

Please sign in to comment.