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 TON support for Swap (and Exchange in general) #7952

Merged
merged 8 commits into from
Oct 17, 2024

Conversation

sprohaszka-ledger
Copy link
Contributor

@sprohaszka-ledger sprohaszka-ledger commented Sep 30, 2024

✅ Checklist

  • npx changeset was attached.
  • Covered by automatic tests.
  • Impact of the changes:
    • ...

📝 Description

Update Wallet-API core version to support TON serialization.
Update partner's info test format to be consistent with CAL format.
Add more integration test in AppExchange with dedicated TON payload.
Fix infinite loader issue when DISABLE_BROADCAST and use old swap UI.

❓ Context


🧐 Checklist for the PR Reviewers

  • The code aligns with the requirements described in the linked JIRA or GitHub issue.
  • The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
  • There are no undocumented trade-offs, technical debt, or maintainability issues.
  • The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
  • Any new dependencies have been justified and documented.
  • Performance considerations have been taken into account. (changes have been profiled or benchmarked if necessary)

Copy link

vercel bot commented Sep 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

5 Skipped Deployments
Name Status Preview Comments Updated (UTC)
ledger-live-docs ⬜️ Ignored (Inspect) Visit Preview Oct 17, 2024 0:12am
ledger-live-github-bot ⬜️ Ignored (Inspect) Visit Preview Oct 17, 2024 0:12am
native-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Oct 17, 2024 0:12am
react-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Oct 17, 2024 0:12am
web-tools ⬜️ Ignored (Inspect) Visit Preview Oct 17, 2024 0:12am

turbo.json Show resolved Hide resolved
Signed-off-by: Stéphane Prohaszka <stephane.prohaszka@ledger.fr>
Signed-off-by: Stéphane Prohaszka <stephane.prohaszka@ledger.fr>
Signed-off-by: Stéphane Prohaszka <stephane.prohaszka@ledger.fr>
Signed-off-by: Stéphane Prohaszka <stephane.prohaszka@ledger.fr>
@@ -48,26 +48,29 @@ export const getProviderConfig = async (
}
};

let testProvider: ExchangeProviderNameAndSignature | undefined;
export let testProvider: ExchangeProviderNameAndSignature | undefined;
Copy link
Contributor

Choose a reason for hiding this comment

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

Instead of exporting it, might be better to create a getter for it?

Signed-off-by: Stéphane Prohaszka <stephane.prohaszka@ledger.fr>
Signed-off-by: Stéphane Prohaszka <stephane.prohaszka@ledger.fr>
Copy link
Contributor

@Justkant Justkant left a comment

Choose a reason for hiding this comment

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

Just the question for the commented constants
We need to redo the pnpm i with a fresh lock file from develop
And add a changeset and we're good

Signed-off-by: Stéphane Prohaszka <stephane.prohaszka@ledger.fr>
Signed-off-by: Stéphane Prohaszka <stephane.prohaszka@ledger.fr>
@sprohaszka-ledger sprohaszka-ledger merged commit d6c9096 into develop Oct 17, 2024
57 checks passed
@sprohaszka-ledger sprohaszka-ledger deleted the feat/LIVE-13901-swap-ton branch October 17, 2024 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common Has changes in live-common desktop Has changes in LLD ledgerjs Has changes in the ledgerjs open source libs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants