mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-utils.git
synced 2026-04-22 03:17:59 +00:00
fix: proper Nova + Pezkuwi merge architecture
Architecture: - pezkuwi-overlay/xcm/ : Standalone Pezkuwi XCM config (3 chains) - nova-base/ : Git submodule with Nova's Polkadot ecosystem - sync_from_nova.py : Merges both ecosystems, nothing gets deleted Merge rules: - Chains: Pezkuwi first, then Nova - XCM: Pezkuwi assetsLocation + chains merged with Nova (Pezkuwi priority) - Icons: Pezkuwi overrides Nova This fixes the broken XCM sync that was overwriting Pezkuwi configs.
This commit is contained in:
@@ -0,0 +1,102 @@
|
||||
{
|
||||
"assetsLocation": {
|
||||
"HEZ": {
|
||||
"chainId": "bb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75",
|
||||
"multiLocation": {}
|
||||
},
|
||||
"HEZ-AssetHub": {
|
||||
"chainId": "00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948",
|
||||
"multiLocation": {}
|
||||
},
|
||||
"HEZ-People": {
|
||||
"chainId": "58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8",
|
||||
"multiLocation": {}
|
||||
}
|
||||
},
|
||||
"chains": [
|
||||
{
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,151 @@
|
||||
{
|
||||
"assetsLocation": {
|
||||
"HEZ": {
|
||||
"chainId": "bb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75",
|
||||
"multiLocation": {},
|
||||
"reserveFee": {
|
||||
"mode": {
|
||||
"type": "proportional",
|
||||
"value": "5000000000"
|
||||
},
|
||||
"instructions": "xtokensReserve"
|
||||
}
|
||||
},
|
||||
"HEZ-AssetHub": {
|
||||
"chainId": "00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948",
|
||||
"multiLocation": {}
|
||||
},
|
||||
"HEZ-People": {
|
||||
"chainId": "58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8",
|
||||
"multiLocation": {}
|
||||
}
|
||||
},
|
||||
"chains": [
|
||||
{
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user