Skip to content

Commit

Permalink
Merge ebd2c4b into 0e84f84
Browse files Browse the repository at this point in the history
  • Loading branch information
Uxio0 committed Jul 7, 2022
2 parents 0e84f84 + ebd2c4b commit 3ad8b20
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 3 additions & 1 deletion gnosis/eth/constants.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
from eth.constants import SECPK1_N
SECPK1_N = (
115792089237316195423570985008687907852837564279074904382605163141518161494337
)

NULL_ADDRESS: str = "0x" + "0" * 40
SENTINEL_ADDRESS: str = "0x" + "0" * 39 + "1"
Expand Down
3 changes: 1 addition & 2 deletions gnosis/safe/safe_creation_tx.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@
from typing import Any, Dict, List, Optional, Tuple

import rlp
from eth.constants import SECPK1_N
from eth.vm.forks.frontier.transactions import FrontierTransaction
from eth_keys.exceptions import BadSignature
from hexbytes import HexBytes
from web3 import Web3
from web3.contract import ContractConstructor

from gnosis.eth.constants import GAS_CALL_DATA_BYTE, NULL_ADDRESS
from gnosis.eth.constants import GAS_CALL_DATA_BYTE, NULL_ADDRESS, SECPK1_N
from gnosis.eth.contracts import (
get_erc20_contract,
get_paying_proxy_contract,
Expand Down
2 changes: 1 addition & 1 deletion gnosis/safe/tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
import random
from logging import getLogger

from eth.constants import SECPK1_N
from web3 import Web3

from gnosis.eth.tests.utils import send_tx

from ...eth.constants import SECPK1_N
from ..safe_creation_tx import SafeCreationTx

logger = getLogger(__name__)
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"cached-property>=1.5; python_version < '3.8'",
"eip712_structs",
"packaging",
"py-evm>=0.5.0a3",
"py-evm==0.5.0a3",
"pysha3>=1.0.0",
"requests>=2",
"typing-extensions>=3.10; python_version < '3.8'",
Expand All @@ -23,7 +23,7 @@

setup(
name="safe-eth-py",
version="4.1.2",
version="4.1.3",
packages=find_packages(),
package_data={"gnosis": ["py.typed"]},
install_requires=requirements,
Expand Down

0 comments on commit 3ad8b20

Please sign in to comment.