Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
d162612
add integation test for exchange asset
apopiak Jun 2, 2023
1911994
adjust first test with proper assertions
dmoka Jun 5, 2023
77a1994
reset emulator at the start of the test
apopiak Jun 12, 2023
81b4807
formatting
apopiak Jun 12, 2023
f0cc170
fix test configuration
dmoka Jun 12, 2023
edc9a2b
add OmniExchanger and failing test, make integration test fail
apopiak Jun 13, 2023
f2a3690
moved xcm exchanger to omnipool because it is omnipool specific
dmoka Jun 13, 2023
a740571
implement sell for OmniExchanger
apopiak Jun 13, 2023
326d209
add more asserts and use withdraw result
apopiak Jun 13, 2023
4a70930
implement buy for ExchangeAsset
apopiak Jun 20, 2023
51be40a
formatting
apopiak Jun 20, 2023
e7cfd40
small fixes
apopiak Jun 20, 2023
1cec099
remove unused imports
apopiak Jun 20, 2023
18d586d
get ExchangeAsset integration test working
apopiak Jun 20, 2023
79dd506
remove unnecessary clone
apopiak Jun 20, 2023
1c97f27
remove unnecessary into
apopiak Jun 20, 2023
0522bc3
formatting
apopiak Jun 20, 2023
1427319
remove debug statement
apopiak Jun 26, 2023
3224da0
add and update comments
apopiak Jun 26, 2023
7f58b87
add negative test case for disallowing multiple assets
dmoka Jul 5, 2023
dc390b3
add AllowTransferAndSwap
apopiak Jul 11, 2023
c372eaa
formatting
apopiak Jul 11, 2023
53753e9
make clippy happy
apopiak Jul 11, 2023
ffddb51
Merge branch 'hack/xcm-exchange-asset' of github.com:galacticcouncil/…
apopiak Jul 11, 2023
a95b961
fix filter - add set fees to allow functionality of transfer and swap
dmoka Jul 11, 2023
8d54035
adjust recursion level and add test for it
dmoka Jul 11, 2023
7de4096
add ignored test for filter too many instructions in depth
dmoka Jul 11, 2023
12a046a
add positive case for not fitlering message with max deep
dmoka Jul 12, 2023
02f8755
remove unused code
dmoka Jul 12, 2023
4e50282
adjust ignored test to reach max instruction limit
dmoka Jul 12, 2023
b1770a7
renaming
dmoka Jul 12, 2023
4b0f780
add counting of instructions
dmoka Jul 12, 2023
eb8f663
remove limit per level logic as we check for the max number of all in…
dmoka Jul 12, 2023
0a0a103
remove unnecessary check
dmoka Jul 12, 2023
a4649a0
add config for max xcm depth
dmoka Jul 12, 2023
d81f737
make max instructions as config
dmoka Jul 12, 2023
a54d45c
improve test assertions logic
dmoka Jul 12, 2023
9572d54
adjust test names
dmoka Jul 12, 2023
3f7aed0
adjust todo
dmoka Jul 12, 2023
fb1f269
replace omnipool asset exchange logic to hydra and also adding todos …
dmoka Jul 13, 2023
b1246f3
use proper error handling to prevent panicking
dmoka Jul 13, 2023
5d4f1d4
move xcm exchange to hydra and and use router interface to decouple i…
dmoka Jul 13, 2023
4b82748
merge master to hack/xcm-exchange-asset
dmoka Jul 13, 2023
0c2eae9
remove done todo comment
dmoka Jul 13, 2023
fe94afe
replace xcm filter and omniexchange to adapter
dmoka Jul 13, 2023
3c62c76
rename filter to xcm execute filter
dmoka Jul 13, 2023
08e98c8
use sp std instead of normal
dmoka Jul 13, 2023
86e7882
remove done todo
dmoka Jul 13, 2023
09b390b
add logging for invalid client data for exchange asset
dmoka Jul 13, 2023
60eae91
ignore origin in exchange asset as it is not relevant for the asset e…
dmoka Jul 13, 2023
8a5fcfd
make xcm asset exchanger generic over pool type with default pool
dmoka Jul 14, 2023
2dc5f5b
remove todos
dmoka Jul 14, 2023
3d9d6fe
WIP - add test for transfer and swap
dmoka Jul 17, 2023
aecd4d8
fix integration test
apopiak Jul 17, 2023
a3b1da7
fix integration test
apopiak Jul 17, 2023
fabea01
Merge branch 'hack/xcm-exchange-asset' of github.com:galacticcouncil/…
apopiak Jul 17, 2023
fab79ab
improve test clarity
apopiak Jul 17, 2023
ca0c934
add helper comments on the execution chain
dmoka Jul 17, 2023
7b0d395
clean up tests
dmoka Jul 17, 2023
bfc1208
clean up in integration tests
dmoka Jul 17, 2023
f7fb997
make clippy happy
dmoka Jul 17, 2023
bc897da
rollback omnipool
dmoka Jul 17, 2023
9a722e0
rollback omnipool toml as we moved the exchange asset implementation …
dmoka Jul 17, 2023
7effb1e
remove unnecessary optional
dmoka Jul 17, 2023
a7eacdc
merge master to hack/xcm-exchange-asset
dmoka Jul 18, 2023
9b10699
bump versions
dmoka Jul 18, 2023
f2d9008
order functions in execution order
dmoka Jul 18, 2023
7a49789
organize import
dmoka Jul 18, 2023
6d7c340
remove unused dependencies
dmoka Jul 18, 2023
0d66a99
undo runtime version dump as nothing will be changed in hydra runtime…
dmoka Jul 18, 2023
b59c037
Remove asset exchange configuration from hydra runtime as first we tr…
dmoka Jul 18, 2023
f908c06
simplify check
apopiak Jul 25, 2023
5a41c80
simplify iter
apopiak Jul 25, 2023
dfe223e
initialize vec with capacity
apopiak Jul 25, 2023
e4baf93
rename DefaultPoolType
apopiak Jul 25, 2023
c370f50
add doc comments and simplify
apopiak Jul 27, 2023
9c00160
add doc comment for XcmAssetExchanger
apopiak Jul 27, 2023
9c7a424
Merge branch 'master' into hack/xcm-exchange-asset
apopiak Jul 27, 2023
0bfa9a9
Merge branch 'master' into hack/xcm-exchange-asset
mrq1911 Jul 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 12 additions & 24 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading