Update nonce, gas oracle naming

This commit is contained in:
nolash
2021-03-17 11:23:24 +01:00
parent 2b3575f5a3
commit 6ffcaec8e9
2 changed files with 4 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ from hexathon import add_0x
import pytest
from chainlib.connection import RPCConnection
from chainlib.eth.tx import receipt
from chainlib.eth.nonce import NodeNonceOracle
from chainlib.eth.nonce import RPCNonceOracle
# local imports
from contract_registry.registry import Registry
@@ -40,7 +40,7 @@ def registry(
roles,
):
nonce_oracle = NodeNonceOracle(roles['CONTRACT_DEPLOYER'], eth_rpc)
nonce_oracle = RPCNonceOracle(roles['CONTRACT_DEPLOYER'], eth_rpc)
builder = Registry(signer=eth_signer, nonce_oracle=nonce_oracle)
(tx_hash_hex, o) = builder.constructor(roles['CONTRACT_DEPLOYER'], valid_identifiers)