You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//This defines with types of traces are considered essentially the same asset
18
44
constoriginTraceTypes=[
19
45
"ibc",
@@ -180,7 +206,7 @@ export function getAssetTrace(asset_data) {
180
206
181
207
182
208
//--Find IBC Connection--
183
-
constchannels=chain_reg.getIBCFileProperty(
209
+
constchannels=getIBCFilePropertyForZone(
184
210
asset_data.source_asset.chain_name,
185
211
asset_data.chainName,
186
212
"channels"
@@ -329,11 +355,33 @@ export async function setLocalAsset(asset_data) {
329
355
return;
330
356
}
331
357
332
-
// Only add trace if it was successfully retrieved
358
+
// Add trace if it was successfully retrieved, or create minimal trace from fallback
333
359
if(trace?.chain?.path){
334
360
traces.push(trace);
335
361
}else{
336
362
console.log(`Warning: Using path from zone_asset for ${asset_data.zone_asset.chain_name}:${asset_data.zone_asset.base_denom} (IBC connection not found in registry)`);
363
+
364
+
// Create minimal trace from zone_asset to prevent downstream errors
0 commit comments