Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added copyright action & texts in all files #219

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/copyright-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Copyright Check

on:
push:
pull_request:

jobs:
copyright-check:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Copyright Comment Check
uses: dappforce/copyright-checker@main
with:
path: './**/*.rs'
exclude: './runtime'
copyrightPath: 'copyright.txt'
5 changes: 5 additions & 0 deletions copyright.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.
6 changes: 6 additions & 0 deletions integration-tests/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

#![cfg(test)]

mod mock;
Expand Down
6 changes: 6 additions & 0 deletions integration-tests/src/mock.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

use sp_core::H256;
use sp_io::TestExternalities;

Expand Down
6 changes: 6 additions & 0 deletions integration-tests/src/tests/comments.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

use frame_support::{assert_noop, assert_ok};

use pallet_posts::Error as PostsError;
Expand Down
6 changes: 6 additions & 0 deletions integration-tests/src/tests/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

mod reactions;

/// Tests for posts_pallet
Expand Down
6 changes: 6 additions & 0 deletions integration-tests/src/tests/posts.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

use frame_support::{assert_noop, assert_ok};

use pallet_posts::{Error as PostsError, Post};
Expand Down
6 changes: 6 additions & 0 deletions integration-tests/src/tests/reactions.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

use frame_support::{assert_noop, assert_ok};

use pallet_reactions::Error as ReactionsError;
Expand Down
6 changes: 6 additions & 0 deletions integration-tests/src/tests/shared_post.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

use frame_support::{assert_noop, assert_ok};

use pallet_posts::Error as PostsError;
Expand Down
6 changes: 6 additions & 0 deletions integration-tests/src/tests/space_follows.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

use frame_support::{assert_noop, assert_ok};

use pallet_spaces::Error as SpacesError;
Expand Down
6 changes: 6 additions & 0 deletions integration-tests/src/tests/space_ownership.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

use frame_support::{assert_ok, assert_noop};
use sp_runtime::traits::Zero;

Expand Down
6 changes: 6 additions & 0 deletions integration-tests/src/tests/spaces.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

use frame_support::{assert_noop, assert_ok};

use pallet_spaces::Error as SpacesError;
Expand Down
6 changes: 6 additions & 0 deletions integration-tests/src/utils/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

use pallet_reactions::ReactionId;
use subsocial_support::{PostId, SpaceId};
use crate::mock::AccountId;
Expand Down
6 changes: 6 additions & 0 deletions integration-tests/src/utils/moderation_utils.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

use frame_support::pallet_prelude::*;
use std::cell::RefCell;
use std::collections::HashMap;
Expand Down
6 changes: 6 additions & 0 deletions integration-tests/src/utils/permissions_utils.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

use pallet_permissions::{
SpacePermissions,
SpacePermission,
Expand Down
6 changes: 6 additions & 0 deletions integration-tests/src/utils/posts_utils.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

use frame_support::pallet_prelude::*;

use pallet_posts::{Comment, PostExtension, PostUpdate};
Expand Down
6 changes: 6 additions & 0 deletions integration-tests/src/utils/reactions_utils.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

use frame_support::pallet_prelude::*;

use pallet_reactions::{ReactionId, ReactionKind};
Expand Down
6 changes: 6 additions & 0 deletions integration-tests/src/utils/roles_utils.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

use frame_support::pallet_prelude::*;

use pallet_permissions::SpacePermission;
Expand Down
6 changes: 6 additions & 0 deletions integration-tests/src/utils/space_follows_utils.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

use frame_support::pallet_prelude::*;

use subsocial_support::SpaceId;
Expand Down
6 changes: 6 additions & 0 deletions integration-tests/src/utils/space_ownership_utils.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

use frame_support::pallet_prelude::*;

use subsocial_support::SpaceId;
Expand Down
6 changes: 6 additions & 0 deletions integration-tests/src/utils/spaces_utils.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

use frame_support::pallet_prelude::*;
use pallet_permissions::SpacePermissions;

Expand Down
6 changes: 6 additions & 0 deletions node/build.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

use substrate_build_script_utils::{generate_cargo_keys, rerun_if_git_head_changed};

fn main() {
Expand Down
6 changes: 6 additions & 0 deletions node/src/chain_spec.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

use cumulus_primitives_core::ParaId;
use sc_chain_spec::{ChainSpecExtension, Properties};
use sc_service::ChainType;
Expand Down
6 changes: 6 additions & 0 deletions node/src/cli.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

use std::path::PathBuf;

/// Sub-commands supported by the collator.
Expand Down
6 changes: 6 additions & 0 deletions node/src/command.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

use std::net::SocketAddr;

use codec::Encode;
Expand Down
6 changes: 6 additions & 0 deletions node/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

//! Substrate Node CLI library.

#![warn(missing_docs)]
Expand Down
6 changes: 6 additions & 0 deletions node/src/rpc.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

//! A collection of node-specific RPC methods.
//! Substrate provides the `sc-rpc` crate, which defines the core RPC layer
//! used by Substrate nodes. This file extends those RPC definitions with
Expand Down
6 changes: 6 additions & 0 deletions node/src/service.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

//! Service and ServiceFactory implementation. Specialized wrapper over substrate service.

// std
Expand Down
6 changes: 6 additions & 0 deletions pallets/account-follows/rpc/runtime-api/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

#![cfg_attr(not(feature = "std"), no_std)]

use codec::Codec;
Expand Down
6 changes: 6 additions & 0 deletions pallets/account-follows/rpc/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

use std::sync::Arc;
use codec::Codec;
use sp_blockchain::HeaderBackend;
Expand Down
6 changes: 6 additions & 0 deletions pallets/account-follows/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

#![cfg_attr(not(feature = "std"), no_std)]

pub use pallet::*;
Expand Down
6 changes: 6 additions & 0 deletions pallets/account-follows/src/rpc.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

use sp_std::prelude::*;

use crate::{Module, Config};
Expand Down
6 changes: 6 additions & 0 deletions pallets/domains/src/benchmarking.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

//! Benchmarking for pallet-domains

use super::*;
Expand Down
6 changes: 6 additions & 0 deletions pallets/domains/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

//! # Module for registering decentralized domain names

#![cfg_attr(not(feature = "std"), no_std)]
Expand Down
6 changes: 6 additions & 0 deletions pallets/domains/src/mock.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

use frame_support::{
assert_ok, dispatch::DispatchResult, parameter_types,
traits::{Currency, Everything},
Expand Down
6 changes: 6 additions & 0 deletions pallets/domains/src/tests.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

use frame_support::{assert_noop, assert_ok};
use sp_runtime::{DispatchError::BadOrigin, traits::Zero};
use sp_std::convert::TryInto;
Expand Down
6 changes: 6 additions & 0 deletions pallets/domains/src/types.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

use frame_support::pallet_prelude::*;
use frame_support::traits::Currency;
use sp_runtime::traits::Zero;
Expand Down
6 changes: 6 additions & 0 deletions pallets/domains/src/weights.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.


//! Autogenerated weights for pallet_domains
//!
Expand Down
6 changes: 6 additions & 0 deletions pallets/energy/src/benchmarking.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Copyright (C) DAPPFORCE PTE. LTD., dappforce@gmail.com.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0.

// Full notice is available at https://github.com/dappforce/subsocial-parachain/blob/main/HEADER-GPL3.
// Full license is available at https://github.com/dappforce/subsocial-parachain/blob/main/LICENSE.

#![cfg(feature = "runtime-benchmarks")]

use frame_benchmarking::{account, benchmarks};
Expand Down
Loading