chainlib-eth

Ethereum implementation of the chainlib interface
Log | Files | Refs | README | LICENSE

commit bff9305aac7f3486f1d68e7212e3263b6196fdbb
parent 418c54e9c75d5fa5cbd703a2dfc00958e807f9f8
Author: nolash <dev@holbrook.no>
Date:   Tue, 24 Aug 2021 19:11:53 +0200

Override tx generator for block

Diffstat:
Mchainlib/eth/block.py | 4+++-
Msetup.cfg | 2+-
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/chainlib/eth/block.py b/chainlib/eth/block.py @@ -67,7 +67,9 @@ class Block(BaseBlock): :type src: dict :todo: Add hex to number parse to normalize """ - + + tx_generator = Tx + def __init__(self, src): self.hash = src['hash'] try: diff --git a/setup.cfg b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = chainlib-eth -version = 0.0.9a2 +version = 0.0.9a3 description = Ethereum implementation of the chainlib interface author = Louis Holbrook author_email = dev@holbrook.no