Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a71b3d6388
|
||
|
|
2dd92fe74b
|
||
|
|
129e25bbf5
|
||
|
|
a76020b13b
|
@@ -1,3 +1,5 @@
|
||||
- 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
|
||||
|
||||
@@ -429,6 +429,8 @@ class TxFactory:
|
||||
return self.build_raw(tx)
|
||||
elif tx_format == TxFormat.RAW_ARGS:
|
||||
return strip_0x(tx['data'])
|
||||
elif tx_format == TxFormat.DICT:
|
||||
return tx
|
||||
raise NotImplementedError('tx formatting {} not implemented'.format(tx_format))
|
||||
|
||||
|
||||
@@ -554,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:
|
||||
|
||||
@@ -3,5 +3,5 @@ pysha3==1.0.2
|
||||
hexathon~=0.1.5
|
||||
websocket-client==0.57.0
|
||||
potaahto~=0.1.1
|
||||
chainlib>=0.1.0b1,<=0.1.0
|
||||
chainlib~=0.1.0
|
||||
confini~=0.6.0
|
||||
|
||||
Reference in New Issue
Block a user