Commit 00c9a24
authored
shield assets (#1689)
* instantiate assets pallet
* listen to ForeignAssets.Transferred events on target_b
* skeleton STF for assets
* implemented assets functionality. no fees yet
* charge fees in same asset
* more robust shard vault init
* purge earlier
* shielding executes
* refactor cli directory structure
* implement cli functionality for assets
* upgrade to XCMv5
* shield-xfer-unshield works for USDC.e
* default to native, failover to asset for charging fees
* clippy
* fix evm fees
* get rid of explicit 'unsupported' AssetIf variant
* cleanup and alignments
* fix runtime
* review fixes
* map assets per shielding target and support native assets too
* fix cli
* fixes. native assets tested successfully too
* fmt
* clippy
* additional check
* fix tests
* fix broken M6 scenario for OCW1 parent 868880a commit 00c9a24
File tree
63 files changed
+2008
-146
lines changed- app-libs
- assets-map
- src
- parentchain-interface
- src
- integritee
- target_a
- target_b
- parentchain-specs/src
- sgx-runtime
- src
- stf
- src
- cli
- src
- assets
- commands
- base_cli
- trusted_assets
- commands
- trusted_base_cli/commands
- trusted_guess_the_number
- commands
- core-primitives
- extrinsics-factory/src
- node-api/metadata/src
- sgx/io/src
- types
- src
- core/parentchain
- block-importer/src
- indirect-calls-executor/src
- enclave-runtime
- src
- test
- service/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
63 files changed
+2008
-146
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2227 | 2227 | | |
2228 | 2228 | | |
2229 | 2229 | | |
| 2230 | + | |
| 2231 | + | |
| 2232 | + | |
| 2233 | + | |
| 2234 | + | |
| 2235 | + | |
2230 | 2236 | | |
2231 | 2237 | | |
2232 | 2238 | | |
| |||
2578 | 2584 | | |
2579 | 2585 | | |
2580 | 2586 | | |
| 2587 | + | |
2581 | 2588 | | |
2582 | 2589 | | |
2583 | 2590 | | |
| |||
2590 | 2597 | | |
2591 | 2598 | | |
2592 | 2599 | | |
| 2600 | + | |
2593 | 2601 | | |
2594 | 2602 | | |
2595 | 2603 | | |
| |||
2763 | 2771 | | |
2764 | 2772 | | |
2765 | 2773 | | |
| 2774 | + | |
| 2775 | + | |
| 2776 | + | |
| 2777 | + | |
| 2778 | + | |
| 2779 | + | |
| 2780 | + | |
| 2781 | + | |
| 2782 | + | |
| 2783 | + | |
| 2784 | + | |
| 2785 | + | |
| 2786 | + | |
2766 | 2787 | | |
2767 | 2788 | | |
2768 | 2789 | | |
| |||
2788 | 2809 | | |
2789 | 2810 | | |
2790 | 2811 | | |
| 2812 | + | |
| 2813 | + | |
2791 | 2814 | | |
2792 | 2815 | | |
2793 | 2816 | | |
| |||
2828 | 2851 | | |
2829 | 2852 | | |
2830 | 2853 | | |
| 2854 | + | |
2831 | 2855 | | |
2832 | 2856 | | |
| 2857 | + | |
2833 | 2858 | | |
2834 | 2859 | | |
2835 | 2860 | | |
| |||
2855 | 2880 | | |
2856 | 2881 | | |
2857 | 2882 | | |
| 2883 | + | |
2858 | 2884 | | |
2859 | 2885 | | |
2860 | 2886 | | |
| |||
3689 | 3715 | | |
3690 | 3716 | | |
3691 | 3717 | | |
| 3718 | + | |
3692 | 3719 | | |
3693 | 3720 | | |
3694 | 3721 | | |
| |||
6861 | 6888 | | |
6862 | 6889 | | |
6863 | 6890 | | |
6864 | | - | |
| 6891 | + | |
6865 | 6892 | | |
6866 | 6893 | | |
6867 | 6894 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
0 commit comments