mirror of
git://holbrook.no/eth-contract-registry
synced 2026-03-19 11:00:48 +01:00
Fix missing chain spec arg in pytest fixture
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user