Upgrade chaind

This commit is contained in:
nolash 2021-07-21 08:41:30 +02:00
parent 7bc1f56a0a
commit 5b92a8361d
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
4 changed files with 5 additions and 3 deletions

View File

@ -123,6 +123,7 @@ cat tx3.txt | socat UNIX-CLIENT=/run/user/$UID/chaind/eth/testsession/chaind.soc
### check status of transactions ### check status of transactions
``` ```
export DATABASE_ENGINE=sqlite export DATABASE_ENGINE=sqlite
sender=$(eth-keyfile -d $WALLET_KEY_FILE) sender=$(eth-keyfile -d $WALLET_KEY_FILE)

View File

@ -162,7 +162,8 @@ def main():
data = None data = None
try: try:
data_in_str = data_in.decode('utf-8') data_in_str = data_in.decode('utf-8')
data = bytes.fromhex(strip_0x(data_in_str)) data_hex = strip_0x(data_in_str.rstrip())
data = bytes.fromhex(data_hex)
except ValueError: except ValueError:
logg.error('invalid input "{}"'.format(data_in_str)) logg.error('invalid input "{}"'.format(data_in_str))
continue continue

View File

@ -1,3 +1,3 @@
chaind<=0.0.1,>=0.0.1a5 chaind<=0.0.1,>=0.0.1a6
hexathon~=0.0.1a7 hexathon~=0.0.1a7
chainlib-eth<=0.0.6,>=0.0.6a1 chainlib-eth<=0.0.6,>=0.0.6a1

View File

@ -1,6 +1,6 @@
[metadata] [metadata]
name = chaind-eth name = chaind-eth
version = 0.0.1a2 version = 0.0.1a4
description = Queue server for ethereum description = Queue server for ethereum
author = Louis Holbrook author = Louis Holbrook
author_email = dev@holbrook.no author_email = dev@holbrook.no