eth-address-index

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 4dea83e81abfbe5f04cf90e2d08dc71dfe659655
parent 8f9834105d3ca2ed0e0ebfb46618d1aea4adb72f
Author: nolash <dev@holbrook.no>
Date:   Thu, 14 Jan 2021 11:23:20 +0100

Include signer fix without spammy logs

Diffstat:
Mpython/eth_address_declarator/runnable/add.py | 4++++
Mpython/eth_address_declarator/runnable/deploy.py | 4+++-
Mpython/setup.cfg | 4++--
3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/python/eth_address_declarator/runnable/add.py b/python/eth_address_declarator/runnable/add.py @@ -83,6 +83,10 @@ def main(): c.functions.addDeclaration(args.address, args.declaration).buildTransaction, ], ) + + if block_last: + helper.wait_for() + print(tx_hash) diff --git a/python/eth_address_declarator/runnable/deploy.py b/python/eth_address_declarator/runnable/deploy.py @@ -87,7 +87,9 @@ def main(): ], force_wait=True, ) - rcpt = w3.eth.getTransactionReceipt(tx_hash) + + if block_last: + helper.wait_for() print(rcpt.contractAddress) diff --git a/python/setup.cfg b/python/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = eth-address-index -version = 0.1.0a1 +version = 0.1.0a4 description = Signed metadata declarations for ethereum addresses author = Louis Holbrook author_email = dev@holbrook.no @@ -30,7 +30,7 @@ packages = eth_token_index.runnable install_requires = web3==5.12.2 - crypto-dev-signer~=0.4.13b2 + crypto-dev-signer~=0.4.13b10 tests_require = eth-tester==0.5.0b2 py-evm==0.3.0a20