mirror of
https://github.com/grassrootseconomics/custodial-registration-proxy.git
synced 2024-12-22 04:47:33 +01:00
fix: remove training voucher args
This commit is contained in:
parent
5ecb5c40cc
commit
5b9230fc89
1
MANIFEST.in
Normal file
1
MANIFEST.in
Normal file
@ -0,0 +1 @@
|
|||||||
|
include requirements.txt
|
@ -43,7 +43,6 @@ logg = logging.getLogger()
|
|||||||
def process_config_local(config, arg, args, flags):
|
def process_config_local(config, arg, args, flags):
|
||||||
config.add(args.proxy_eth_faucet_address, 'PROXY_ETH_FAUCET_ADDRESS')
|
config.add(args.proxy_eth_faucet_address, 'PROXY_ETH_FAUCET_ADDRESS')
|
||||||
config.add(args.proxy_custodial_account_index_address, 'PROXY_CUSTODIAL_ACCOUNT_INDEX_ADDRESS')
|
config.add(args.proxy_custodial_account_index_address, 'PROXY_CUSTODIAL_ACCOUNT_INDEX_ADDRESS')
|
||||||
config.add(args.proxy_training_voucher_address, 'PROXY_TRAINING_VOUCHER_ADDRESS')
|
|
||||||
config.add(args.proxy_system_account_address, 'PROXY_SYSTEM_ACCOUNT_ADDRESS')
|
config.add(args.proxy_system_account_address, 'PROXY_SYSTEM_ACCOUNT_ADDRESS')
|
||||||
return config
|
return config
|
||||||
|
|
||||||
@ -55,7 +54,6 @@ argparser = chainlib.eth.cli.ArgumentParser()
|
|||||||
argparser = process_args(argparser, arg, flags)
|
argparser = process_args(argparser, arg, flags)
|
||||||
argparser.add_argument('--eth-faucet-address', dest='proxy_eth_faucet_address', type=str, help='Faucet address')
|
argparser.add_argument('--eth-faucet-address', dest='proxy_eth_faucet_address', type=str, help='Faucet address')
|
||||||
argparser.add_argument('--account-index-address', dest='proxy_custodial_account_index_address', type=str, help='Account index address')
|
argparser.add_argument('--account-index-address', dest='proxy_custodial_account_index_address', type=str, help='Account index address')
|
||||||
argparser.add_argument('--training-voucher-address', dest='proxy_training_voucher_address', type=str, help='Training voucher address')
|
|
||||||
argparser.add_argument('--system-account-address', dest='proxy_system_account_address', type=str, help='System account address')
|
argparser.add_argument('--system-account-address', dest='proxy_system_account_address', type=str, help='System account address')
|
||||||
args = argparser.parse_args()
|
args = argparser.parse_args()
|
||||||
|
|
||||||
@ -84,7 +82,6 @@ def main():
|
|||||||
c_args = CustodialRegistrationProxySettings()
|
c_args = CustodialRegistrationProxySettings()
|
||||||
c_args.eth_faucet_address = config.get('PROXY_ETH_FAUCET_ADDRESS')
|
c_args.eth_faucet_address = config.get('PROXY_ETH_FAUCET_ADDRESS')
|
||||||
c_args.custodial_account_index_address = config.get('PROXY_CUSTODIAL_ACCOUNT_INDEX_ADDRESS')
|
c_args.custodial_account_index_address = config.get('PROXY_CUSTODIAL_ACCOUNT_INDEX_ADDRESS')
|
||||||
c_args.training_voucher_address = config.get('PROXY_TRAINING_VOUCHER_ADDRESS')
|
|
||||||
c_args.system_account_address = config.get('PROXY_SYSTEM_ACCOUNT_ADDRESS')
|
c_args.system_account_address = config.get('PROXY_SYSTEM_ACCOUNT_ADDRESS')
|
||||||
|
|
||||||
(tx_hash_hex, o) = c.constructor(
|
(tx_hash_hex, o) = c.constructor(
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = custodial-registration-proxy
|
name = custodial-registration-proxy
|
||||||
version = 0.2.0
|
version = 0.3.1
|
||||||
description = Atomically registers a custodial user on-chain and provisions necessary gas and training vouchers.
|
description = Atomically registers a custodial user on-chain and provisions necessary gas and training vouchers.
|
||||||
long_description = Atomically registers a custodial user on-chain and provisions necessary gas and training vouchers.
|
long_description = Atomically registers a custodial user on-chain and provisions necessary gas and training vouchers.
|
||||||
author = Mohamed Sohail
|
author = Mohamed Sohail
|
||||||
|
Loading…
Reference in New Issue
Block a user