From 5d4d180e62d0cc8df01093c2440fb13521722688 Mon Sep 17 00:00:00 2001 From: GreenBaneling | Supercolony Date: Mon, 22 Aug 2022 19:35:12 +0300 Subject: [PATCH] Add `pallet-assets` chain extension. (#4) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add `pallet-assets` chain extension. The id of the chain extension is `0x48f6`. It is the first 2 bytes of the `blake2b` hash from the "pallet-assets-chain-extension@v0.1" string. The [chain extension](https://github.com/Supercolony-net/pallet-assets-chain-extension) created with usage of the [`obce`](https://github.com/Supercolony-net/obce) crate. The chain extension is not ready for production because it requires some additional changes on the `pallet-assets` side(some operations should be performed by the contract only if the contract is admin). But it is a matter of time, so I think we can register it and fix it with minor patches. Added support of the extension into [substrate-contract-node](https://github.com/paritytech/substrate-contracts-node/pull/146) and into [OpenBrush](https://github.com/Supercolony-net/openbrush-contracts/pull/168). * Update registry.json Co-authored-by: Alexander Theißen Co-authored-by: Alexander Theißen --- registry.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/registry.json b/registry.json index 2ce58a7..e210d07 100644 --- a/registry.json +++ b/registry.json @@ -3,5 +3,10 @@ "id": 1, "repository:": "https://github.com/paritytech/pallet-contracts-xcm", "typeName:": "Extension" + }, + { + "id": 18678, + "repository:": "https://github.com/Supercolony-net/pallet-assets-chain-extension", + "typeName:": "AssetsExtension" } ]