Uh oh!
There was an error while loading. Please reload this page.
Add address lookup table to minimize swap size - #12685
Conversation
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| import { addUserBankToAtaInstructions, getSwapErrorResponse } from './utils' | ||
| const SWAP_LOOKUP_TABLE_ADDRESS = new PublicKey( | ||
| '2WB87JxGZieRd7hi3y87wq6HAsPLyb9zrSx8B5z1QEzM' |
There was a problem hiding this comment.
Nit: maybe put this somewhere in env or config?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
rickyrombo
commented
Aug 8, 2025
@faridsalau do you have some sample success txs? curious to see the headroom we're seeing! |
faridsalau
commented
Aug 8, 2025
|
Uh oh!
There was an error while loading. Please reload this page.
[e0f1d8e] Fix ssr dn selection to use api (#12701) Ray Jacobson [fe31aa0] [PE-6570] Hide user contextual content when logged out (#12695) Randy Schott [5870def] Replace SSR hosts (#12696) Ray Jacobson [7297c53] Artist coin blast UI improvements (#12693) Reed [359f262] Improve shadow performance (#12688) Dylan Jeffers [c52e96d] [PE-6336] Fix web track/collection tile overflow (#12691) Dylan Jeffers [3373d8e] Add API as dn for ssr (#12694) Ray Jacobson [33efa0b] [PE-6626][PE-6580][PE-6581] Fix slow loading when switching explore tabs on web (#12687) Randy Schott [196861f] [QA-2278] Fix layout left align on small screens (#12689) Dylan Jeffers [5c57bd3] Unrevert #12658 - Add artist coin discord logic (#12670) JD Francis [ae1535a] Drop user-link touch target in track-list-item (#12651) Dylan Jeffers [9e9666c] Add address lookup table to minimize swap size (#12685) Farid Salau [4ab4f36] Remove top playlists method (#12690) Ray Jacobson [0f40128] Fix animated value warning (#12678) Dylan Jeffers [ca7af01] [QA-2275] Fix hidden playlist artwork validation (#12659) Dylan Jeffers [e350114] Update create chat modal to fetch chat permissions for user results (#12681) KJ [6740a78] Increase the debounce time of the chat user search (#12680) KJ [9fc7f15] Fix supporter error for chat user search results (#12679) KJ [9fc4b4c] [QA-2255] Revert "[QA-2193] Fix android playback stuck on one track (#12460)" (#12677) Reed [aa7dfb8] Fix web test failures with TOKEN_LISTING_MAP and USDC_MINT_ADDRESS (#12676) Farid Salau [9c2238f] Fix rich push notifications (#12672) Dylan Jeffers [45fbd54] Version Packages (#12675) github-actions[bot] [e8b67c8] Fix race condition of social icons not being loaded before being used (#12673) Marcus Pasell [c7727b4] Remove get valid types from notifications query (#12669) Ray Jacobson [5e7342d] Version Packages (#12223) github-actions[bot] [20cb3bc] [QA-2264] File replace should not change title (#12657) Dylan Jeffers [60431a4] Fix mobile lint (#12668) Farid Salau [eef890e] Revert the breaking changes from getWalletAudioBalance (#12667) Marcus Pasell [fa78f43] [QA-2272] Fix X share (#12666) Reed [6c27b7e] Add optimistic token balance updates for Jupiter swaps (#12665) Farid Salau [922a917] [PE-6592] Update chat composer line indexing logic (#12662) KJ [fadbab1] Add artist coins feature branch to main (#12661) Farid Salau [ddadd0e] Revert "[PE-6578] Add artist coin discord button logic " (#12663) Farid Salau [83031b4] [PE-6578] Add artist coin discord button logic (#12658) JD Francis [4b71284] [PE-6601] Enable communication notifs (#12647) Dylan Jeffers [714cf76] [PE-6562][PE-6568][PE-6599] Bring mobile web S/E up to speed (#12649) Randy Schott [293783d] [QA-2268] Fix X sign-up button (#12653) Reed [edff607] [QA-2274] Fix cosign icon (#12656) Dylan Jeffers [e16f582] [QA-2273] Fix type issue in useAudioBalance (#12652) Marcus Pasell [38a6a8e] [QA-2224] Remove dm unfurl message bottom border (#12655) KJ [74c3732] Fix web card user links (#12654) Dylan Jeffers [2d816ca] Update copy for sharing with X (#12650) Farid Salau [6eac232] Fix provisioning profiles for local dev (#12648) Ray Jacobson [c1b8557] [PE-6535] Optimize list performance (lineups & more) with FlashList (#12622) JD Francis [ea26b0c] [PE-6558][PE-6559][PE-6560] Empty search/explore states (#12639) Randy Schott
Description
Added a new address lookup table to the
useSwapTokenshook in order to help reduce swap byte usage. Also added an arbitrary20max accounts toJupiter.tsto minimize the amount of hops needed in a swap. We should monitor swap failure rate and adjust as needed.How Has This Been Tested?
npm run web:prodand swap between bonk and audio a few times