Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.

Commit

Permalink
enabling assets pallet
Browse files Browse the repository at this point in the history
  • Loading branch information
aphelionz committed May 6, 2021
1 parent 73f7197 commit 0ab634c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions frame/social-orbit-db-manifests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ targets = ['x86_64-unknown-linux-gnu']

[dependencies]
codec = { default-features = false, features = ['derive'], package = 'parity-scale-codec', version = '2.0.0' }
frame-system = { default-features = false, version = '3.0.0' }
frame-support = { default-features = false, version = '3.0.0' }
frame-system = { version = "3.0.0", default-features = false, path = "../system" }
frame-support = { version = "3.0.0", default-features = false, path = "../support" }
frame-benchmarking = { default-features = false, optional = true, version = '3.1.0' }
sp-std = { default-features = false, version = '3.0.0' }
pallet-society = { version = '3.0.0', path = "../society", default-features = false }
pallet-assets = { version = '3.0.0', path = "../assets", default-features = false }

[dev-dependencies]
serde = { version = "1.0.119", default-features = false }
sp-core = { default-features = false, version = '3.0.0' }
sp-io = { default-features = false, version = '3.0.0' }
sp-io = { version = "3.0.0", path = "../../primitives/io", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false, version = '3.0.0' }
sp-runtime = { default-features = false, version = '3.0.0' }

[features]
Expand Down
4 changes: 1 addition & 3 deletions frame/social-orbit-db-manifests/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ pub use pallet::*;

#[frame_support::pallet]
pub mod pallet {
use pallet_assets::Symbol;
use frame_support::Blake2_128Concat;
use frame_support::pallet_prelude::{
IsType, Hooks, StorageMap, DispatchResultWithPostInfo
Expand All @@ -16,9 +17,6 @@ pub mod pallet {
// e.g. bafybeig4mpb4myby5gy6n2tfwpsmlykug35ny7v3bdz5qboa5v5on2zmry
pub type OrbitDBManifestHash = [u8; 58];

// TODO: use this from pallet_assets
pub type Symbol = [u8; 8];

#[pallet::error]
pub enum Error<T> {
SocietyIdOverflow
Expand Down

0 comments on commit 0ab634c

Please sign in to comment.