6 Commits

Author SHA1 Message Date
lash
9548ed5d1b Add author property in block 2022-05-07 11:31:06 +00:00
lash
e499770d6d Upgrade deps 2022-05-04 18:15:33 +00:00
lash
e49fae9717 Upgrade deps, bump vesrion 2022-04-28 15:44:04 +00:00
lash
84c4a82abb Bump dep 2022-04-28 15:43:18 +00:00
lash
a71b3d6388 Add changelog detail 2022-04-26 21:36:44 +00:00
lash
2dd92fe74b Add fee limit, fee price to Tx object 2022-04-19 19:46:11 +00:00
5 changed files with 16 additions and 6 deletions

View File

@@ -1,3 +1,9 @@
- 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:
* Allow nonce ommission in encode when not tx mode
* Add rcpt src to tx object

View File

@@ -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):

View File

@@ -556,6 +556,9 @@ class Tx(BaseTx):
self.outputs = [to_checksum(address_from)]
self.contract = None
self.fee_limit = self.gas_limit
self.fee_price = self.gas_price
try:
inpt = src['input']
except KeyError:

View File

@@ -1,7 +1,7 @@
funga-eth~=0.6.0
funga-eth~=0.6.1
pysha3==1.0.2
hexathon~=0.1.5
hexathon~=0.1.6
websocket-client==0.57.0
potaahto~=0.1.1
chainlib~=0.1.0
chainlib~=0.1.2
confini~=0.6.0

View File

@@ -1,10 +1,10 @@
[metadata]
name = chainlib-eth
version = 0.1.0
version = 0.1.3
description = Ethereum implementation of the chainlib interface
author = Louis Holbrook
author_email = dev@holbrook.no
url = https://gitlab.com/chaintools/chainlib
url = https://gitlab.com/chaintool/chainlib-eth
keywords =
dlt
blockchain
@@ -26,7 +26,7 @@ licence_files =
[options]
include_package_data = True
python_requires = >= 3.6
python_requires = >= 3.7
packages =
chainlib.eth
chainlib.eth.dialect