Skip to content
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

pallet-asset-conversion: Decoupling Native Currency Dependancy #2031

Merged
merged 76 commits into from
Dec 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
39935e9
move swap trait and impl into separate module
muharem Sep 15, 2023
d8ab7c1
restructure imports
muharem Sep 15, 2023
6d6cc18
transfer swap
muharem Sep 20, 2023
a355241
swap credit
muharem Sep 22, 2023
a78ac71
with transaction
muharem Sep 22, 2023
888c9fa
preservation
muharem Sep 22, 2023
793b612
add amounts to the event
muharem Sep 22, 2023
cdaf500
not expendable constraint
muharem Sep 25, 2023
2a19a41
Merge remote-tracking branch 'origin/master' into muharem-asset-conve…
muharem Sep 25, 2023
e237dfc
vec import
muharem Sep 25, 2023
0c13c85
fix tests, preserve account
muharem Sep 25, 2023
24654b8
tests
muharem Sep 26, 2023
e0bd8b7
max lenght of the swap path in swap trait
muharem Sep 26, 2023
80dbcab
fix clippy
muharem Sep 26, 2023
847207b
debug impls for imbalances
muharem Sep 26, 2023
53c699f
eq and partial_eq impls for imbalance
muharem Sep 28, 2023
827ce1b
eq, partial_eq, runtime debug for credit
muharem Sep 28, 2023
d533acf
tests
muharem Sep 28, 2023
69b17f8
Apply suggestions from code review
muharem Sep 28, 2023
28edff5
correct docs
muharem Sep 28, 2023
697afa6
dev comments
muharem Sep 28, 2023
1c50220
use eq/partial_eq/runtime_debug derives with no bound version
muharem Sep 29, 2023
fe9e4f8
Merge remote-tracking branch 'origin/master' into muharem-asset-conve…
muharem Oct 5, 2023
e7ffbb4
swap trait update
muharem Oct 5, 2023
ee49f27
box multi asset id
muharem Oct 7, 2023
ee9d2eb
use vec instead bounded vec
muharem Oct 7, 2023
ced5e99
update to new api
muharem Oct 7, 2023
7fee81e
drop clone
muharem Oct 7, 2023
b63cd73
box arguments and drop bounded vec from benches
muharem Oct 8, 2023
01bd4da
no box for benchmarks impls
muharem Oct 8, 2023
e2b99f9
single balance type for Currency and Assets
muharem Oct 8, 2023
37b2e34
Balance trait bound on Balance generic type
muharem Oct 8, 2023
d9bc836
try into for credit
muharem Oct 8, 2023
0193864
drop clone
muharem Oct 8, 2023
ae19bb8
fix
muharem Oct 8, 2023
2372277
clippy fixes
muharem Oct 9, 2023
d1f37c7
review fixes
muharem Oct 9, 2023
3a4935e
remove unused trait
muharem Oct 9, 2023
75a7b8a
note in docs for swap traits
muharem Oct 10, 2023
ec2cf1d
impl on_nonzero_unbalanced instead on_unbalanced
muharem Oct 18, 2023
a8fadda
Merge remote-tracking branch 'origin/master' into muharem-asset-conve…
muharem Oct 23, 2023
168141d
Merge remote-tracking branch 'origin/master' into muharem-asset-conve…
muharem Oct 23, 2023
2b13f27
adjustments for rococo setup
muharem Oct 24, 2023
bbca52d
adjustments for rococo tests
muharem Oct 24, 2023
251d3f8
Merge branch 'master' into muharem-asset-conversion-credit-swap
muharem Oct 24, 2023
66a6611
rococo benchmarks
muharem Oct 24, 2023
01eab06
Merge remote-tracking branch 'origin/master' into muharem-asset-conve…
muharem Oct 25, 2023
b21d0aa
fungible/s union_of
muharem Oct 25, 2023
50cdf82
tests for fungible/s sets
muharem Oct 25, 2023
5fbdc2a
asset conversion
muharem Oct 25, 2023
f490744
asset conversion tx payment
muharem Oct 25, 2023
45d450d
substrate test runtime
muharem Oct 25, 2023
baac8e5
asset hub common impls
muharem Oct 25, 2023
c4eb514
asset hub runtimes
muharem Oct 25, 2023
d28ffea
asset hub emulated tests
muharem Oct 25, 2023
d255301
clippy fixes
muharem Oct 25, 2023
4ec7496
clippy fixes
muharem Oct 25, 2023
2ce5071
Apply suggestions from code review
muharem Oct 26, 2023
c60fa97
fixes
muharem Oct 26, 2023
3b187eb
derive Eq
muharem Oct 26, 2023
03bec01
update bounds
muharem Oct 26, 2023
51c6dfc
benchmarks
muharem Oct 30, 2023
1a9c5f3
weights
muharem Oct 30, 2023
e0f1d0a
remove inc_providers on pool creation
muharem Oct 30, 2023
78332d7
remove unused var
muharem Oct 30, 2023
3f59637
account touch
muharem Oct 31, 2023
9ea208d
remove conrain pair from union_of
muharem Oct 31, 2023
d87a80e
should touch
muharem Oct 31, 2023
55917dd
touch doc
muharem Oct 31, 2023
4673656
docs
muharem Nov 2, 2023
701c4f6
docs
muharem Nov 2, 2023
8d5e5fe
should_touch for pallet-assets
muharem Nov 2, 2023
0556267
move set tests into a separete file
muharem Nov 2, 2023
fb451cb
should_touch for pallet-assets
muharem Nov 2, 2023
524d6f0
prdoc
muharem Dec 19, 2023
406552f
Merge remote-tracking branch 'origin/master' into muharem-asset-conve…
muharem Dec 20, 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
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ fn cannot_create_pool_from_pool_assets() {
Box::new(asset_native),
Box::new(asset_one),
),
Err(DispatchError::Module(ModuleError{index: _, error: _, message})) => assert_eq!(message, Some("UnsupportedAsset"))
Err(DispatchError::Module(ModuleError{index: _, error: _, message})) => assert_eq!(message, Some("Unknown"))
);
});
}
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ fn cannot_create_pool_from_pool_assets() {
Box::new(asset_native),
Box::new(asset_one),
),
Err(DispatchError::Module(ModuleError{index: _, error: _, message})) => assert_eq!(message, Some("UnsupportedAsset"))
Err(DispatchError::Module(ModuleError{index: _, error: _, message})) => assert_eq!(message, Some("Unknown"))
);
});
}
Loading