git.delta.rocks / unique-network / refs/commits / f48afb4f7913

difftreelog

source

.baedeker/xcm-opal-async-backing.jsonnet1.2 KiBsourcehistory
1local2m = import 'baedeker-library/mixin/spec.libsonnet',3;45function(relay_spec)67local relay = {8	name: 'relay',9	bin: 'bin/polkadot',10	validatorIdAssignment: 'staking',11	spec: {Genesis:{12		chain: relay_spec,13		modify:: bdk.mixer([14			m.genericRelay($),15			{16				genesis+: {17					runtimeGenesis+: {18						runtime+: {19							configuration+: {20								config+: {21									async_backing_params+: {22										allowed_ancestry_len: 3,23										max_candidate_depth: 4,24									},25									scheduling_lookahead:5,26									max_validators_per_core:1,27									minimum_backing_votes:1,28									needed_approvals:1,29									on_demand_cores:5,30								},31							},32						},33					},34				},35			},36		]),37	}},38	nodes: {39		[name]: {40			bin: $.bin,41			wantedKeys: 'relay',42			expectedDataPath: '/parity',43		},44		for name in ['alice', 'bob', 'charlie', 'dave', 'eve']45	},46};4748local unique = {49	name: 'unique',50	bin: 'bin/unique',51	paraId: 1001,52	spec: {Genesis:{53		modify:: m.genericPara($),54	}},55	nodes: {56		[name]: {57			bin: $.bin,58			wantedKeys: 'para',59			extraArgs: [60				'--increase-future-pool',61			],62		},63		for name in ['alice', 'bob', 'charlie', 'dave', 'eve']64	},65};6667relay + {68	parachains: {69		[para.name]: para,70		for para in [unique]71	},72}