Skip to content
Snippets Groups Projects
Commit fd02b1a8 authored by poka's avatar poka
Browse files

refacto: subfolders for input and output data

parent 5ac6830d
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ from substrateinterface import Keypair, KeypairType
def get_identities_bloc():
# Get Dex idty data
idty_data = load_json('idty.json')
idty_data = load_json('dex_data/idty.json')
# Get identities names by pubkey
identity_names = {}
......@@ -25,7 +25,7 @@ def get_identities_bloc():
idty_balance.update({pubkey: int(balance)})
# Get Dex certs data
certs_data = load_json('certs.json')
certs_data = load_json('dex_data/certs.json')
# Generate identities Ğ1v2 genesis json bloc
identities = {}
......
......@@ -35,5 +35,5 @@ gtest_genesis.update({'identities': identities})
# Dump JSON to file
gtest_genesis_json = json.dumps(gtest_genesis, indent=2).encode()
gtest_json = open('gtest.json', 'wb')
gtest_json = open('output/gtest.json', 'wb')
gtest_json.write(gtest_genesis_json)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment