-
Notifications
You must be signed in to change notification settings - Fork 15
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: EVM Vault swaps support for Broker and affiliates #5408
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
228cbef
feat: add cf-parameters versioning
albert-llimos 6add0fc
chore: update with SDK changes
albert-llimos ab416fe
chore: update broker and affiliates in engine and bouncer
albert-llimos 269745f
chore: revert all_swaps
albert-llimos f6a2ec8
chore: update to 1.8.0-rc.3
albert-llimos 693b992
chore: update broker and affiliates in engine and bouncer
albert-llimos 8d07d54
chore: revert all_swaps
albert-llimos b6b62ae
chore: update to 1.8.0-rc.3
albert-llimos c607c8e
Merge branch 'feat/cf-parameters-broker-affiliates' of github.com:cha…
albert-llimos fab6ad1
chore: fix vault_swap_request
albert-llimos 01455b6
chore: make brokerFees optional
albert-llimos ba6fe7b
chore: add encoding test and update evm test
albert-llimos 7a3b94a
chore: merge from main
albert-llimos 1e6a3da
chore: use AffiliateAndFee instead of ShortId
albert-llimos 5ebde8a
chore: improve tests
albert-llimos 3dde9e2
chore: merge from main
albert-llimos 44736e6
chore: refactor and plug in broker and affiliate fees
albert-llimos 22967a2
chore: fix bouncer lint
albert-llimos 575915f
feat: make boost_fee not optional
albert-llimos 2930e68
chore: fix bug in sdk
albert-llimos d807601
chore: address comments
albert-llimos 53d82dd
feat: make refund_params non-optional for vault swaps in extrinsic
albert-llimos 2d44dfb
chore: fix merge conflicts
albert-llimos 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 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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.
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.
Maybe subjective, but I kind of like the way I broke down individual fields in
check_utxo_encoding
(https://github.com/chainflip-io/chainflip-backend/blob/main/state-chain/chains/src/btc/vault_swap_encoding.rs#L144) so we could see which bytes correspond to which field. Probably more important for BTC though where we were trying to compress the encoding.