From 1302db69060652811833d065bf32622feeb826aa Mon Sep 17 00:00:00 2001 From: lash Date: Fri, 1 Sep 2023 04:06:05 +0100 Subject: [PATCH] upgrade acccounts index --- gas3/__init__.py | 7 +------ requirements.txt | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/gas3/__init__.py b/gas3/__init__.py index 9f03128..b2a490a 100644 --- a/gas3/__init__.py +++ b/gas3/__init__.py @@ -33,6 +33,7 @@ data_dir = UUIDDir(data_path) re_yield = re.compile('^/yield') re_register = re.compile('^/register') + def process_settings_local(settings, config): conn = settings.get('CONN') 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))) 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')) r = conn.do(o) accounts_index = c.parse_address_of(r) diff --git a/requirements.txt b/requirements.txt index 5555848..a2f0ebd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ leveldir~=0.3.3rc1 chainlib-eth~=0.5.2 eth-contract-registry~=0.12.0rc1 -eth-accounts-index~=0.5.4rc1 +eth-accounts-index~=0.5.4rc2 eth-faucet~=0.5.0rc1