diff --git a/apps/cic-cache/requirements.txt b/apps/cic-cache/requirements.txt index 029b8a61..dd85ce29 100644 --- a/apps/cic-cache/requirements.txt +++ b/apps/cic-cache/requirements.txt @@ -10,6 +10,6 @@ celery==4.4.7 redis==3.5.3 chainsyncer[sql]>=0.0.6a1,<0.1.0 erc20-faucet>=0.3.2a1, <0.4.0 -chainlib-eth==0.0.9a2 -chainlib==0.0.9a2 +chainlib-eth>=0.0.9a3,<0.1.0 +chainlib>=0.0.9a2,<0.1.0 eth-address-index>=0.2.3a1,<0.3.0 diff --git a/apps/cic-eth/requirements.txt b/apps/cic-eth/requirements.txt index c0b271cb..d3bda3d4 100644 --- a/apps/cic-eth/requirements.txt +++ b/apps/cic-eth/requirements.txt @@ -1,3 +1,3 @@ celery==4.4.7 -chainlib-eth>=0.0.9a2,<0.1.0 +chainlib-eth>=0.0.9a3,<0.1.0 semver==2.13.0 diff --git a/apps/data-seeding/cic_eth/import_balance.py b/apps/data-seeding/cic_eth/import_balance.py index 7f7c840c..0a25380e 100644 --- a/apps/data-seeding/cic_eth/import_balance.py +++ b/apps/data-seeding/cic_eth/import_balance.py @@ -38,7 +38,7 @@ from crypto_dev_signer.eth.signer import ReferenceSigner as EIP155Signer from crypto_dev_signer.keystore.dict import DictKeystore from cic_types.models.person import Person from eth_erc20 import ERC20 -from cic_base.eth.syncer import chain_interface +from cic_eth.cli.chain import chain_interface from eth_accounts_index import AccountsIndex from eth_contract_registry import Registry from eth_token_index import TokenUniqueSymbolIndex @@ -215,8 +215,6 @@ def main(): logg.critical('lookup failed for token {}: {}'.format(token_symbol, e)) sys.exit(1) logg.info('found token address {}'.format(token_address)) - - sys.exit(0) syncer_backend = MemBackend(chain_str, 0) @@ -248,7 +246,7 @@ def main(): syncer_backend.set(block_offset, 0) syncer = HeadSyncer(syncer_backend, chain_interface, block_callback=progress_callback) - handler = Handler(conn, chain_spec, user_dir, balances, sarafu_token_address, signer, gas_oracle, nonce_oracle) + handler = Handler(conn, chain_spec, user_dir, balances, token_address, signer, gas_oracle, nonce_oracle) syncer.add_filter(handler) syncer.loop(1, conn) diff --git a/apps/data-seeding/eth/import_balance.py b/apps/data-seeding/eth/import_balance.py index 62374503..55a08c7e 100644 --- a/apps/data-seeding/eth/import_balance.py +++ b/apps/data-seeding/eth/import_balance.py @@ -37,7 +37,6 @@ from crypto_dev_signer.eth.signer import ReferenceSigner as EIP155Signer from crypto_dev_signer.keystore.dict import DictKeystore from cic_types.models.person import Person from eth_erc20 import ERC20 -#from cic_base.eth.syncer import chain_interface from cic_eth.cli.chain import chain_interface from eth_accounts_index import AccountsIndex from eth_contract_registry import Registry diff --git a/apps/data-seeding/requirements.txt b/apps/data-seeding/requirements.txt index c6efb4b8..d3ab3544 100644 --- a/apps/data-seeding/requirements.txt +++ b/apps/data-seeding/requirements.txt @@ -1,10 +1,10 @@ sarafu-faucet~=0.0.7a1 -cic-eth[tools]~=0.12.4a2 +cic-eth[tools]~=0.12.4a3 cic-types~=0.1.0a14 crypto-dev-signer>=0.4.15a1,<=0.4.15 faker==4.17.1 chainsyncer~=0.0.6a1 -chainlib-eth~=0.0.9a2 +chainlib-eth~=0.0.9a3 eth-address-index~=0.2.3a1 eth-contract-registry~=0.6.3a1 eth-accounts-index~=0.1.2a1