diff --git a/projects/helper/tokenMapping.js b/projects/helper/tokenMapping.js index 2403c7424fa6..afec0b42a860 100644 --- a/projects/helper/tokenMapping.js +++ b/projects/helper/tokenMapping.js @@ -79,6 +79,9 @@ const fixBalancesTokens = { elys: { 'uelys': { coingeckoId: 'elys-network', decimals: 6 }, }, + wc: { + [ADDRESSES.null]: { coingeckoId: 'ethereum', decimals: 18 }, + }, } ibcChains.forEach(chain => fixBalancesTokens[chain] = { ...ibcMappings, ...(fixBalancesTokens[chain] || {}) }) diff --git a/utils/handleError.js b/utils/handleError.js index 049f9b2cd972..e360dc9dc792 100644 --- a/utils/handleError.js +++ b/utils/handleError.js @@ -22,7 +22,7 @@ function getStackMessage(stack) { if (!stack) return [] if (/ at (checkExportKeys)/.test(stack)) return [] - const isNodeMolule = m => /node_modules/.test(m) + const isNodeMolule = m => /node_modules/.test(m) && !/defillama/.test(m) const isNotLoggerMessage = m => !/log/.test(m) const isNotInternalMessage = m => !/node:internal/.test(m)