Do a better job of updating the create script

This commit is contained in:
nolash 2021-02-20 20:28:14 +01:00
parent d8adcd47e1
commit fdb16130a2
Signed by untrusted user who does not match committer: lash
GPG Key ID: 21D2E7BB88C2A746
5 changed files with 13 additions and 8 deletions

View File

@ -6,10 +6,13 @@
# standard imports
import logging
# third-party imports
# external imports
import celery
from cic_registry.chain import ChainSpec
#from cic_registry.chain import ChainSpec
from cic_registry import CICRegistry
from chainlib.chain import ChainSpec
# local imports
from cic_eth.eth.factory import TxFactory
from cic_eth.db.enum import LockEnum

View File

@ -76,8 +76,9 @@ def main():
t = api.create_account(register=register)
ps.get_message()
m = ps.get_message(timeout=args.timeout)
print(json.loads(m['data']['result']))
o = ps.get_message(timeout=args.timeout)
m = json.loads(o['data'])
print(m['result'])
if __name__ == '__main__':

View File

@ -8,7 +8,7 @@ redis==3.5.3
alembic==1.4.2
websockets==8.1
requests~=2.24.0
eth_accounts_index~=0.0.10a7
eth_accounts_index~=0.0.10a10
erc20-approval-escrow~=0.3.0a5
erc20-single-shot-faucet~=0.2.0a6
rlp==2.0.1
@ -18,5 +18,5 @@ eth-gas-proxy==0.0.1a4
websocket-client==0.57.0
moolb~=0.1.1b2
eth-address-index~=0.1.0a8
chainlib~=0.0.1a12
chainlib~=0.0.1a16
hexathon~=0.0.1a3

View File

@ -1,7 +1,7 @@
psycopg2==2.8.6
chainlib~=0.0.1a15
chainsyncer~=0.0.1a9
cic-eth~=0.10.0a28
cic-eth~=0.10.0a30
cic-registry~=0.5.3a19
confini~=0.3.6rc3
celery==4.4.7

View File

@ -30,7 +30,8 @@ truncate $env_out_file -s 0
set -e
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"
old_gas_provider=$DEV_ETH_ACCOUNT_GAS_PROVIDER