Skip to content

Commit

Permalink
fix xcm assethub
Browse files Browse the repository at this point in the history
  • Loading branch information
BuddyGlas committed Oct 29, 2024
1 parent 61d976c commit 5fb90f0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .baedeker/xcm-quartz.jsonnet
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
local
m = import 'baedeker-library/mixin/spec.libsonnet',
;

local
assethubSpec = import 'assethub-spec.json',
;

Expand Down
8 changes: 6 additions & 2 deletions .baedeker/xcm-unique.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ local
m = import 'baedeker-library/mixin/spec.libsonnet',
;

local
assethubSpec = import 'assethub-spec.json',
;

function(relay_spec)

local relay = {
Expand Down Expand Up @@ -93,8 +97,8 @@ local assethub = {
name: 'assethub',
bin: 'bin/assethub',
paraId: 1004,
spec: {Genesis:{
chain: 'asset-hub-polkadot-local',
spec: {FromScratchGenesis:{
spec: 'assethubSpec',
modify:: m.genericPara($),
}},
nodes: {
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/xcm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,12 @@ jobs:
run: mkdir -p .baedeker/vendor/ && git clone https://github.com/UniqueNetwork/baedeker-library .baedeker/vendor/baedeker-library

- name: Pull chain-spec-generator-latest image
if: ${{ matrix.network == 'unique' }} || ${{ matrix.network == 'quartz' }}
run: |
docker pull uniquenetwork/services:chain-spec-generator-latest
- name: Build chain-spec file for assethub
if: ${{ matrix.network == 'unique' }} || ${{ matrix.network == 'quartz' }}
run: |
docker run --rm uniquenetwork/services:chain-spec-generator-latest asset-hub-${{ matrix.relay_name }}-local > .baedeker/vendor/assethub-spec.json
Expand Down

0 comments on commit 5fb90f0

Please sign in to comment.