From 3e3a351c2d16aa4fbfef7e45b1cd2f8ca0548e24 Mon Sep 17 00:00:00 2001 From: nolash Date: Thu, 27 May 2021 14:25:48 +0200 Subject: [PATCH] Normalize receipt in Tx apply --- README.md | 2 +- chainlib/eth/tx.py | 1 + setup.cfg | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7ed6575..2d764e6 100644 --- 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 index 1869714..3d35069 100644 --- 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 index 35bfdca..cc7c989 100644 --- 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