-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Connectors v2 message PoC (#1292)
* feat: update Message enum * feat: add (dummy) Into<u128> for CurrencyId * tests: apply changes to existing * refactor: add consts in tests * tests: apply new messages * refactor: apply suggestions from soft review * fix: clippy * tests: fix integration * refactor: add LocalCurrencyId storage * feat: add general index mapping for CurrencyId * tests: fix integration for connectors * fix: clippy warning * refactor: apply suggestions from review * refactor: remove unused code * refactor: apply latest spec changes * refactor: remove CollectFor* msgs * tests: cover uts for all message cases * refactor: use TryInto instead of custom GeneralCurrencyIndex trait * refactor: update message fields * feat: complete GeneralCurrencyIndex * style: fix indentation * Apply suggestion from code review by @NunoAlexandre * chore: add message docs, fix order * Apply suggestion from review by @offerijns * Update pallets/connectors/src/message.rs Co-authored-by: Jeroen Offerijns <Offerijns@users.noreply.github.com> * docs: improve AssetNotFound * docs: apply normalized directionality to Message * refactor: hashed GeneralCurrencyPrefix * fix: block local domain transfers * refactor: rm unneeded trait bounding * fmt: apply comment wrapping * fix: remove new extrinsics --------- Co-authored-by: Jeroen Offerijns <Offerijns@users.noreply.github.com>
- Loading branch information
Showing
6 changed files
with
748 additions
and
74 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.