chainlib-eth

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

commit b51e5dc408ac168008a7c91aeb4216ea51f178d1
parent 8c23535ffeebdb9bab72d3647baa28998331af56
Author: nolash <dev@holbrook.no>
Date:   Thu, 21 Oct 2021 07:28:00 +0200

Bump chainlib

Diffstat:
Mchainlib/eth/runnable/count.py | 4++--
Mrequirements.txt | 2+-
Msetup.cfg | 3++-
Mtest_requirements.txt | 1+
4 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/chainlib/eth/runnable/count.py b/chainlib/eth/runnable/count.py @@ -16,7 +16,7 @@ from chainlib.eth.tx import count from chainlib.chain import ChainSpec from chainlib.jsonrpc import IntSequenceGenerator from funga.eth.keystore.dict import DictKeystore -from funga.eth.signer import ReferenceSigner as EIP155Signer +from funga.eth.signer import EIP155Signer from hexathon import add_0x logging.basicConfig(level=logging.WARNING) @@ -43,7 +43,7 @@ conn = rpc.connect_by_config(config) def main(): # TODO: should tolerate if address not prefixed with 0x - o = count(holder_address, id_generator=rpc.id_generator) + o = count(add_0x(holder_address), id_generator=rpc.id_generator) r = conn.do(o) count_result = None try: diff --git a/requirements.txt b/requirements.txt @@ -3,5 +3,5 @@ pysha3==1.0.2 hexathon~=0.0.1a8 websocket-client==0.57.0 potaahto~=0.0.1a1 -chainlib==0.0.10a5 +chainlib==0.0.10a6 confini>=0.4.1a1,<0.5.0 diff --git a/setup.cfg b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = chainlib-eth -version = 0.0.10a7 +version = 0.0.10a11 description = Ethereum implementation of the chainlib interface author = Louis Holbrook author_email = dev@holbrook.no @@ -36,6 +36,7 @@ packages = [options.entry_points] console_scripts = + eth-count = chainlib.eth.runnable.count:main eth-balance = chainlib.eth.runnable.balance:main eth-checksum = chainlib.eth.runnable.checksum:main eth-gas = chainlib.eth.runnable.gas:main diff --git a/test_requirements.txt b/test_requirements.txt @@ -2,3 +2,4 @@ eth_tester==0.5.0b3 py-evm==0.3.0a20 rlp==2.0.1 pytest==6.0.1 +coverage==5.5