Skip to content

Commit

Permalink
correct jsonnet files
Browse files Browse the repository at this point in the history
  • Loading branch information
BuddyGlas committed Dec 4, 2024
1 parent 8134368 commit aefdaf7
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 4 deletions.
28 changes: 26 additions & 2 deletions .baedeker/collator-selection.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,30 @@ local relay = {
validatorIdAssignment: 'staking',
spec: {Genesis:{
chain: relay_spec,
modify:: m.genericRelay($),
modify:: bdk.mixer([
m.genericRelay($),
{
genesis+: {
runtimeGenesis+: {
runtime+: {
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,
},
},
},
},
},
},
]),
}},
nodes: {
[name]: {
Expand All @@ -35,9 +58,10 @@ local unique = {
wantedKeys: 'para',
extraArgs: [
'--increase-future-pool',
'--pool-type=fork-aware',
],
},
for name in ['alpha', 'beta', 'gamma', 'delta']
for name in ['alpha', 'beta', 'gamma']
},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,25 @@ local unique = {
paraId: 1001,
spec: {Genesis:{
modify:: m.genericPara($),
modify:: bdk.mixer([
m.genericPara($),
m.simplifyGenesisName(),
{
_code: cql.toHex(importbin '../runtime.compact.compressed.wasm'),
},
m.unsimplifyGenesisName(),
]),
}},
nodes: {
[name]: {
bin: $.bin,
wantedKeys: 'para',
extraArgs: [
'--increase-future-pool',
],
'--pool-type=fork-aware',
],
},
for name in ['alice', 'bob', 'charlie']
for name in ['alpha', 'beta', 'gamma', 'delta']
},
};

Expand Down

0 comments on commit aefdaf7

Please sign in to comment.