-
Notifications
You must be signed in to change notification settings - Fork 199
fix(swapper): fix Sun.io Tron swaps (INVALID_VERSION_LEN + OUT_OF_ENERGY) #12459
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
Merged
kaladinlight
merged 10 commits into
develop
from
fix/ss-5705-unable-to-do-trades-on-tron
Jun 24, 2026
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
17078e4
fix(swapper): correct Sun.io versionLen encoding for Tron swaps
kaladinlight da63e00
fix(swapper): estimate real Sun.io swap energy to prevent OUT_OF_ENERGY
kaladinlight f20cbd2
Merge branch 'develop' into fix/ss-5705-unable-to-do-trades-on-tron
kaladinlight eb50a4e
fix(swapper): mark non-REVERT Sun.io Tron failures as failed
kaladinlight 24bbb53
fix(swapper): tune Sun.io energy fallbacks to observed averages
kaladinlight 4d6a87b
feat: plumb TronGrid API key through Tron requests
kaladinlight 6baa3bb
fix(swapper): re-estimate Sun.io network fee at confirm time
kaladinlight a0b7341
fix: invalidate cached allowances after a trade
kaladinlight 28f865c
fix(public-api): supply VITE_TRON_GRID_API_KEY to server-side Tron
kaladinlight 19b49ea
fix(swapper): address Sun.io Tron review feedback
kaladinlight File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
205 changes: 0 additions & 205 deletions
205
packages/chain-adapters/src/tron/TRON_FEE_ESTIMATION_ISSUES.md
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.