-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add fallback logic to refund failed CCM transaction (#5650)
* chore: add ci when PR against base branch * feat: use Solana versioned transaction to build api calls (#5633) * Added versioned transaction and versioned message support * Added unit test for Versioned transactions with Address lookup table * Moved (almost) everything in sol_tx_core into sol-prim Moved ALT related stuff to its own file. * Initial commit for changing Solana Transaction to VersionedTransaction * chore: update bouncer to get versioned transactions * Updated unit tests for transaction building Removed all uses of Legacy message and Transaction. * Fix broken unit test * Make solana api calls more consistent with the use of ALT --------- Co-authored-by: Daniel <daniel@chainflip.io> Co-authored-by: albert <allimos3@gmail.com> * Added versioned transaction and versioned message support * Added unit test for Versioned transactions with Address lookup table * Moved (almost) everything in sol_tx_core into sol-prim Moved ALT related stuff to its own file. * Initial commit for changing Solana Transaction to VersionedTransaction * Make solana api calls more consistent with the use of ALT * feat: update image with alt and add logic and migrations * chore: rebase and update * chore: run ci * chore: fix clippy and try removing symlink * chore: try running anza * chore: upgrade to 2.1.13 * chore: update bouncer expected number of nonces * chore: update compute units * chore: restore ci# * chore: fix ci * chore: nit * chore: update test * chore: fix tests and nit * chore: define MAX_CCM_USER_ALTS * Minor improvements. Fix build and tests * Add a fallback mechanism where if CCM failed to build (for any reason) the fund is returned to the "refund" address via a "Transfer" transaction. * chore: nit * chore: fix * chore: revert source_address * chore: clippy --------- Co-authored-by: albert <allimos3@gmail.com> Co-authored-by: Daniel <daniel@chainflip.io>
- Loading branch information
1 parent
0dd6b08
commit cb41ac5
Showing
4 changed files
with
176 additions
and
17 deletions.
There are no files selected for viewing
This file contains 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 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 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 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