Include signer fix without spammy logs

This commit is contained in:
nolash 2021-01-14 11:23:20 +01:00
parent 8f9834105d
commit 4dea83e81a
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
3 changed files with 9 additions and 3 deletions

View File

@ -83,6 +83,10 @@ def main():
c.functions.addDeclaration(args.address, args.declaration).buildTransaction, c.functions.addDeclaration(args.address, args.declaration).buildTransaction,
], ],
) )
if block_last:
helper.wait_for()
print(tx_hash) print(tx_hash)

View File

@ -87,7 +87,9 @@ def main():
], ],
force_wait=True, force_wait=True,
) )
rcpt = w3.eth.getTransactionReceipt(tx_hash)
if block_last:
helper.wait_for()
print(rcpt.contractAddress) print(rcpt.contractAddress)

View File

@ -1,6 +1,6 @@
[metadata] [metadata]
name = eth-address-index name = eth-address-index
version = 0.1.0a1 version = 0.1.0a4
description = Signed metadata declarations for ethereum addresses description = Signed metadata declarations for ethereum addresses
author = Louis Holbrook author = Louis Holbrook
author_email = dev@holbrook.no author_email = dev@holbrook.no
@ -30,7 +30,7 @@ packages =
eth_token_index.runnable eth_token_index.runnable
install_requires = install_requires =
web3==5.12.2 web3==5.12.2
crypto-dev-signer~=0.4.13b2 crypto-dev-signer~=0.4.13b10
tests_require = tests_require =
eth-tester==0.5.0b2 eth-tester==0.5.0b2
py-evm==0.3.0a20 py-evm==0.3.0a20