Pyth dependencies on Sui

Hey,

I’m experimenting with the Pyth dependencies inside the Move.toml file. I see that some functions like new_price_info_object_for_test are exposed only in the main branch, which is crucial for writing unit tests.

On the other hand, I would expect the sui-contract-mainnet branch to be the stable one, but it doesn’t expose those helper test functions.

Would it be incorrect to define the Pyth dependency using main? What’s the difference from sui-contract-mainnet apart from the above?

Hey, in general, the main branch is mostly for development on our end whereas the sui-contract-[main/test]net branch is what is actually should be used by consumers. We do some manual hardcoding like setting which Move.toml config to use and so on.