mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-06-14 13:41:02 +00:00
feat: add XCM teleport and CI/CD deployment workflow
Features: - Add XCMTeleportModal for cross-chain HEZ transfers - Support Asset Hub and People Chain teleports - Add "Fund Fees" button with user-friendly tooltips - Use correct XCM V3 format with teyrchain junction Fixes: - Fix PEZ transfer to use Asset Hub API - Silence unnecessary pallet availability warnings - Fix transaction loading performance (10 blocks limit) - Remove Supabase admin_roles dependency CI/CD: - Add auto-deploy to VPS on main branch push - Add version bumping on deploy - Upload build artifacts for deployment
This commit is contained in:
@@ -126,7 +126,7 @@ export async function getKycStatus(
|
||||
}
|
||||
|
||||
if (!api?.query?.identityKyc) {
|
||||
console.warn('Identity KYC pallet not available');
|
||||
if (import.meta.env.DEV) console.log('Identity KYC pallet not available on this chain');
|
||||
return 'NotStarted';
|
||||
}
|
||||
|
||||
@@ -195,7 +195,7 @@ export async function getUserTikis(
|
||||
): Promise<TikiInfo[]> {
|
||||
try {
|
||||
if (!api?.query?.tiki?.userTikis) {
|
||||
console.warn('Tiki pallet not available');
|
||||
if (import.meta.env.DEV) console.log('Tiki pallet not available on this chain');
|
||||
return [];
|
||||
}
|
||||
|
||||
@@ -282,7 +282,7 @@ export async function isStakingScoreTracking(
|
||||
): Promise<boolean> {
|
||||
try {
|
||||
if (!api?.query?.stakingScore?.stakingStartBlock) {
|
||||
console.warn('Staking score pallet not available');
|
||||
if (import.meta.env.DEV) console.log('Staking score pallet not available on this chain');
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user