From d0a19da7eaeb3d788485e31c34f273bb305736bc Mon Sep 17 00:00:00 2001 From: riyasng12 Date: Fri, 22 Dec 2023 13:53:24 +0530 Subject: [PATCH] fix: fix upload files to take remote path --- cli/cmd/chains/kusama/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/cmd/chains/kusama/run.go b/cli/cmd/chains/kusama/run.go index 624dc2e8..f6461097 100644 --- a/cli/cmd/chains/kusama/run.go +++ b/cli/cmd/chains/kusama/run.go @@ -282,7 +282,7 @@ func getKusamaRunConfig(serviceConfig *utils.PolkadotServiceConfig, enclaveConte func uploadFiles(cli *common.Cli, enclaveCtx *enclaves.EnclaveContext) error { runConfig := common.GetStarlarkRunConfig("{}", common.DivePolkaDotUtilsPath, runUploadFiles) - _, _, err := enclaveCtx.RunStarlarkPackage(cli.Context().GetContext(), "/home/riya/polakadot-kurtosis-package", runConfig) + _, err := enclaveCtx.RunStarlarkRemotePackageBlocking(cli.Context().GetContext(), common.PolkadotRemotePackagePath, runConfig) if err != nil { return common.WrapMessageToError(common.ErrStarlarkRunFailed, err.Error()) }