feat: add Nova-base sync mechanism

- Add sync_from_nova.py script to merge Nova chains with Pezkuwi overlay
- Add GitHub Action for daily auto-sync
- Sync all chains from nova-base (includes Polkadot Coretime and other missing chains)
- Pezkuwi chains appear first and take priority

This fixes DOT swap crash caused by missing Polkadot Coretime chain.
This commit is contained in:
2026-02-09 04:39:23 +03:00
parent aa5a457ae2
commit 71d14b884a
76 changed files with 444291 additions and 302947 deletions
+106
View File
@@ -0,0 +1,106 @@
name: Sync from Nova Base
on:
# Run daily at 6:00 AM UTC
schedule:
- cron: '0 6 * * *'
# Allow manual trigger
workflow_dispatch:
inputs:
force_update:
description: 'Force update even if no changes'
required: false
default: 'false'
type: boolean
jobs:
sync:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Update nova-base submodule to latest
run: |
cd nova-base
git fetch origin master
git checkout origin/master
cd ..
echo "NOVA_COMMIT=$(cd nova-base && git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: Check for changes in nova-base
id: check_changes
run: |
if git diff --quiet nova-base; then
echo "has_changes=false" >> $GITHUB_OUTPUT
echo "No changes in nova-base"
else
echo "has_changes=true" >> $GITHUB_OUTPUT
echo "Changes detected in nova-base"
fi
- name: Set up Python
if: steps.check_changes.outputs.has_changes == 'true' || inputs.force_update == 'true'
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Run sync script
if: steps.check_changes.outputs.has_changes == 'true' || inputs.force_update == 'true'
run: |
python scripts/sync_from_nova.py
- name: Check for output changes
if: steps.check_changes.outputs.has_changes == 'true' || inputs.force_update == 'true'
id: check_output
run: |
if git diff --quiet chains/ xcm/ icons/; then
echo "output_changed=false" >> $GITHUB_OUTPUT
echo "No output changes after sync"
else
echo "output_changed=true" >> $GITHUB_OUTPUT
echo "Output files changed"
git diff --stat chains/ xcm/ icons/
fi
- name: Create Pull Request
if: steps.check_output.outputs.output_changed == 'true'
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "chore: sync from nova-base (${{ env.NOVA_COMMIT }})"
title: "🔄 Sync from Nova Base"
body: |
## Automated Nova Base Sync
This PR syncs the latest changes from [nova-utils](https://github.com/novasamatech/nova-utils).
**Nova commit:** `${{ env.NOVA_COMMIT }}`
### Changes included:
- Updated chain configurations
- Updated XCM transfer configs
- Updated icons
---
*This PR was automatically created by the sync workflow.*
branch: sync/nova-base-${{ env.NOVA_COMMIT }}
delete-branch: true
labels: |
automated
sync
dependencies
- name: Auto-merge if tests pass
if: steps.check_output.outputs.output_changed == 'true'
run: |
echo "PR created. Review and merge to apply Nova updates."
File diff suppressed because it is too large Load Diff
+6235 -6049
View File
File diff suppressed because it is too large Load Diff
+7419 -7233
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+6756 -6569
View File
File diff suppressed because it is too large Load Diff
+8060 -7874
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+6909 -6722
View File
File diff suppressed because it is too large Load Diff
+8461 -8274
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+7364 -7177
View File
File diff suppressed because it is too large Load Diff
+9048 -8861
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+7813 -7626
View File
File diff suppressed because it is too large Load Diff
+9696 -9509
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+7844 -7657
View File
File diff suppressed because it is too large Load Diff
+9704 -9517
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+8078 -7891
View File
File diff suppressed because it is too large Load Diff
+9946 -9759
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+7946 -7759
View File
File diff suppressed because it is too large Load Diff
+9697 -9510
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+8346 -8159
View File
File diff suppressed because it is too large Load Diff
+10527 -10341
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+8432 -8245
View File
File diff suppressed because it is too large Load Diff
+10649 -10463
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+2836 -2649
View File
File diff suppressed because it is too large Load Diff
+3146 -2959
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+9303 -9108
View File
File diff suppressed because it is too large Load Diff
+11732 -11545
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+9918 -9731
View File
File diff suppressed because it is too large Load Diff
+12232 -12045
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -9185,4 +9185,4 @@
"testnet"
]
}
]
]
+11541 -11312
View File
File diff suppressed because it is too large Load Diff
+5 -13
View File
@@ -111,14 +111,14 @@
"chainId": "713daf193a6301583ff467be736da27ef0a72711b248927ba413f573d2b38e44",
"name": "Westend Collectives (TESTNET)"
},
{
"chainId": "1eb6fb0ba5187434de017a70cb84d4f47142df1d571d0ef9e7e1407f2b80b93c",
"name": "Westend People (TESTNET)"
},
{
"chainId": "f938510edee7c23efa6e9db74f227c827a1b518bffe92e2f6c9842dc53d38840",
"name": "Westend Coretime (TESTNET)"
},
{
"chainId": "1eb6fb0ba5187434de017a70cb84d4f47142df1d571d0ef9e7e1407f2b80b93c",
"name": "Westend People (TESTNET)"
},
{
"chainId": "79a4dc4b7d2d34be5fb91e65fd3c964054c3825c6eb281577fd879ee07544519",
"name": "Ajuna Paseo (TESTNET)"
@@ -143,10 +143,6 @@
"chainId": "8b33761e81378321c4ef20ec7f2ef2fd16c89b1b73a91e08445c32d05d338ee8",
"name": "IDN Testnet (TESTNET)"
},
{
"chainId": "1567e670533839953530f55daef83e7dbf245356278c6d21d28cbc85c8db32b9",
"name": "IDN Consumer Testnet (TESTNET)"
},
{
"chainId": "8f1e2abdcec389498fa752eca7f1d92e12447ecd08c517d2fb53adc1739b9f5f",
"name": "Kreivo de Paseo (TESTNET)"
@@ -161,7 +157,7 @@
},
{
"chainId": "f2b8faefcf9c370872d0b4d2eee31d46b4de4a8688153d23d82a39e2d6bc8bbc",
"name": "Neuro Testnet (TESTNET)"
"name": "NeuroWeb Testnet (TESTNET)"
},
{
"chainId": "c87870ef90a438d574b8e320f17db372c50f62beb52e479c8ff6ee5b460670b9",
@@ -171,10 +167,6 @@
"chainId": "466edf864b4314b97f36e45ec21ddb39e0bdc52789377b91be0957d5afad2eb2",
"name": "Energy Web X Paseo (TESTNET)"
},
{
"chainId": "e8b2d197b82a0da1fffca832c050894ebe343b289c61ef439aa694bdcef78aa1",
"name": "Pop Network Testnet (TESTNET)"
},
{
"chainId": "e600ea6d0dfa0987874bc539b4c471b9f7e5a3277e80989e47a6cc69bb944511",
"name": "Xcavate (TESTNET)"
-8
View File
@@ -99,10 +99,6 @@
"chainId": "8b33761e81378321c4ef20ec7f2ef2fd16c89b1b73a91e08445c32d05d338ee8",
"name": "IDN Testnet (TESTNET)"
},
{
"chainId": "1567e670533839953530f55daef83e7dbf245356278c6d21d28cbc85c8db32b9",
"name": "IDN Consumer Testnet (TESTNET)"
},
{
"chainId": "8f1e2abdcec389498fa752eca7f1d92e12447ecd08c517d2fb53adc1739b9f5f",
"name": "Kreivo de Paseo (TESTNET)"
@@ -123,10 +119,6 @@
"chainId": "466edf864b4314b97f36e45ec21ddb39e0bdc52789377b91be0957d5afad2eb2",
"name": "Energy Web X Paseo (TESTNET)"
},
{
"chainId": "e8b2d197b82a0da1fffca832c050894ebe343b289c61ef439aa694bdcef78aa1",
"name": "Pop Network Testnet (TESTNET)"
},
{
"chainId": "e600ea6d0dfa0987874bc539b4c471b9f7e5a3277e80989e47a6cc69bb944511",
"name": "Xcavate (TESTNET)"
@@ -1,19 +0,0 @@
{
"chainId": "1567e670533839953530f55daef83e7dbf245356278c6d21d28cbc85c8db32b9",
"name": "IDN Consumer Testnet (TESTNET)",
"assets": [
{
"assetId": 0,
"symbol": "IDNC",
"precision": 10,
"icon": "Default.svg"
}
],
"nodes": [
{
"url": "wss://idnc0-testnet.idealabs.network",
"name": "IDN Node"
}
],
"addressPrefix": 0
}
@@ -1,19 +0,0 @@
{
"chainId": "e8b2d197b82a0da1fffca832c050894ebe343b289c61ef439aa694bdcef78aa1",
"name": "Pop Network Testnet (TESTNET)",
"assets": [
{
"assetId": 0,
"symbol": "PAS",
"precision": 10,
"icon": "Default.svg"
}
],
"nodes": [
{
"url": "wss://rpc1.paseo.popnetwork.xyz",
"name": "R0GUE-RPC1"
}
],
"addressPrefix": 0
}
@@ -1,6 +1,6 @@
{
"chainId": "f2b8faefcf9c370872d0b4d2eee31d46b4de4a8688153d23d82a39e2d6bc8bbc",
"name": "Neuro Testnet (TESTNET)",
"name": "NeuroWeb Testnet (TESTNET)",
"assets": [
{
"assetId": 0,
@@ -1,19 +0,0 @@
{
"chainId": "1567e670533839953530f55daef83e7dbf245356278c6d21d28cbc85c8db32b9",
"name": "IDN Consumer Testnet (TESTNET)",
"assets": [
{
"assetId": 0,
"symbol": "IDNC",
"precision": 10,
"icon": "Default.svg"
}
],
"nodes": [
{
"url": "wss://idnc0-testnet.idealabs.network",
"name": "IDN Node"
}
],
"addressPrefix": 0
}
@@ -1,19 +0,0 @@
{
"chainId": "e8b2d197b82a0da1fffca832c050894ebe343b289c61ef439aa694bdcef78aa1",
"name": "Pop Network Testnet (TESTNET)",
"assets": [
{
"assetId": 0,
"symbol": "PAS",
"precision": 10,
"icon": "Default.svg"
}
],
"nodes": [
{
"url": "wss://rpc1.paseo.popnetwork.xyz",
"name": "R0GUE-RPC1"
}
],
"addressPrefix": 0
}
File diff suppressed because it is too large Load Diff
+3468 -3281
View File
File diff suppressed because it is too large Load Diff
+3745 -3558
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+4055 -3868
View File
File diff suppressed because it is too large Load Diff
+4577 -4390
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+4949 -4762
View File
File diff suppressed because it is too large Load Diff
+5786 -5599
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+5692 -5505
View File
File diff suppressed because it is too large Load Diff
+6544 -6357
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+5875 -5688
View File
File diff suppressed because it is too large Load Diff
+6760 -6573
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+5965 -5778
View File
File diff suppressed because it is too large Load Diff
+7034 -6847
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+6130 -5943
View File
File diff suppressed because it is too large Load Diff
+7281 -7094
View File
File diff suppressed because it is too large Load Diff
+166
View File
@@ -0,0 +1,166 @@
#!/usr/bin/env python3
"""
Sync chains and XCM configs from nova-base submodule.
Merges Nova's Polkadot ecosystem with Pezkuwi overlay.
"""
import json
import shutil
from pathlib import Path
# Paths
ROOT = Path(__file__).parent.parent
NOVA_BASE = ROOT / "nova-base"
PEZKUWI_OVERLAY = ROOT / "pezkuwi-overlay"
OUTPUT_CHAINS = ROOT / "chains"
OUTPUT_XCM = ROOT / "xcm"
def load_json(path: Path) -> list | dict:
"""Load JSON file."""
with open(path, 'r', encoding='utf-8') as f:
return json.load(f)
def save_json(path: Path, data: list | dict):
"""Save JSON file with pretty formatting."""
path.parent.mkdir(parents=True, exist_ok=True)
with open(path, 'w', encoding='utf-8') as f:
json.dump(data, f, indent=2, ensure_ascii=False)
f.write('\n')
def merge_chains(nova_chains: list, pezkuwi_chains: list) -> list:
"""
Merge chains: Pezkuwi chains first, then Nova chains.
Pezkuwi chains take priority (appear first in list).
"""
# Get Pezkuwi chain IDs to avoid duplicates
pezkuwi_ids = {c['chainId'] for c in pezkuwi_chains}
# Filter out any Nova chains that might conflict
nova_filtered = [c for c in nova_chains if c['chainId'] not in pezkuwi_ids]
# Pezkuwi first, then Nova
return pezkuwi_chains + nova_filtered
def sync_chains():
"""Sync chain configurations."""
print("Syncing chains...")
# Load Pezkuwi overlay chains
pezkuwi_chains_file = PEZKUWI_OVERLAY / "chains" / "pezkuwi-chains.json"
pezkuwi_chains = load_json(pezkuwi_chains_file) if pezkuwi_chains_file.exists() else []
print(f" Loaded {len(pezkuwi_chains)} Pezkuwi chains")
# Sync each version
for version_dir in sorted(NOVA_BASE.glob("chains/v*")):
version = version_dir.name
output_version_dir = OUTPUT_CHAINS / version
# Sync chains.json
nova_chains_file = version_dir / "chains.json"
if nova_chains_file.exists():
nova_chains = load_json(nova_chains_file)
merged = merge_chains(nova_chains, pezkuwi_chains)
save_json(output_version_dir / "chains.json", merged)
print(f" {version}/chains.json: {len(merged)} chains ({len(pezkuwi_chains)} Pezkuwi + {len(nova_chains)} Nova)")
# Sync chains_dev.json
nova_dev_file = version_dir / "chains_dev.json"
if nova_dev_file.exists():
nova_dev = load_json(nova_dev_file)
merged_dev = merge_chains(nova_dev, pezkuwi_chains)
save_json(output_version_dir / "chains_dev.json", merged_dev)
print(f" {version}/chains_dev.json: {len(merged_dev)} chains")
# Copy preConfigured directory if exists
nova_preconfig = version_dir / "preConfigured"
if nova_preconfig.exists():
output_preconfig = output_version_dir / "preConfigured"
if output_preconfig.exists():
shutil.rmtree(output_preconfig)
shutil.copytree(nova_preconfig, output_preconfig)
print(f" {version}/preConfigured: copied")
# Create android subdirectory with same merged chains
android_dir = output_version_dir / "android"
android_dir.mkdir(parents=True, exist_ok=True)
if nova_chains_file.exists():
save_json(android_dir / "chains.json", merged)
print(f" {version}/android/chains.json: created")
def sync_xcm():
"""Sync XCM configurations."""
print("\nSyncing XCM configs...")
# Copy all XCM versions from nova-base
for version_dir in sorted(NOVA_BASE.glob("xcm/v*")):
version = version_dir.name
output_version_dir = OUTPUT_XCM / version
if output_version_dir.exists():
shutil.rmtree(output_version_dir)
shutil.copytree(version_dir, output_version_dir)
print(f" {version}: synced")
# Copy root XCM files
for xcm_file in NOVA_BASE.glob("xcm/*.json"):
shutil.copy(xcm_file, OUTPUT_XCM / xcm_file.name)
print(f" {xcm_file.name}: copied")
def sync_icons():
"""Sync icon files from nova-base, preserving Pezkuwi icons."""
print("\nSyncing icons...")
nova_icons = NOVA_BASE / "icons"
pezkuwi_icons = PEZKUWI_OVERLAY / "icons"
output_icons = ROOT / "icons"
# Copy Nova icons
for icon_dir in nova_icons.iterdir():
if icon_dir.is_dir():
output_dir = output_icons / icon_dir.name
if not output_dir.exists():
shutil.copytree(icon_dir, output_dir)
else:
# Merge - copy Nova files that don't exist
for icon_file in icon_dir.rglob("*"):
if icon_file.is_file():
rel_path = icon_file.relative_to(icon_dir)
target = output_dir / rel_path
if not target.exists():
target.parent.mkdir(parents=True, exist_ok=True)
shutil.copy(icon_file, target)
# Copy Pezkuwi icons (override Nova if exists)
if pezkuwi_icons.exists():
for icon_file in pezkuwi_icons.rglob("*"):
if icon_file.is_file():
rel_path = icon_file.relative_to(pezkuwi_icons)
target = output_icons / rel_path
target.parent.mkdir(parents=True, exist_ok=True)
shutil.copy(icon_file, target)
print(f" Pezkuwi icon: {rel_path}")
def main():
print("=" * 60)
print("Nova-base Sync Script")
print("=" * 60)
print(f"Nova-base: {NOVA_BASE}")
print(f"Pezkuwi overlay: {PEZKUWI_OVERLAY}")
print()
if not NOVA_BASE.exists():
print("ERROR: nova-base submodule not found!")
print("Run: git submodule update --init --recursive")
return 1
sync_chains()
sync_xcm()
sync_icons()
print("\n" + "=" * 60)
print("Sync complete!")
print("=" * 60)
return 0
if __name__ == "__main__":
exit(main())
+116 -191
View File
@@ -38,7 +38,14 @@
},
"DOT-Statemint": {
"chainId": "68d56f15f85d3136970ec16946040bc1752654e906147f7e43e9d539d7c3de2f",
"multiLocation": {}
"multiLocation": {},
"reserveFee": {
"mode": {
"type": "proportional",
"value": "5175135755"
},
"instructions": "xtokensReserve"
}
},
"MOVR": {
"chainId": "401a1f9dca3da46f5c4091016c8a2f26dcea05865116b286f60f668207d1474b",
@@ -418,25 +425,6 @@
},
"instructions": "xtokensReserve"
}
},
"HEZ": {
"chainId": "bb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75",
"multiLocation": {},
"reserveFee": {
"mode": {
"type": "proportional",
"value": "5000000000"
},
"instructions": "xtokensReserve"
}
},
"HEZ-AssetHub": {
"chainId": "00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948",
"multiLocation": {}
},
"HEZ-People": {
"chainId": "58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8",
"multiLocation": {}
}
},
"instructions": {
@@ -562,46 +550,6 @@
"sizeFactor": "100000",
"alwaysHoldingPays": false
}
},
"bb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75": {
"toParachain": {
"type": "exponential",
"factorPallet": "Dmp",
"sizeBase": "300000000",
"sizeFactor": "1000000"
}
},
"00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948": {
"toParent": {
"type": "exponential",
"factorPallet": "ParachainSystem",
"sizeBase": "300000000",
"sizeFactor": "100000",
"alwaysHoldingPays": false
},
"toParachain": {
"type": "exponential",
"factorPallet": "XcmpQueue",
"sizeBase": "300000000",
"sizeFactor": "100000",
"alwaysHoldingPays": false
}
},
"58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8": {
"toParent": {
"type": "exponential",
"factorPallet": "ParachainSystem",
"sizeBase": "300000000",
"sizeFactor": "100000",
"alwaysHoldingPays": false
},
"toParachain": {
"type": "exponential",
"factorPallet": "XcmpQueue",
"sizeBase": "300000000",
"sizeFactor": "100000",
"alwaysHoldingPays": false
}
}
},
"networkBaseWeight": {
@@ -637,10 +585,7 @@
"c1af4cb4eb3918e5db15086c0cc5ec17fb334f728b7c65dd44bfe1e174ff8b3f": "1000000000",
"67fa177a097bfa18f77ea95ab56e9bcdfeb0e5b8a40e46298bb93e16b6fc5008": "1000000000",
"97da7ede98d7bad4e36b4d734b6055425a3be036da2a332ea5a7037656427a21": "1000000000",
"e358eb1d11b31255a286c12e44fe6780b7edb171d657905a97e39f71d9c6c3ee": "1000000",
"bb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75": "1000000000",
"00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948": "1000000000",
"58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8": "1000000000"
"e358eb1d11b31255a286c12e44fe6780b7edb171d657905a97e39f71d9c6c3ee": "1000000"
},
"chains": [
{
@@ -1935,6 +1880,43 @@
{
"chainId": "68d56f15f85d3136970ec16946040bc1752654e906147f7e43e9d539d7c3de2f",
"assets": [
{
"assetId": 0,
"assetLocation": "DOT-Statemint",
"assetLocationPath": {
"type": "relative"
},
"xcmTransfers": [
{
"destination": {
"chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d",
"assetId": 1,
"fee": {
"mode": {
"type": "proportional",
"value": "17356651607"
},
"instructions": "xcmPalletDest"
}
},
"type": "xcmpallet-transferAssets"
},
{
"destination": {
"chainId": "bf88efe70e9e0e916416e8bed61f2b45717f517d7f3523e33c7b001e5ffcbc72",
"assetId": 2,
"fee": {
"mode": {
"type": "proportional",
"value": "18012616398"
},
"instructions": "xcmPalletDest"
}
},
"type": "xcmpallet-transferAssets"
}
]
},
{
"assetId": 1,
"assetLocation": "USDT-Statemint",
@@ -2296,6 +2278,29 @@
{
"chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d",
"assets": [
{
"assetId": 1,
"assetLocation": "DOT-Statemint",
"assetLocationPath": {
"type": "absolute"
},
"xcmTransfers": [
{
"destination": {
"chainId": "68d56f15f85d3136970ec16946040bc1752654e906147f7e43e9d539d7c3de2f",
"assetId": 0,
"fee": {
"mode": {
"type": "proportional",
"value": "5175135755"
},
"instructions": "xcmPalletDest"
}
},
"type": "xcmpallet-transferAssets"
}
]
},
{
"assetId": 10,
"assetLocation": "USDT-Statemint",
@@ -2638,6 +2643,29 @@
}
]
},
{
"assetId": 3,
"assetLocation": "DOT-Statemint",
"assetLocationPath": {
"type": "absolute"
},
"xcmTransfers": [
{
"destination": {
"chainId": "68d56f15f85d3136970ec16946040bc1752654e906147f7e43e9d539d7c3de2f",
"assetId": 0,
"fee": {
"mode": {
"type": "proportional",
"value": "5175135755"
},
"instructions": "xtokensDest"
}
},
"type": "xcmpallet-transferAssets"
}
]
},
{
"assetId": 5,
"assetLocation": "GLMR",
@@ -3390,6 +3418,29 @@
}
]
},
{
"assetId": 2,
"assetLocation": "DOT-Statemint",
"assetLocationPath": {
"type": "absolute"
},
"xcmTransfers": [
{
"destination": {
"chainId": "68d56f15f85d3136970ec16946040bc1752654e906147f7e43e9d539d7c3de2f",
"assetId": 0,
"fee": {
"mode": {
"type": "proportional",
"value": "5175135755"
},
"instructions": "xtokensDest"
}
},
"type": "xtokens"
}
]
},
{
"assetId": 7,
"assetLocation": "USDT-Statemint",
@@ -3745,132 +3796,6 @@
]
}
]
},
{
"chainId": "bb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75",
"assets": [
{
"assetId": 0,
"assetLocation": "HEZ",
"assetLocationPath": {
"type": "relative"
},
"xcmTransfers": [
{
"destination": {
"chainId": "00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948",
"assetId": 0,
"fee": {
"mode": {
"type": "proportional",
"value": "5000000000"
},
"instructions": "xcmPalletTeleportDest"
}
},
"type": "xcmpallet-teleport"
},
{
"destination": {
"chainId": "58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8",
"assetId": 0,
"fee": {
"mode": {
"type": "proportional",
"value": "5000000000"
},
"instructions": "xcmPalletTeleportDest"
}
},
"type": "xcmpallet-teleport"
}
]
}
]
},
{
"chainId": "00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948",
"assets": [
{
"assetId": 0,
"assetLocation": "HEZ-AssetHub",
"assetLocationPath": {
"type": "relative"
},
"xcmTransfers": [
{
"destination": {
"chainId": "bb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75",
"assetId": 0,
"fee": {
"mode": {
"type": "proportional",
"value": "5000000000"
},
"instructions": "xcmPalletTeleportDest"
}
},
"type": "xcmpallet-teleport"
},
{
"destination": {
"chainId": "58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8",
"assetId": 0,
"fee": {
"mode": {
"type": "proportional",
"value": "5000000000"
},
"instructions": "xcmPalletTeleportDest"
}
},
"type": "xcmpallet-teleport"
}
]
}
]
},
{
"chainId": "58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8",
"assets": [
{
"assetId": 0,
"assetLocation": "HEZ-People",
"assetLocationPath": {
"type": "relative"
},
"xcmTransfers": [
{
"destination": {
"chainId": "bb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75",
"assetId": 0,
"fee": {
"mode": {
"type": "proportional",
"value": "5000000000"
},
"instructions": "xcmPalletTeleportDest"
}
},
"type": "xcmpallet-teleport"
},
{
"destination": {
"chainId": "00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948",
"assetId": 0,
"fee": {
"mode": {
"type": "proportional",
"value": "5000000000"
},
"instructions": "xcmPalletTeleportDest"
}
},
"type": "xcmpallet-teleport"
}
]
}
]
}
]
}
}
+96 -198
View File
@@ -38,7 +38,14 @@
},
"DOT-Statemint": {
"chainId": "68d56f15f85d3136970ec16946040bc1752654e906147f7e43e9d539d7c3de2f",
"multiLocation": {}
"multiLocation": {},
"reserveFee": {
"mode": {
"type": "proportional",
"value": "5175135755"
},
"instructions": "xtokensReserve"
}
},
"MOVR": {
"chainId": "401a1f9dca3da46f5c4091016c8a2f26dcea05865116b286f60f668207d1474b",
@@ -452,25 +459,6 @@
},
"instructions": "xtokensReserve"
}
},
"HEZ": {
"chainId": "bb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75",
"multiLocation": {},
"reserveFee": {
"mode": {
"type": "proportional",
"value": "5000000000"
},
"instructions": "xtokensReserve"
}
},
"HEZ-AssetHub": {
"chainId": "00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948",
"multiLocation": {}
},
"HEZ-People": {
"chainId": "58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8",
"multiLocation": {}
}
},
"instructions": {
@@ -637,46 +625,6 @@
"sizeFactor": "100000",
"alwaysHoldingPays": false
}
},
"bb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75": {
"toParachain": {
"type": "exponential",
"factorPallet": "Dmp",
"sizeBase": "300000000",
"sizeFactor": "1000000"
}
},
"00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948": {
"toParent": {
"type": "exponential",
"factorPallet": "ParachainSystem",
"sizeBase": "300000000",
"sizeFactor": "100000",
"alwaysHoldingPays": false
},
"toParachain": {
"type": "exponential",
"factorPallet": "XcmpQueue",
"sizeBase": "300000000",
"sizeFactor": "100000",
"alwaysHoldingPays": false
}
},
"58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8": {
"toParent": {
"type": "exponential",
"factorPallet": "ParachainSystem",
"sizeBase": "300000000",
"sizeFactor": "100000",
"alwaysHoldingPays": false
},
"toParachain": {
"type": "exponential",
"factorPallet": "XcmpQueue",
"sizeBase": "300000000",
"sizeFactor": "100000",
"alwaysHoldingPays": false
}
}
},
"networkBaseWeight": {
@@ -717,10 +665,7 @@
"c1af4cb4eb3918e5db15086c0cc5ec17fb334f728b7c65dd44bfe1e174ff8b3f": "1000000000",
"67fa177a097bfa18f77ea95ab56e9bcdfeb0e5b8a40e46298bb93e16b6fc5008": "1000000000",
"97da7ede98d7bad4e36b4d734b6055425a3be036da2a332ea5a7037656427a21": "1000000000",
"e358eb1d11b31255a286c12e44fe6780b7edb171d657905a97e39f71d9c6c3ee": "1000000",
"bb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75": "1000000000",
"00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948": "1000000000",
"58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8": "1000000000"
"e358eb1d11b31255a286c12e44fe6780b7edb171d657905a97e39f71d9c6c3ee": "1000000"
},
"chains": [
{
@@ -1567,11 +1512,25 @@
},
{
"assetId": 1,
"assetLocation": "DOT",
"assetLocation": "DOT-Statemint",
"assetLocationPath": {
"type": "absolute"
},
"xcmTransfers": [
{
"destination": {
"chainId": "68d56f15f85d3136970ec16946040bc1752654e906147f7e43e9d539d7c3de2f",
"assetId": 0,
"fee": {
"mode": {
"type": "proportional",
"value": "5175135755"
},
"instructions": "xcmPalletDest"
}
},
"type": "xcmpallet-transferAssets"
},
{
"destination": {
"chainId": "bf88efe70e9e0e916416e8bed61f2b45717f517d7f3523e33c7b001e5ffcbc72",
@@ -2081,11 +2040,25 @@
},
{
"assetId": 3,
"assetLocation": "DOT",
"assetLocation": "DOT-Statemint",
"assetLocationPath": {
"type": "absolute"
},
"xcmTransfers": [
{
"destination": {
"chainId": "68d56f15f85d3136970ec16946040bc1752654e906147f7e43e9d539d7c3de2f",
"assetId": 0,
"fee": {
"mode": {
"type": "proportional",
"value": "5175135755"
},
"instructions": "xtokensDest"
}
},
"type": "xcmpallet-transferAssets"
},
{
"destination": {
"chainId": "bf88efe70e9e0e916416e8bed61f2b45717f517d7f3523e33c7b001e5ffcbc72",
@@ -2716,6 +2689,43 @@
{
"chainId": "68d56f15f85d3136970ec16946040bc1752654e906147f7e43e9d539d7c3de2f",
"assets": [
{
"assetId": 0,
"assetLocation": "DOT-Statemint",
"assetLocationPath": {
"type": "relative"
},
"xcmTransfers": [
{
"destination": {
"chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d",
"assetId": 1,
"fee": {
"mode": {
"type": "proportional",
"value": "17356651607"
},
"instructions": "xcmPalletDest"
}
},
"type": "xcmpallet-transferAssets"
},
{
"destination": {
"chainId": "bf88efe70e9e0e916416e8bed61f2b45717f517d7f3523e33c7b001e5ffcbc72",
"assetId": 2,
"fee": {
"mode": {
"type": "proportional",
"value": "18012616398"
},
"instructions": "xcmPalletDest"
}
},
"type": "xcmpallet-transferAssets"
}
]
},
{
"assetId": 1,
"assetLocation": "USDT-Statemint",
@@ -2964,7 +2974,7 @@
},
{
"assetId": 2,
"assetLocation": "DOT",
"assetLocation": "DOT-Statemint",
"assetLocationPath": {
"type": "absolute"
},
@@ -2983,6 +2993,20 @@
},
"type": "xtokens"
},
{
"destination": {
"chainId": "68d56f15f85d3136970ec16946040bc1752654e906147f7e43e9d539d7c3de2f",
"assetId": 0,
"fee": {
"mode": {
"type": "proportional",
"value": "5175135755"
},
"instructions": "xtokensDest"
}
},
"type": "xtokens"
},
{
"destination": {
"chainId": "fe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d",
@@ -3192,7 +3216,7 @@
"assets": [
{
"assetId": 2,
"assetLocation": "DOT",
"assetLocation": "DOT-Statemint",
"assetLocationPath": {
"type": "absolute"
},
@@ -3294,7 +3318,7 @@
"assets": [
{
"assetId": 1,
"assetLocation": "DOT",
"assetLocation": "DOT-Statemint",
"assetLocationPath": {
"type": "absolute"
},
@@ -3757,7 +3781,7 @@
"assets": [
{
"assetId": 1,
"assetLocation": "DOT",
"assetLocation": "DOT-Statemint",
"assetLocationPath": {
"type": "absolute"
},
@@ -3952,7 +3976,7 @@
},
{
"assetId": 1,
"assetLocation": "DOT",
"assetLocation": "DOT-Statemint",
"assetLocationPath": {
"type": "absolute"
},
@@ -4950,132 +4974,6 @@
]
}
]
},
{
"chainId": "bb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75",
"assets": [
{
"assetId": 0,
"assetLocation": "HEZ",
"assetLocationPath": {
"type": "relative"
},
"xcmTransfers": [
{
"destination": {
"chainId": "00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948",
"assetId": 0,
"fee": {
"mode": {
"type": "proportional",
"value": "5000000000"
},
"instructions": "xcmPalletTeleportDest"
}
},
"type": "xcmpallet-teleport"
},
{
"destination": {
"chainId": "58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8",
"assetId": 0,
"fee": {
"mode": {
"type": "proportional",
"value": "5000000000"
},
"instructions": "xcmPalletTeleportDest"
}
},
"type": "xcmpallet-teleport"
}
]
}
]
},
{
"chainId": "00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948",
"assets": [
{
"assetId": 0,
"assetLocation": "HEZ-AssetHub",
"assetLocationPath": {
"type": "relative"
},
"xcmTransfers": [
{
"destination": {
"chainId": "bb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75",
"assetId": 0,
"fee": {
"mode": {
"type": "proportional",
"value": "5000000000"
},
"instructions": "xcmPalletTeleportDest"
}
},
"type": "xcmpallet-teleport"
},
{
"destination": {
"chainId": "58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8",
"assetId": 0,
"fee": {
"mode": {
"type": "proportional",
"value": "5000000000"
},
"instructions": "xcmPalletTeleportDest"
}
},
"type": "xcmpallet-teleport"
}
]
}
]
},
{
"chainId": "58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8",
"assets": [
{
"assetId": 0,
"assetLocation": "HEZ-People",
"assetLocationPath": {
"type": "relative"
},
"xcmTransfers": [
{
"destination": {
"chainId": "bb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75",
"assetId": 0,
"fee": {
"mode": {
"type": "proportional",
"value": "5000000000"
},
"instructions": "xcmPalletTeleportDest"
}
},
"type": "xcmpallet-teleport"
},
{
"destination": {
"chainId": "00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948",
"assetId": 0,
"fee": {
"mode": {
"type": "proportional",
"value": "5000000000"
},
"instructions": "xcmPalletTeleportDest"
}
},
"type": "xcmpallet-teleport"
}
]
}
]
}
]
}
}
+1 -97
View File
@@ -201,18 +201,6 @@
"parachainId": 2051,
"generalKey": "0x414a554e"
}
},
"HEZ": {
"chainId": "bb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75",
"multiLocation": {}
},
"HEZ-AssetHub": {
"chainId": "00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948",
"multiLocation": {}
},
"HEZ-People": {
"chainId": "58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8",
"multiLocation": {}
}
},
"reserveIdOverrides": {
@@ -1220,90 +1208,6 @@
]
}
]
},
{
"chainId": "bb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75",
"assets": [
{
"assetId": 0,
"assetLocation": "HEZ",
"assetLocationPath": {
"type": "relative"
},
"xcmTransfers": [
{
"destination": {
"chainId": "00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948",
"assetId": 0
},
"type": "xcmpallet-teleport"
},
{
"destination": {
"chainId": "58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8",
"assetId": 0
},
"type": "xcmpallet-teleport"
}
]
}
]
},
{
"chainId": "00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948",
"assets": [
{
"assetId": 0,
"assetLocation": "HEZ-AssetHub",
"assetLocationPath": {
"type": "relative"
},
"xcmTransfers": [
{
"destination": {
"chainId": "bb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75",
"assetId": 0
},
"type": "xcmpallet-teleport"
},
{
"destination": {
"chainId": "58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8",
"assetId": 0
},
"type": "xcmpallet-teleport"
}
]
}
]
},
{
"chainId": "58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8",
"assets": [
{
"assetId": 0,
"assetLocation": "HEZ-People",
"assetLocationPath": {
"type": "relative"
},
"xcmTransfers": [
{
"destination": {
"chainId": "bb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75",
"assetId": 0
},
"type": "xcmpallet-teleport"
},
{
"destination": {
"chainId": "00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948",
"assetId": 0
},
"type": "xcmpallet-teleport"
}
]
}
]
}
]
}
}
+1 -97
View File
@@ -228,18 +228,6 @@
"parachainId": 2051,
"generalKey": "0x414a554e"
}
},
"HEZ": {
"chainId": "bb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75",
"multiLocation": {}
},
"HEZ-AssetHub": {
"chainId": "00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948",
"multiLocation": {}
},
"HEZ-People": {
"chainId": "58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8",
"multiLocation": {}
}
},
"reserveIdOverrides": {
@@ -1390,90 +1378,6 @@
]
}
]
},
{
"chainId": "bb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75",
"assets": [
{
"assetId": 0,
"assetLocation": "HEZ",
"assetLocationPath": {
"type": "relative"
},
"xcmTransfers": [
{
"destination": {
"chainId": "00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948",
"assetId": 0
},
"type": "xcmpallet-teleport"
},
{
"destination": {
"chainId": "58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8",
"assetId": 0
},
"type": "xcmpallet-teleport"
}
]
}
]
},
{
"chainId": "00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948",
"assets": [
{
"assetId": 0,
"assetLocation": "HEZ-AssetHub",
"assetLocationPath": {
"type": "relative"
},
"xcmTransfers": [
{
"destination": {
"chainId": "bb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75",
"assetId": 0
},
"type": "xcmpallet-teleport"
},
{
"destination": {
"chainId": "58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8",
"assetId": 0
},
"type": "xcmpallet-teleport"
}
]
}
]
},
{
"chainId": "58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8",
"assets": [
{
"assetId": 0,
"assetLocation": "HEZ-People",
"assetLocationPath": {
"type": "relative"
},
"xcmTransfers": [
{
"destination": {
"chainId": "bb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75",
"assetId": 0
},
"type": "xcmpallet-teleport"
},
{
"destination": {
"chainId": "00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948",
"assetId": 0
},
"type": "xcmpallet-teleport"
}
]
}
]
}
]
}
}