commit 3e3a351c2d16aa4fbfef7e45b1cd2f8ca0548e24
parent b0779aa9f3c3dbe3788541c0d690759c73b15ce5
Author: nolash <dev@holbrook.no>
Date: Thu, 27 May 2021 14:25:48 +0200
Normalize receipt in Tx apply
Diffstat:
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
@@ -2,7 +2,7 @@
Chainlib is a prototype attempt at writing a generalized code library structure in python3 for concepts that are valid across blockchains, either within the same chain technology or across them. If useful and/or successful, it should be considered ported to a more performant language (rust?).
-It is primarily aimed at console-environment development.
+It is primarily aimed at (possibly threaded) console-environment development.
It aims to give fine-grained control and transparency to all operations and transformations.
diff --git a/chainlib/eth/tx.py b/chainlib/eth/tx.py
@@ -354,6 +354,7 @@ class Tx:
def apply_receipt(self, rcpt):
+ rcpt = self.src_normalize(rcpt)
logg.debug('rcpt {}'.format(rcpt))
try:
status_number = int(rcpt['status'], 16)
diff --git a/setup.cfg b/setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = chainlib
-version = 0.0.3rc1
+version = 0.0.3rc2
description = Generic blockchain access library and tooling
author = Louis Holbrook
author_email = dev@holbrook.no