Skip to content

Refactor NativeAssetReserve into its own crate#52

Merged
tmpolaczyk merged 12 commits intomasterfrom
tmpolaczyk-patch-2
Dec 1, 2025
Merged

Refactor NativeAssetReserve into its own crate#52
tmpolaczyk merged 12 commits intomasterfrom
tmpolaczyk-patch-2

Conversation

@tmpolaczyk
Copy link
Contributor

@tmpolaczyk tmpolaczyk commented Oct 23, 2025

This code is duplicated in tanssi repo, except that has an additional log. This PR adds the log so they are now identical, and moves the duplicated code to a new crate dp-xcm-reserve.

TODO: use this struct in tanssi repo

This code is duplicated in tanssi repo, except that has an additional log. This PR adds the log so they are now identical.
@tmpolaczyk
Copy link
Contributor Author

tmpolaczyk commented Oct 23, 2025

TODO: move these filters to primitives so they can be reused without importing the pallet

Done

@tmpolaczyk tmpolaczyk requested a review from girazoki November 24, 2025 11:04
@tmpolaczyk tmpolaczyk changed the title Add missing log to NativeAssetReserve Refactor NativeAssetReserve into its own crate Nov 24, 2025
@tmpolaczyk tmpolaczyk merged commit 6ac323c into master Dec 1, 2025
9 of 10 checks passed
tmpolaczyk added a commit that referenced this pull request Dec 1, 2025
* Add missing log to NativeAssetReserve

This code is duplicated in tanssi repo, except that has an additional log. This PR adds the log so they are now identical.

* Refactor apply_policy function

* fix compile error and commit cargo lock

* Fix tests

* Move NativeAssetReserve to new crate

* zepter

* Merge conflicts

* Remove unused deps

* Remove trait and unused non_chain_part

* toml-maid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments