Upgrade chainlib-eth
This commit is contained in:
parent
5b67b2c82a
commit
5720c3c458
@ -77,9 +77,6 @@ def main():
|
|||||||
celery.Celery(broker=config.get('CELERY_BROKER_URL'), backend=config.get('CELERY_RESULT_URL'))
|
celery.Celery(broker=config.get('CELERY_BROKER_URL'), backend=config.get('CELERY_RESULT_URL'))
|
||||||
|
|
||||||
# set up registry
|
# set up registry
|
||||||
#rpc.setup(config.get('CHAIN_SPEC'), config.get('RPC_HTTP_PROVIDER')) # replace with HTTPConnection when registry has been so refactored
|
|
||||||
#conn = EthHTTPConnection(config.get('RPC_HTTP_PROVIDER'))
|
|
||||||
#registry = registry.init_legacy(config, w3)
|
|
||||||
CICRegistry.address = config.get('CIC_REGISTRY_ADDRESS')
|
CICRegistry.address = config.get('CIC_REGISTRY_ADDRESS')
|
||||||
registry = CICRegistry(chain_spec, conn)
|
registry = CICRegistry(chain_spec, conn)
|
||||||
|
|
||||||
@ -113,8 +110,6 @@ def main():
|
|||||||
account_cache = AccountRegistryCache(chain_spec, account_registry)
|
account_cache = AccountRegistryCache(chain_spec, account_registry)
|
||||||
|
|
||||||
# Set up provisioner for common task input data
|
# Set up provisioner for common task input data
|
||||||
#TrafficProvisioner.oracles['token']= common.registry.TokenOracle(w3, config.get('CHAIN_SPEC'), registry)
|
|
||||||
#TrafficProvisioner.oracles['account'] = common.registry.AccountsOracle(w3, config.get('CHAIN_SPEC'), registry)
|
|
||||||
TrafficProvisioner.oracles['token'] = token_cache
|
TrafficProvisioner.oracles['token'] = token_cache
|
||||||
TrafficProvisioner.oracles['account'] = account_cache
|
TrafficProvisioner.oracles['account'] = account_cache
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ cic-types~=0.1.0a14
|
|||||||
crypto-dev-signer>=0.4.15a1,<=0.4.15
|
crypto-dev-signer>=0.4.15a1,<=0.4.15
|
||||||
faker==4.17.1
|
faker==4.17.1
|
||||||
chainsyncer~=0.0.6a1
|
chainsyncer~=0.0.6a1
|
||||||
chainlib-eth~=0.0.9a3
|
chainlib-eth~=0.0.9a4
|
||||||
eth-address-index~=0.2.3a4
|
eth-address-index~=0.2.3a4
|
||||||
eth-contract-registry~=0.6.3a3
|
eth-contract-registry~=0.6.3a3
|
||||||
eth-accounts-index~=0.1.2a3
|
eth-accounts-index~=0.1.2a3
|
||||||
|
Loading…
Reference in New Issue
Block a user