commit 9548ed5d1b58050375ea392191f3587ffdf27332
parent e499770d6daa70618f99101e4a435f4a4deb97fd
Author: lash <dev@holbrook.no>
Date: Sat, 7 May 2022 11:31:06 +0000
Add author property in block
Diffstat:
3 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG b/CHANGELOG
@@ -1,3 +1,7 @@
+- 0.1.3
+ * Add block author field
+- 0.1.2
+ * Upgrade chainlib dep
- 0.1.1
* Add fee_limit, fee_price alias to Tx object
- 0.1.0:
diff --git a/chainlib/eth/block.py b/chainlib/eth/block.py
@@ -98,6 +98,7 @@ class Block(BaseBlock):
self.timestamp = int(strip_0x(src['timestamp']), 16)
except TypeError:
self.timestamp = int(src['timestamp'])
+ self.author = src['author']
def get_tx(self, tx_hash):
diff --git a/setup.cfg b/setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = chainlib-eth
-version = 0.1.2
+version = 0.1.3
description = Ethereum implementation of the chainlib interface
author = Louis Holbrook
author_email = dev@holbrook.no