chainlib-eth

Ethereum implementation of the chainlib interface
Log | Files | Refs | README | LICENSE

commit 8bba6349f55bb75f0f1177a6dbfdbd4277f1168e
parent cf71c3fedf6acd0750e986249b066d280da400d6
Author: lash <dev@holbrook.no>
Date:   Fri, 16 Dec 2022 09:16:32 +0000

Rename eth dialect filter object

Diffstat:
Mchainlib/eth/dialect/__init__.py | 4++--
Mchainlib/eth/tx.py | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/chainlib/eth/dialect/__init__.py b/chainlib/eth/dialect/__init__.py @@ -2,7 +2,7 @@ # local imports from chainlib.eth.error import EthException -from chainlib.dialect import DialectFilter +from chainlib.dialect import DialectFilter as BaseDialectFilter class DefaultErrorParser: @@ -12,7 +12,7 @@ class DefaultErrorParser: return EthException('default parser codeĀ {}'.format(error)) -class DefaultDialectFilter(DialectFilter): +class DialectFilter(BaseDialectFilter): def apply_src(self, src): try: diff --git a/chainlib/eth/tx.py b/chainlib/eth/tx.py @@ -47,11 +47,11 @@ from .constant import ( from .contract import ABIContractEncoder from .jsonrpc import to_blockheight_param from .src import Src -from .dialect import DefaultDialectFilter +from .dialect import DialectFilter logg = logging.getLogger(__name__) -eth_dialect_filter = DefaultDialectFilter() +eth_dialect_filter = DialectFilter() class TxFormat(enum.IntEnum):