-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modify collator selection workflow for baedeker
- Loading branch information
Showing
4 changed files
with
204 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
local | ||
m = import 'baedeker-library/mixin/spec.libsonnet', | ||
; | ||
|
||
local relay = { | ||
name: 'relay', | ||
bin: 'bin/polkadot', | ||
validatorIdAssignment: 'staking', | ||
spec: {Genesis:{ | ||
chain: 'westend-local', | ||
}}, | ||
nodes: { | ||
[name]: { | ||
bin: $.bin, | ||
wantedKeys: 'relay', | ||
}, | ||
for name in ['alice', 'bob'] | ||
}, | ||
}; | ||
|
||
local opal = { | ||
name: 'opal', | ||
bin: 'bin/unique', | ||
paraId: 1001, | ||
spec: {Genesis:{ | ||
modify:: m.genericPara($), | ||
}}, | ||
nodes: { | ||
[name]: { | ||
bin: $.bin, | ||
wantedKeys: 'para', | ||
}, | ||
for name in ['alice', 'bob'] | ||
}, | ||
}; | ||
|
||
relay + { | ||
parachains: { | ||
[para.name]: para, | ||
for para in [opal] | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
local | ||
m = import 'baedeker-library/mixin/spec.libsonnet', | ||
; | ||
|
||
local relay = { | ||
name: 'relay', | ||
bin: 'bin/polkadot', | ||
validatorIdAssignment: 'staking', | ||
spec: {Genesis:{ | ||
chain: 'westend-local', | ||
}}, | ||
nodes: { | ||
[name]: { | ||
bin: $.bin, | ||
wantedKeys: 'relay', | ||
}, | ||
for name in ['alice', 'bob'] | ||
}, | ||
}; | ||
|
||
local quartz = { | ||
name: 'quartz', | ||
bin: 'bin/unique', | ||
paraId: 1001, | ||
spec: {Genesis:{ | ||
modify:: m.genericPara($), | ||
}}, | ||
nodes: { | ||
[name]: { | ||
bin: $.bin, | ||
wantedKeys: 'para', | ||
}, | ||
for name in ['alice', 'bob'] | ||
}, | ||
}; | ||
|
||
relay + { | ||
parachains: { | ||
[para.name]: para, | ||
for para in [quartz] | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
local | ||
m = import 'baedeker-library/mixin/spec.libsonnet', | ||
; | ||
|
||
local relay = { | ||
name: 'relay', | ||
bin: 'bin/polkadot', | ||
validatorIdAssignment: 'staking', | ||
spec: {Genesis:{ | ||
chain: 'westend-local', | ||
}}, | ||
nodes: { | ||
[name]: { | ||
bin: $.bin, | ||
wantedKeys: 'relay', | ||
}, | ||
for name in ['alice', 'bob'] | ||
}, | ||
}; | ||
|
||
local sapphire = { | ||
name: 'sapphire', | ||
bin: 'bin/unique', | ||
paraId: 1001, | ||
spec: {Genesis:{ | ||
modify:: m.genericPara($), | ||
}}, | ||
nodes: { | ||
[name]: { | ||
bin: $.bin, | ||
wantedKeys: 'para', | ||
}, | ||
for name in ['alice', 'bob'] | ||
}, | ||
}; | ||
|
||
relay + { | ||
parachains: { | ||
[para.name]: para, | ||
for para in [sapphire] | ||
}, | ||
} |
Oops, something went wrong.