Skip to content

Commit

Permalink
fix: move back exceptions definition as they were causing import errors
Browse files Browse the repository at this point in the history
  • Loading branch information
SHAKOTN committed Jul 13, 2023
1 parent b8d43ec commit 056bc51
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
11 changes: 8 additions & 3 deletions bal_addresses/addresses.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
from munch import Munch
from web3 import Web3

from bal_addresses.exceptions import MultipleMatchesError
from bal_addresses.exceptions import NoResultError

GITHUB_MONOREPO_RAW = (
"https://raw.githubusercontent.com/balancer-labs/balancer-v2-monorepo/master"
)
Expand All @@ -26,6 +23,14 @@
ZERO_ADDRESS = "0x0000000000000000000000000000000000000000"


class MultipleMatchesError(Exception):
pass


class NoResultError(Exception):
pass


class AddrBook:

fullbook = requests.get(f"{GITHUB_RAW_OUTPUTS}/addressbook.json").json()
Expand Down
6 changes: 0 additions & 6 deletions bal_addresses/exceptions.py

This file was deleted.

0 comments on commit 056bc51

Please sign in to comment.