-
Notifications
You must be signed in to change notification settings - Fork 868
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
Jupiter desktop integration for Solana swaps #14298
Conversation
d5776e3
to
33535bb
Compare
A Storybook has been deployed to preview UI for the latest push |
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.
++ Front-end
Browser tests crashing - could be related to brave/brave-browser#24129. |
A Storybook has been deployed to preview UI for the latest push |
A Storybook has been deployed to preview UI for the latest push |
A Storybook has been deployed to preview UI for the latest push |
A Storybook has been deployed to preview UI for the latest push |
A Storybook has been deployed to preview UI for the latest push |
// if 0x contracts are ever exploited, we still opted for this to give | ||
// users a frictionless UX and save on gas fees. | ||
// | ||
// The transaction confirmation screen for ERC20 approve() shows a loud |
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.
do you have a screenshot of this? cc @kdenhartog
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.
oh is it the screenshot in https://github.com/brave/security/issues/960 ? if so NVM
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.
Will give this a look to understand the tradeoff here a bit more and let you know what I think. Thanks for tagging me
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.
40f6fa5
to
de66ca0
Compare
A Storybook has been deployed to preview UI for the latest push |
de66ca0
to
99580b9
Compare
A Storybook has been deployed to preview UI for the latest push |
Android build is broken, please fix it, see https://ci.brave.com/blue/organizations/jenkins/pr-brave-browser-f-wallet-jupiter-desktop-android/detail/pr-brave-browser-f-wallet-jupiter-desktop-android/18/pipeline. |
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.
c++ backend LGTM, please create an issue for supporting partial_sign (existed signatures provided in the encoded transaction) for transactions coming from MakeTxDataFromBase64EncodedTransaction
, and make sure Android build is green (might need to rebase to latest master to avoid new calls not being caught.).
One more thing, please make sure to have security team's approval before merging. |
301422d
to
7b04c6e
Compare
A Storybook has been deployed to preview UI for the latest push |
7b04c6e
to
84263d9
Compare
@diracdeltas @yrliou Please review 84263d91e96250791b177a939efe6a78b634e69c which adds a new helper Consequently, we now have the following benefits:
|
A Storybook has been deployed to preview UI for the latest push |
Add @rillian and @antonok-edm for either of them to review the rust impl in 84263d9. |
84263d9
to
d24efb6
Compare
d24efb6
to
5f10959
Compare
A Storybook has been deployed to preview UI for the latest push |
Value::Number(n) if n.is_u64() || n.is_i64() || n.is_f64() => { | ||
*json = Value::String(n.to_string()); | ||
} | ||
Value::Array(a) => a.iter_mut().for_each(convert_recursively), |
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.
Why are you doing this recursively? This is very inefficient.
Also why are we applying this to everything instead of just applying it to the specific paths that we know need to be converted? This seems potentially dangerous to me and I think we should be much more strict about how we do conversions here.
Resolves brave/brave-browser#19474
Resolves brave/brave-browser#24559
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
,npm run lint
,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Demo
Solana.Swap.mov