Skip to content

Commit

Permalink
remove bifrost spec files
Browse files Browse the repository at this point in the history
  • Loading branch information
gflow33 committed Jan 10, 2024
1 parent 1713216 commit 1f6987d
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/service_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,6 @@ def __customize_service_args(self):
self.__origintrail()
elif self.chain_name == 'asset-hub-rococo':
self.__asset_hub_rococo()
elif self.chain_name in ['bifrost-kusama', 'bifrost-polkadot']:
self.__bifrost()

def __peregrine(self):
self.__replace_chain_name(Path(utils.HOME_PATH, 'dev-specs/kilt-parachain/peregrine-kilt.json'), 0)
Expand Down Expand Up @@ -245,15 +243,3 @@ def __asset_hub_rococo(self):
utils.download_chain_spec(chain_json_url, f'{self.chain_name}.json')
self.__replace_chain_name(chain_json_path, 0)

def __bifrost(self):
if self.chain_name == 'bifrost-kusama':
chain_json_url = 'https://raw.githubusercontent.com/bifrost-finance/bifrost/develop/node/service/res/bifrost-kusama.json'
elif self.chain_name == 'bifrost-polkadot':
chain_json_url = 'https://raw.githubusercontent.com/bifrost-finance/bifrost/develop/node/service/res/bifrost-polkadot.json'
else:
raise ValueError("Unsupported chain name.")

chain_json_path = f'{utils.CHAIN_SPEC_PATH}/{self.chain_name}.json'

utils.download_chain_spec(chain_json_url, f'{self.chain_name}.json')
self.__replace_chain_name(chain_json_path, 0)

0 comments on commit 1f6987d

Please sign in to comment.