-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: backport versioned transactions #11
base: 1.31.0-exodus
Are you sure you want to change the base?
Conversation
@kewde usually we use How would we test this PR? |
@andrejborstnik recent slot should be an integer, my assumption here is that the precision should be fine 😅 |
I've also backported the tests from the original version, which all pass at the moment. |
@andrejborstnik https://github.com/ExodusMovement/exodus-mobile/pull/16939 works on my end, can exchange on Jupiter again! |
@kewde Is this still needed? |
@gutenye not for mobile, Hermes has BigInt. |
This PR backport Versioned Transactions to 1.31.0 which is the only version that works on mobile right now due to the lack of BigInt and TextEncoder. Whenever a big int was required, we instead opt for a normal number which should technically be fine for now since it only impacts the slots which are currently at 227,790,149 so we don't expect it to overflow in the near future.