-
Notifications
You must be signed in to change notification settings - Fork 362
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
Swap max #8943
base: develop
Are you sure you want to change the base?
Swap max #8943
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ 4 Skipped Deployments
|
const swapWithSendMax = [ | ||
{ | ||
swap: new Swap(Account.ETH_1, Account.BTC_NATIVE_SEGWIT_1, "sendMax", Fee.MEDIUM), | ||
xrayTicket: "B2CQA-2110, QAA-292", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need QAA-292 here only the B2CQA :)
}, | ||
{ | ||
swap: new Swap(Account.ETH_1, Account.SOL_1, "sendMax", Fee.MEDIUM), | ||
xrayTicket: "B2CQA-2110, QAA-292", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same (only B2CQA)
const selectedProvider = await app.swap.selectExchange(electronApp); | ||
await performSwapUntilDeviceVerificationStep( | ||
app, | ||
electronApp, | ||
rejectedSwap, | ||
selectedProvider, | ||
); | ||
await app.swapDrawer.verifyAmountSent(rejectedSwap.amount, rejectedSwap.accountToDebit.currency.ticker); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the lint error:
await app.swapDrawer.verifyAmountSent(
rejectedSwap.amount,
rejectedSwap.accountToDebit.currency.ticker,
);
swap: new Swap(Account.ETH_1, Account.SOL_1, "sendMax", Fee.MEDIUM), | ||
xrayTicket: "B2CQA-2110", | ||
} | ||
""]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
β Checklist
npx changeset
was attached.π Description
Replace this text by a clear and concise description of what this pull request is about and why it is needed. Be sure to explain the problem you're addressing and the solution you're proposing.
For libraries, you can add a code sample of how to use it.
For bug fixes, you can explain the previous behaviour and how it was fixed.
In case of visual features, please attach screenshots or video recordings to demonstrate the changes.
β Context
π§ Checklist for the PR Reviewers