File tree Expand file tree Collapse file tree
multiversx_sdk_cli/localnet Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,17 +171,13 @@ def copy_config_to_proxy(config: ConfigRoot):
171171 proxy_config = config .proxy_config_folder ()
172172 makefolder (proxy_config )
173173
174- shutil .copy (
175- config_prototype / 'config.toml' ,
176- proxy_config )
174+ shutil .copy (config_prototype / 'config.toml' , proxy_config )
175+ shutil .copytree (config_prototype / 'apiConfig' , proxy_config / 'apiConfig' )
177176
178- shutil .copytree (
179- config_prototype / 'apiConfig' ,
180- proxy_config / 'apiConfig' )
181-
182- shutil .copy (
183- config_prototype / 'external.toml' ,
184- proxy_config )
177+ # Removed in newer versions:
178+ # https://github.com/multiversx/mx-chain-proxy-go/pull/454
179+ if (config_prototype / 'external.toml' ).exists ():
180+ shutil .copy (config_prototype / 'external.toml' , proxy_config )
185181
186182
187183def patch_proxy_config (config : ConfigRoot ):
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44
55[project ]
66name = " multiversx-sdk-cli"
7- version = " 9.7.0 "
7+ version = " 9.7.1 "
88authors = [
99 { name =" MultiversX" },
1010]
You can’t perform that action at this time.
0 commit comments