mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-22 09:07:55 +00:00
a50a5dbffb
DepositModal was building transactions via relay chain API, and all three edge functions (verify-deposit, process-withdraw, process-withdrawal) had RPC endpoints hardcoded or defaulting to the relay chain. This caused deposit verification to fail with "Transaction not yet finalized" and created a chain mismatch with the withdrawal system which operates on Asset Hub. - DepositModal: use assetHubApi instead of api for transfer TX - verify-deposit: RPC_HTTP/RPC_WS default to asset-hub-rpc (env override) - process-withdraw: RPC_ENDPOINT default to asset-hub-rpc (env override) - process-withdrawal: RPC_ENDPOINT default to asset-hub-rpc