Closed fadeev closed 11 months ago
I think the "Not registered" cases is when the contract tries to swap enough for gas, but fails, because either not enough input was provided or there is not enough liquidity (like with BTC).
Mumbai seems to be working fine now:
npx hardhat cctx 0x020920d12e21cd0c0dc35a20001b22fd724bdda67312f52bbb4bbcee8c7c5483
✓ CCTXs on ZetaChain found.
✓ 0xf6700a3161c46c6eab2c68e13869c12d6ce8fdc3b11e6d5f58cd9ff9af071b6a: 80001 → 7001: OutboundMined (Remote omnichain contract
call completed)
⠙ 0x6cbee19fc74a7abb5cd707668247d9952acc41c2a759933f26bbc8f7a2bc5462: 7001 → 5: PendingOutbound
We’ve recently updated the swap contract, and I’m now testing all the combinations of swaps I can and the behavior I’m observing is odd. There is at least one example of each type of swap that’s working fine:
So it can’t be that the contract is wrong (it works). But a bunch are not registering. I’m guessing it could be imbalanced pools or maybe the recent Mumbai outbound issue, but still.
Goerli ETH -> BSC BNB
Success.
Goerli ETH -> BTC
No outbound.
Goerli ETH -> Mumbai MATIC
Success.
Goerli ETH -> Mumbai USDC
Success.
Goerli USDC -> Mumbai MATIC
Success.
Goerli USDC -> Mumbai USDC
Success.
BSC BNB -> BTC
No outbound.
BSC BNB -> Goerli ETH
Success.
BSC BNB -> Goerli USDC
Success.
BSC BNB -> Mumbai MATIC
Success.
Mumbai MATIC -> BSC BNB
Not registered.
Mumbai MATIC -> Goerli ETH
Not registered.
BTC -> Goerli ETH