-
Notifications
You must be signed in to change notification settings - Fork 128
[Manta] Asset-Manager and XCM #382
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
Closed
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
fe91730
* add asset manager
stechu 45a79ca
add MultiNativeAsset as FilterAssetLocation
stechu 63c1859
relay chain to parachain transfer works (without fee)
stechu c4006ce
send asset back to relay chain
stechu 79e9114
make the tests more precise
stechu d35a8b8
parachain self reserved transfer works
stechu b870cf4
transfer token back and forth
stechu bb87037
send wrapped token to a third chain
stechu 70401ca
relay chain -> parachain transfer with fee charge
stechu c3f3c98
add cargo lock back
stechu 5efa326
update to v0.9.15
stechu df159a8
parachain transfer with trader and fee
stechu 15f948b
abstrate fee calc logic, reserve transfer on 3 chains
stechu 23ac6d2
fix ump test by change relaychain barrier setting
stechu a253d66
test error paths and xcm version upgrade
stechu 90b1085
finish xcm tests
stechu 24fa2ec
rebase with manta branch
stechu 6aad581
address comments, rename pallet-tx-pause to tx-pause
stechu b3e1361
clean up code, unit test
stechu 41f4510
rebase manta, add unit tests
stechu b8417f6
tweak
stechu 0a1a07f
parachain asset transfer under reanchoring
stechu 072c7f5
update the xcm code to adapt reanchoring logic
stechu ce7126e
make self-reserve works of customized asset
stechu 0fc633f
wrong test
stechu a164bf3
fix all tests
stechu 5e905df
Merge branch 'manta' into xcm-v4
stechu 1cce095
fix some comments
stechu 110e852
fmt
stechu f626238
add comment of is_sufficient
stechu f1c4fb1
address comments
stechu e63a772
nit
stechu 642fad7
nit
stechu 8fb4217
add test for set unit per second
stechu 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
Large diffs are not rendered by default.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| [package] | ||
| authors = ['Manta Network'] | ||
| name = "pallet-asset-manager" | ||
| version = "3.1.4" | ||
| edition = "2021" | ||
| homepage = 'https://manta.network' | ||
| license = 'GPL-3.0' | ||
| repository = 'https://github.com/Manta-Network/Manta/' | ||
|
|
||
|
|
||
| [dependencies] | ||
| codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } | ||
| # scale-info has to be 1.0 for now | ||
| scale-info = { version = "1.0", default-features = false, features = ["derive"] } | ||
| sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } | ||
| frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } | ||
| frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } | ||
| sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } | ||
| frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.16", default-features = false, optional = true } | ||
| manta-primitives = { path = '../../runtime/primitives', default-features = false} | ||
|
|
||
| [dev-dependencies] | ||
| sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } | ||
| pallet-balances = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.16" } | ||
| pallet-assets = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.16" } | ||
| sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } | ||
| xcm = { git = 'https://github.com/paritytech/polkadot.git', branch = "release-v0.9.16" } | ||
|
|
||
| [features] | ||
| default = ["std"] | ||
| std = [ | ||
| "codec/std", | ||
| "scale-info/std", | ||
| "sp-runtime/std", | ||
| "frame-support/std", | ||
| "frame-system/std", | ||
| "sp-std/std", | ||
| "manta-primitives/std", | ||
| "frame-benchmarking/std", | ||
| ] | ||
| try-runtime = [ | ||
| "frame-support/try-runtime", | ||
| ] | ||
|
|
||
| runtime-benchmarks = [ | ||
| "frame-benchmarking", | ||
| 'frame-support/runtime-benchmarks', | ||
| 'frame-system/runtime-benchmarks', | ||
| ] | ||
|
|
||
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.