-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from AstarNetwork/feature/assets-frame-ce
Assets CE from astar-frame
- Loading branch information
Showing
5 changed files
with
51 additions
and
84 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
//! | ||
use super::Runtime; | ||
pub use pallet_chain_extension_assets::{weights::WeightInfo, AssetsExtension}; | ||
pub use pallet_chain_extension_dapps_staking::DappsStakingExtension; | ||
/// Registered WASM contracts chain extensions. | ||
use pallet_contracts::chain_extension::RegisteredChainExtension; | ||
|
||
pub use pallet_chain_extension_dapps_staking::DappsStakingExtension; | ||
|
||
// Following impls defines chain extension IDs. | ||
|
||
impl RegisteredChainExtension<Runtime> for DappsStakingExtension<Runtime> { | ||
const ID: u16 = 0x0000; | ||
} | ||
|
||
/// Based on chain-extension registry https://github.com/paritytech/chainextension-registry | ||
impl<W: WeightInfo> RegisteredChainExtension<Runtime> for AssetsExtension<Runtime, W> { | ||
const ID: u16 = 18678; | ||
} |
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