Skip to content

Commit

Permalink
ADD: Adjustments for new Setups as well
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoPlays committed Jun 11, 2024
1 parent b092662 commit 2bf0377
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions launcher/src/backend/ethereum-services/CharonService.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,21 @@ export class CharonService extends NodeService {
null, // executionClients
consensusClients // consensusClients
);

if (consensusClients.map(s => s.service).includes("NimbusBeaconService")) {
service.command.push("--feature-set-enable=json_requests")
}

if (consensusClients.map(s => s.service).includes("TekuBeaconService")) {
consensusClients.filter(s => s.service === "TekuBeaconService").forEach(s => {
s.command.push(`--validators-graffiti-client-append-format=DISABLED`)
})
}

return service;
}


static buildByConfiguration(config) {
const service = new CharonService();

Expand Down

0 comments on commit 2bf0377

Please sign in to comment.