From 2dd92fe74b5c5e1ef44d8e48ba83941a4dc473ec Mon Sep 17 00:00:00 2001 From: lash Date: Tue, 19 Apr 2022 19:46:11 +0000 Subject: [PATCH] Add fee limit, fee price to Tx object --- chainlib/eth/tx.py | 3 +++ setup.cfg | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/chainlib/eth/tx.py b/chainlib/eth/tx.py index 9369092..502770f 100644 --- a/chainlib/eth/tx.py +++ b/chainlib/eth/tx.py @@ -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: diff --git a/setup.cfg b/setup.cfg index 1f73944..fa16957 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = chainlib-eth -version = 0.1.0 +version = 0.1.1 description = Ethereum implementation of the chainlib interface author = Louis Holbrook author_email = dev@holbrook.no