axelarnetwork / support

Your source for support with the Axelar Network
3 stars 1 forks source link

callContractWithToken Fail between Fuji and Goerli #52

Closed Olanetsoft closed 10 months ago

Olanetsoft commented 10 months ago

Hi, i'm trying to perform a callContractWithToken but it's failing when i'm calling the function, in fact it appear that the gateway doesn't answer with the token address even if i'm using the symbol specified in the documentation ("wavax-wei")

https://dashboard.tenderly.co/tx/avalanche-fuji/0x92bb2c3be4b7780237bd0fade785b10add8760932739f285b154800bff1a5383/debugger?trace=0.5.0.0.0

Does anyone know a workaround ? i might try on local chain but i can't manage to get it working with remix

Olanetsoft commented 10 months ago

Hey, try passing in WAVAX instead of "wavax-wei" that should work. Note: The callContractWithToken function requires the symbol of the token, not the denom. Also, WAVAX is the symbol for avalanche. If you're trying to access Wavax from other chains, such as Linea or Base, you'll need to pass in axlWAVAX instead of WAVAX.