Do a better job of updating the create script
This commit is contained in:
		
							parent
							
								
									d8adcd47e1
								
							
						
					
					
						commit
						fdb16130a2
					
				| @ -6,10 +6,13 @@ | |||||||
| # standard imports | # standard imports | ||||||
| import logging | import logging | ||||||
| 
 | 
 | ||||||
| # third-party imports  | # external imports  | ||||||
| import celery | import celery | ||||||
| from cic_registry.chain import ChainSpec | #from cic_registry.chain import ChainSpec | ||||||
| from cic_registry import CICRegistry | from cic_registry import CICRegistry | ||||||
|  | from chainlib.chain import ChainSpec | ||||||
|  | 
 | ||||||
|  | # local imports | ||||||
| from cic_eth.eth.factory import TxFactory | from cic_eth.eth.factory import TxFactory | ||||||
| from cic_eth.db.enum import LockEnum | from cic_eth.db.enum import LockEnum | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -76,8 +76,9 @@ def main(): | |||||||
|     t = api.create_account(register=register) |     t = api.create_account(register=register) | ||||||
| 
 | 
 | ||||||
|     ps.get_message() |     ps.get_message() | ||||||
|     m = ps.get_message(timeout=args.timeout) |     o = ps.get_message(timeout=args.timeout) | ||||||
|     print(json.loads(m['data']['result'])) |     m = json.loads(o['data']) | ||||||
|  |     print(m['result']) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| if __name__ == '__main__': | if __name__ == '__main__': | ||||||
|  | |||||||
| @ -8,7 +8,7 @@ redis==3.5.3 | |||||||
| alembic==1.4.2 | alembic==1.4.2 | ||||||
| websockets==8.1 | websockets==8.1 | ||||||
| requests~=2.24.0 | requests~=2.24.0 | ||||||
| eth_accounts_index~=0.0.10a7 | eth_accounts_index~=0.0.10a10 | ||||||
| erc20-approval-escrow~=0.3.0a5 | erc20-approval-escrow~=0.3.0a5 | ||||||
| erc20-single-shot-faucet~=0.2.0a6 | erc20-single-shot-faucet~=0.2.0a6 | ||||||
| rlp==2.0.1 | rlp==2.0.1 | ||||||
| @ -18,5 +18,5 @@ eth-gas-proxy==0.0.1a4 | |||||||
| websocket-client==0.57.0 | websocket-client==0.57.0 | ||||||
| moolb~=0.1.1b2 | moolb~=0.1.1b2 | ||||||
| eth-address-index~=0.1.0a8 | eth-address-index~=0.1.0a8 | ||||||
| chainlib~=0.0.1a12 | chainlib~=0.0.1a16 | ||||||
| hexathon~=0.0.1a3 | hexathon~=0.0.1a3 | ||||||
|  | |||||||
| @ -1,7 +1,7 @@ | |||||||
| psycopg2==2.8.6 | psycopg2==2.8.6 | ||||||
| chainlib~=0.0.1a15 | chainlib~=0.0.1a15 | ||||||
| chainsyncer~=0.0.1a9 | chainsyncer~=0.0.1a9 | ||||||
| cic-eth~=0.10.0a28 | cic-eth~=0.10.0a30 | ||||||
| cic-registry~=0.5.3a19 | cic-registry~=0.5.3a19 | ||||||
| confini~=0.3.6rc3 | confini~=0.3.6rc3 | ||||||
| celery==4.4.7 | celery==4.4.7 | ||||||
|  | |||||||
| @ -30,7 +30,8 @@ truncate $env_out_file -s 0 | |||||||
| set -e | set -e | ||||||
| set -a | set -a | ||||||
| 
 | 
 | ||||||
| pip install --extra-index-url $DEV_PIP_EXTRA_INDEX_URL cic-eth==0.10.0a29 chainlib==0.0.1a16 | # We need to not install these here... | ||||||
|  | pip install --extra-index-url $DEV_PIP_EXTRA_INDEX_URL cic-eth==0.10.0a30 chainlib==0.0.1a16 | ||||||
| 
 | 
 | ||||||
| >&2 echo "create account for gas gifter" | >&2 echo "create account for gas gifter" | ||||||
| old_gas_provider=$DEV_ETH_ACCOUNT_GAS_PROVIDER | old_gas_provider=$DEV_ETH_ACCOUNT_GAS_PROVIDER | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user