From 2419575106e4a5a0c623c62022b5d02d617e8c7c Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Tue, 10 Dec 2024 00:28:19 +0700 Subject: [PATCH] set configuration params with simplifyGenesisName function in CI --- .baedeker/main-process.jsonnet | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/.baedeker/main-process.jsonnet b/.baedeker/main-process.jsonnet index 186e54551f..ce13421ec4 100644 --- a/.baedeker/main-process.jsonnet +++ b/.baedeker/main-process.jsonnet @@ -13,31 +13,23 @@ local relay = { chain: relay_spec, modify:: bdk.mixer([ m.genericRelay($), - { - genesis+: { - runtimeGenesis+: { - runtime+: { - configuration+: { - config+: { - async_backing_params+: { + m.simplifyGenesisName(), + { + _genesis+: { + configuration+: { + config+: { + async_backing_params+: { allowed_ancestry_len: 3, max_candidate_depth: 4, }, - scheduling_lookahead:5, - max_validators_per_core:1, - minimum_backing_votes:1, - needed_approvals:1, - on_demand_cores:5, - validation_upgrade_cooldown:400, - validation_upgrade_delay:200, + validation_upgrade_cooldown:200, + validation_upgrade_delay:100, minimum_validation_upgrade_delay:15, - codeRetentionPeriod: 1200, }, }, - }, - }, }, }, + m.unsimplifyGenesisName(), ]), }}, nodes: {