upgrade acccounts index
This commit is contained in:
parent
75ce19845e
commit
1302db6906
@ -33,6 +33,7 @@ data_dir = UUIDDir(data_path)
|
|||||||
re_yield = re.compile('^/yield')
|
re_yield = re.compile('^/yield')
|
||||||
re_register = re.compile('^/register')
|
re_register = re.compile('^/register')
|
||||||
|
|
||||||
|
|
||||||
def process_settings_local(settings, config):
|
def process_settings_local(settings, config):
|
||||||
conn = settings.get('CONN')
|
conn = settings.get('CONN')
|
||||||
o = balance(settings.get('SENDER_ADDRESS'))
|
o = balance(settings.get('SENDER_ADDRESS'))
|
||||||
@ -40,12 +41,6 @@ def process_settings_local(settings, config):
|
|||||||
logg.info('signing with address {} balance start {}'.format(settings.get('SENDER_ADDRESS'), int(r, 16)))
|
logg.info('signing with address {} balance start {}'.format(settings.get('SENDER_ADDRESS'), int(r, 16)))
|
||||||
|
|
||||||
c = Registry(settings.get('CHAIN_SPEC'), gas_oracle=settings.get('GAS_ORACLE'))
|
c = Registry(settings.get('CHAIN_SPEC'), gas_oracle=settings.get('GAS_ORACLE'))
|
||||||
#o = c.address_of(registry, 'registry', sender_address=settings.get('SENDER_ADDRESS'))
|
|
||||||
#o['params'][0]['gasPrice'] = "0x3b9aca00"
|
|
||||||
#o['params'][0]['gas'] = "0x7530"
|
|
||||||
#r = conn.do(o)
|
|
||||||
#logg.info('using registry {}'.format(r))
|
|
||||||
|
|
||||||
o = c.address_of(registry, 'accounts', sender_address=settings.get('SENDER_ADDRESS'))
|
o = c.address_of(registry, 'accounts', sender_address=settings.get('SENDER_ADDRESS'))
|
||||||
r = conn.do(o)
|
r = conn.do(o)
|
||||||
accounts_index = c.parse_address_of(r)
|
accounts_index = c.parse_address_of(r)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
leveldir~=0.3.3rc1
|
leveldir~=0.3.3rc1
|
||||||
chainlib-eth~=0.5.2
|
chainlib-eth~=0.5.2
|
||||||
eth-contract-registry~=0.12.0rc1
|
eth-contract-registry~=0.12.0rc1
|
||||||
eth-accounts-index~=0.5.4rc1
|
eth-accounts-index~=0.5.4rc2
|
||||||
eth-faucet~=0.5.0rc1
|
eth-faucet~=0.5.0rc1
|
||||||
|
Loading…
Reference in New Issue
Block a user