Open therealsuji opened 1 month ago
Yes, this was the case previously because Sepolia was previously emitted in the list of finalities of chains at https://github.com/wormhole-foundation/wormhole-sdk-ts/blob/main/core/base/src/constants/finality.ts
But @evgeniko recently added it in PR #688, so problem should be solved now.
When running a manual transfer using the wormhole connect sdk for CCTP, Use this example https://github.com/wormhole-foundation/wormhole-sdk-ts/blob/develop/examples/src/cctp.ts. The transaction fails to initialise, for the following chains
Source -> Testnet Sepolia Destination -> Testnet Solana
this error is thrown
I found the offending line and it seems the check does a falsy check, but the circle chain id for testnet sepolia is 0, causing it to throw an error
https://github.com/wormhole-foundation/wormhole-sdk-ts/blob/b61b10191043430dfe1111baa6ad13a71a69bc29/platforms/evm/protocols/cctp/src/circleBridge.ts#L63