From e2f1fc30e40c3f396c506a2c874415ace19f0902 Mon Sep 17 00:00:00 2001 From: Javier Viola Date: Wed, 20 Sep 2023 09:57:55 -0300 Subject: [PATCH 1/2] fix(orchestrator), fix sanitizing args for cumulus collator --- javascript/packages/orchestrator/src/configGenerator.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/javascript/packages/orchestrator/src/configGenerator.ts b/javascript/packages/orchestrator/src/configGenerator.ts index ec3d31b10..a1f2463a9 100644 --- a/javascript/packages/orchestrator/src/configGenerator.ts +++ b/javascript/packages/orchestrator/src/configGenerator.ts @@ -709,6 +709,10 @@ function sanitizeArgs( } }); + // put the internal full-node args again + if(separatorIndex >= 0) { + filteredArgs.push(...args.slice(separatorIndex)); + } return filteredArgs; } From 853a9be38baf4bebf48ad2ca5afa83f3032d93a0 Mon Sep 17 00:00:00 2001 From: Javier Viola Date: Wed, 20 Sep 2023 10:04:33 -0300 Subject: [PATCH 2/2] fmt --- javascript/packages/orchestrator/src/configGenerator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/packages/orchestrator/src/configGenerator.ts b/javascript/packages/orchestrator/src/configGenerator.ts index a1f2463a9..8e99c4adc 100644 --- a/javascript/packages/orchestrator/src/configGenerator.ts +++ b/javascript/packages/orchestrator/src/configGenerator.ts @@ -710,7 +710,7 @@ function sanitizeArgs( }); // put the internal full-node args again - if(separatorIndex >= 0) { + if (separatorIndex >= 0) { filteredArgs.push(...args.slice(separatorIndex)); } return filteredArgs;