From 1f6987d317f921c19c2fbb1d97ec0e3155018cac Mon Sep 17 00:00:00 2001 From: Jibril Gupa Date: Wed, 10 Jan 2024 12:20:44 +0100 Subject: [PATCH] remove bifrost spec files --- src/service_args.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/service_args.py b/src/service_args.py index 0dc23ea..a18d58b 100644 --- a/src/service_args.py +++ b/src/service_args.py @@ -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) @@ -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)