Bump chainlib

This commit is contained in:
nolash 2021-10-21 07:28:00 +02:00
parent 8c23535ffe
commit b51e5dc408
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
4 changed files with 6 additions and 4 deletions

View File

@ -16,7 +16,7 @@ from chainlib.eth.tx import count
from chainlib.chain import ChainSpec from chainlib.chain import ChainSpec
from chainlib.jsonrpc import IntSequenceGenerator from chainlib.jsonrpc import IntSequenceGenerator
from funga.eth.keystore.dict import DictKeystore 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 from hexathon import add_0x
logging.basicConfig(level=logging.WARNING) logging.basicConfig(level=logging.WARNING)
@ -43,7 +43,7 @@ conn = rpc.connect_by_config(config)
def main(): def main():
# TODO: should tolerate if address not prefixed with 0x # 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) r = conn.do(o)
count_result = None count_result = None
try: try:

View File

@ -3,5 +3,5 @@ pysha3==1.0.2
hexathon~=0.0.1a8 hexathon~=0.0.1a8
websocket-client==0.57.0 websocket-client==0.57.0
potaahto~=0.0.1a1 potaahto~=0.0.1a1
chainlib==0.0.10a5 chainlib==0.0.10a6
confini>=0.4.1a1,<0.5.0 confini>=0.4.1a1,<0.5.0

View File

@ -1,6 +1,6 @@
[metadata] [metadata]
name = chainlib-eth name = chainlib-eth
version = 0.0.10a7 version = 0.0.10a11
description = Ethereum implementation of the chainlib interface description = Ethereum implementation of the chainlib interface
author = Louis Holbrook author = Louis Holbrook
author_email = dev@holbrook.no author_email = dev@holbrook.no
@ -36,6 +36,7 @@ packages =
[options.entry_points] [options.entry_points]
console_scripts = console_scripts =
eth-count = chainlib.eth.runnable.count:main
eth-balance = chainlib.eth.runnable.balance:main eth-balance = chainlib.eth.runnable.balance:main
eth-checksum = chainlib.eth.runnable.checksum:main eth-checksum = chainlib.eth.runnable.checksum:main
eth-gas = chainlib.eth.runnable.gas:main eth-gas = chainlib.eth.runnable.gas:main

View File

@ -2,3 +2,4 @@ eth_tester==0.5.0b3
py-evm==0.3.0a20 py-evm==0.3.0a20
rlp==2.0.1 rlp==2.0.1
pytest==6.0.1 pytest==6.0.1
coverage==5.5