Correct tx status human output
This commit is contained in:
parent
bf166af544
commit
772781c1b8
@ -1,3 +1,5 @@
|
|||||||
|
- 0.3.1
|
||||||
|
* Fix missing application of status on tx result
|
||||||
- 0.3.0
|
- 0.3.0
|
||||||
* Implement chainlib with new arg and config handling
|
* Implement chainlib with new arg and config handling
|
||||||
* Implement cli tools on settings module
|
* Implement cli tools on settings module
|
||||||
|
@ -658,7 +658,7 @@ class Tx(BaseTx, Src):
|
|||||||
|
|
||||||
|
|
||||||
def apply_receipt(self, rcpt, strict=False):
|
def apply_receipt(self, rcpt, strict=False):
|
||||||
result = TxResult(rcpt)
|
result = TxResult(src=rcpt)
|
||||||
self.apply_result(result)
|
self.apply_result(result)
|
||||||
|
|
||||||
|
|
||||||
@ -755,8 +755,8 @@ input {}
|
|||||||
s += """gas_used {}
|
s += """gas_used {}
|
||||||
""".format(
|
""".format(
|
||||||
self.result.fee_cost,
|
self.result.fee_cost,
|
||||||
status = self.result.status.name
|
|
||||||
)
|
)
|
||||||
|
status = self.result.status.name
|
||||||
|
|
||||||
s += 'status ' + status + '\n'
|
s += 'status ' + status + '\n'
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = chainlib-eth
|
name = chainlib-eth
|
||||||
version = 0.3.0
|
version = 0.3.1
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user