Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BSC support for Thorchain swaps #307

Merged
merged 3 commits into from
Dec 2, 2023
Merged

Add BSC support for Thorchain swaps #307

merged 3 commits into from
Dec 2, 2023

Conversation

paullinator
Copy link
Member

@paullinator paullinator commented Nov 30, 2023

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Description

none

fromMainnetCode is not necessarily a currencyCode. In the case of Thorchain, BSC is the mainnet code even though BNB is the currency code.
@@ -1136,10 +1136,10 @@ const getQuote = async (

export const getGasLimit = (
chain: ChainTypes,
asset: string
tokenId: string | undefined
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use ? to make tokenId optional?

@paullinator paullinator merged commit 30dcfb1 into master Dec 2, 2023
1 check passed
@paullinator paullinator deleted the paul/thorBsc branch December 2, 2023 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants