Compare commits

...

3 Commits

Author SHA1 Message Date
nolash
050b6a9aeb Merge remote-tracking branch 'origin/0.0.10-dev' into lash/args-only 2021-10-11 21:14:15 +02:00
nolash
9018aefcbe
Upgrade chainlib, switch to funga for signer 2021-10-11 18:21:46 +02:00
nolash
dee523bada
Add raw args option for tx factory 2021-10-10 17:56:30 +02:00
3 changed files with 6 additions and 4 deletions

View File

@ -299,7 +299,7 @@ class TxFactory:
:param chain_spec: Chain spec to use for signer.
:type chain_spec: chainlib.chain.ChainSpec
:param signer: Signer middleware.
:type param: Object implementing interface ofchainlib.eth.connection.sign_transaction_to_wire
:type param: Object implementing interface of chainlib.eth.connection.sign_transaction_to_wire
:param gas_oracle: Backend to generate gas parameters
:type gas_oracle: Object implementing chainlib.eth.gas.GasOracle interface
:param nonce_oracle: Backend to generate gas parameters
@ -419,6 +419,8 @@ class TxFactory:
return self.build(tx, id_generator=id_generator)
elif tx_format == TxFormat.RLP_SIGNED:
return self.build_raw(tx)
elif tx_format == TxFormat.RAW_ARGS:
return tx['data']
raise NotImplementedError('tx formatting {} not implemented'.format(tx_format))

View File

@ -1,7 +1,7 @@
crypto-dev-signer>=0.4.15a4,<=0.4.15
funga-eth>=0.5.0a1,<0.6.0
pysha3==1.0.2
hexathon~=0.0.1a8
websocket-client==0.57.0
potaahto~=0.0.1a1
chainlib==0.0.9rc1
chainlib==0.0.10a1
confini>=0.4.1a1,<0.5.0

View File

@ -1,6 +1,6 @@
[metadata]
name = chainlib-eth
version = 0.0.9rc3
version = 0.0.10a2
description = Ethereum implementation of the chainlib interface
author = Louis Holbrook
author_email = dev@holbrook.no