mirror of
git://holbrook.no/eth-contract-registry
synced 2026-05-14 17:08:42 +02:00
Update nonce, gas oracle naming
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user