Skip to content

Commit

Permalink
fix: centrifuge image tag updated for resolving bin/sh issue
Browse files Browse the repository at this point in the history
  • Loading branch information
shanithkk committed Nov 28, 2023
1 parent eeea081 commit 71000ef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions parachain/parachain.star
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ def start_local_parachain_node(plan, args, parachain_name, para_id):
for node in args["para"][parachain]["nodes"]:
parachain_detail = {}
parachain_spawn_detail = spawn_parachain(plan, "{0}-{1}-{2}".format(parachain, node["name"], args["chain-type"]), image, exec_comexec_commandmand, build_file = raw_service.name)
parachain_detail["node_details"]=parachain_spawn_detail
parachain_detail["nodename"]=node["name"]
parachain_detail["node_details"] = parachain_spawn_detail
parachain_detail["nodename"] = node["name"]
parachain_final.append(parachain_detail)
return parachain_final

def start_nodes(plan, args, relay_chain_ip):
parachains = args["para"]
final_parachain_details=[]
final_parachain_details = []
for parachain in parachains:
parachain_details = {}
para_id = register_para_slot.register_para_id(plan, relay_chain_ip)
Expand All @@ -71,6 +71,7 @@ def start_nodes(plan, args, relay_chain_ip):
return final_parachain_details

def run_testnet_mainnet(plan, args, parachain):
parachain_config = parachain
if args["chain-type"] == "testnet":
main_chain = "rococo"
if parachain == "ajuna":
Expand Down Expand Up @@ -117,13 +118,13 @@ def run_testnet_mainnet(plan, args, parachain):
"--unsafe-ws-external",
]
parachain_info = {parachain: {}}
para_nodes = args["para"][parachain]["nodes"]
para_nodes = args["para"][parachain_config]["nodes"]
for node in para_nodes:
command = common_command
command = command + ["--name={0}".format(node["name"])]
if node["node-type"] == "collator":
command = command + ["--collator"]

if node["node-type"] == "validator":
command = command + ["--validator"]

Expand Down
2 changes: 1 addition & 1 deletion parachain/static_files/images.star
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ parachain_images = {
"base": ["bifrost-local", "bifrost-kusama-rococo", "bifrost-polkadot"],
},
"centrifuge": {
"image": "centrifugeio/centrifuge-chain:test-main-latest",
"image": "centrifugeio/centrifuge-chain:test-PR1628-354d76c-23-11-28",
"entrypoint": "/usr/local/bin/centrifuge-chain",
"base": ["centrifuge-local", "catalyst", "centrifuge"],
},
Expand Down

0 comments on commit 71000ef

Please sign in to comment.