Compare commits

..

5 Commits

Author SHA1 Message Date
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
lash
129e25bbf5
Bump chainlib dep 2022-04-10 19:05:58 +00:00
lash
a76020b13b
Add dict output 2022-04-10 19:04:50 +00:00
lash
3cfeb9ce84
Upgrade deps 2022-03-06 19:33:09 +00:00
4 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,5 @@
- 0.1.1
* Add fee_limit, fee_price alias to Tx object
- 0.1.0: - 0.1.0:
* Allow nonce ommission in encode when not tx mode * Allow nonce ommission in encode when not tx mode
* Add rcpt src to tx object * Add rcpt src to tx object

View File

@ -429,6 +429,8 @@ class TxFactory:
return self.build_raw(tx) return self.build_raw(tx)
elif tx_format == TxFormat.RAW_ARGS: elif tx_format == TxFormat.RAW_ARGS:
return strip_0x(tx['data']) return strip_0x(tx['data'])
elif tx_format == TxFormat.DICT:
return tx
raise NotImplementedError('tx formatting {} not implemented'.format(tx_format)) raise NotImplementedError('tx formatting {} not implemented'.format(tx_format))
@ -554,6 +556,9 @@ class Tx(BaseTx):
self.outputs = [to_checksum(address_from)] self.outputs = [to_checksum(address_from)]
self.contract = None self.contract = None
self.fee_limit = self.gas_limit
self.fee_price = self.gas_price
try: try:
inpt = src['input'] inpt = src['input']
except KeyError: except KeyError:

View File

@ -1,7 +1,7 @@
funga-eth~=0.5.6 funga-eth~=0.6.0
pysha3==1.0.2 pysha3==1.0.2
hexathon~=0.1.5 hexathon~=0.1.5
websocket-client==0.57.0 websocket-client==0.57.0
potaahto~=0.1.1 potaahto~=0.1.1
chainlib~=0.0.23 chainlib~=0.1.0
confini~=0.5.7 confini~=0.6.0

View File

@ -1,6 +1,6 @@
[metadata] [metadata]
name = chainlib-eth name = chainlib-eth
version = 0.1.0b3 version = 0.1.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