Fix missing chain spec arg in pytest fixture

This commit is contained in:
nolash 2021-04-06 08:51:40 +02:00
parent c4725d8a97
commit 0fb5f18671
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
2 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ def registry(
nonce_oracle = RPCNonceOracle(roles['CONTRACT_DEPLOYER'], eth_rpc)
builder = Registry(signer=eth_signer, nonce_oracle=nonce_oracle)
builder = Registry(default_chain_spec, signer=eth_signer, nonce_oracle=nonce_oracle)
logg.info('registering identifiers {} in contract registry'.format(valid_identifiers))
(tx_hash_hex, o) = builder.constructor(roles['CONTRACT_DEPLOYER'], valid_identifiers)
r = eth_rpc.do(o)
@ -56,7 +56,7 @@ def registry(
registry_address = rcpt['contract_address']
c = Registry(signer=eth_signer, nonce_oracle=nonce_oracle)
c = Registry(default_chain_spec, signer=eth_signer, nonce_oracle=nonce_oracle)
chain_spec_identifier = to_identifier(str(default_chain_spec))

View File

@ -1,6 +1,6 @@
[metadata]
name = eth-contract-registry
version = 0.5.4a7
version = 0.5.4a8
description = Ethereum Smart Contract key-value registry
author = Louis Holbrook
author_email = dev@holbrook.no