mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-04-21 22:38:01 +00:00
update Pezkuwi genesis hashes for mainnet relaunch
Update all hardcoded chain IDs across XCM, runtime, and wallet modules to match the new mainnet genesis hashes.
This commit is contained in:
+3
-3
@@ -12,9 +12,9 @@ import io.novafoundation.nova.runtime.repository.ParachainInfoRepository
|
||||
|
||||
// Pezkuwi chain IDs - these chains use "Teyrchain" instead of "Parachain" in XCM
|
||||
private val PEZKUWI_CHAIN_IDS = setOf(
|
||||
"bb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75", // PEZKUWI
|
||||
"00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948", // PEZKUWI_ASSET_HUB
|
||||
"58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8" // PEZKUWI_PEOPLE
|
||||
"1aa94987791a5544e9667ec249d2cef1b8fdd6083c85b93fc37892d54a1156ca", // PEZKUWI
|
||||
"e7c15092dcbe3f320260ddbbc685bfceed9125a3b3d8436db2766201dec3b949", // PEZKUWI_ASSET_HUB
|
||||
"69a8d025ab7b63363935d7d9397e0f652826c94271c1bc55c4fdfe72cccf1cfa" // PEZKUWI_PEOPLE
|
||||
)
|
||||
|
||||
private fun junctionTypeNameForChain(chainId: ChainId): String {
|
||||
|
||||
+3
-3
@@ -22,9 +22,9 @@ import io.novafoundation.nova.feature_wallet_api.domain.model.xcm.dynamic.reserv
|
||||
|
||||
// Pezkuwi chain IDs - these chains use "Teyrchain" instead of "Parachain" in XCM
|
||||
private val PEZKUWI_CHAIN_IDS = setOf(
|
||||
"bb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75", // PEZKUWI
|
||||
"00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948", // PEZKUWI_ASSET_HUB
|
||||
"58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8" // PEZKUWI_PEOPLE
|
||||
"1aa94987791a5544e9667ec249d2cef1b8fdd6083c85b93fc37892d54a1156ca", // PEZKUWI
|
||||
"e7c15092dcbe3f320260ddbbc685bfceed9125a3b3d8436db2766201dec3b949", // PEZKUWI_ASSET_HUB
|
||||
"69a8d025ab7b63363935d7d9397e0f652826c94271c1bc55c4fdfe72cccf1cfa" // PEZKUWI_PEOPLE
|
||||
)
|
||||
|
||||
private fun junctionTypeNameForChain(chainId: ChainId): String {
|
||||
|
||||
+3
-3
@@ -10,9 +10,9 @@ import java.math.BigInteger
|
||||
|
||||
// Pezkuwi chain IDs - these chains use "Teyrchain" instead of "Parachain" in XCM
|
||||
private val PEZKUWI_CHAIN_IDS = setOf(
|
||||
"bb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75", // PEZKUWI
|
||||
"00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948", // PEZKUWI_ASSET_HUB
|
||||
"58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8" // PEZKUWI_PEOPLE
|
||||
"1aa94987791a5544e9667ec249d2cef1b8fdd6083c85b93fc37892d54a1156ca", // PEZKUWI
|
||||
"e7c15092dcbe3f320260ddbbc685bfceed9125a3b3d8436db2766201dec3b949", // PEZKUWI_ASSET_HUB
|
||||
"69a8d025ab7b63363935d7d9397e0f652826c94271c1bc55c4fdfe72cccf1cfa" // PEZKUWI_PEOPLE
|
||||
)
|
||||
|
||||
class XcmChain(
|
||||
|
||||
@@ -410,9 +410,9 @@ private inline fun Chain.Explorer.format(
|
||||
object ChainGeneses {
|
||||
|
||||
// Pezkuwi chains (priority)
|
||||
const val PEZKUWI = "bb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75"
|
||||
const val PEZKUWI_ASSET_HUB = "00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948"
|
||||
const val PEZKUWI_PEOPLE = "58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8"
|
||||
const val PEZKUWI = "1aa94987791a5544e9667ec249d2cef1b8fdd6083c85b93fc37892d54a1156ca"
|
||||
const val PEZKUWI_ASSET_HUB = "e7c15092dcbe3f320260ddbbc685bfceed9125a3b3d8436db2766201dec3b949"
|
||||
const val PEZKUWI_PEOPLE = "69a8d025ab7b63363935d7d9397e0f652826c94271c1bc55c4fdfe72cccf1cfa"
|
||||
|
||||
const val KUSAMA = "b0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe"
|
||||
const val POLKADOT = "91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3"
|
||||
|
||||
Reference in New Issue
Block a user