From ea71a9449d0169d8ec960938cf5a9adf83e5a4a3 Mon Sep 17 00:00:00 2001 From: Deepanshu Hooda Date: Mon, 16 Oct 2023 20:01:50 +0530 Subject: [PATCH] license update --- .../src/fungible/benchmarking.rs | 13 ++++++++----- pallets/astar-xcm-benchmarks/src/fungible/mock.rs | 13 ++++++++----- pallets/astar-xcm-benchmarks/src/fungible/mod.rs | 13 ++++++++----- .../src/generic/benchmarking.rs | 14 +++++++++----- pallets/astar-xcm-benchmarks/src/generic/mock.rs | 13 ++++++++----- pallets/astar-xcm-benchmarks/src/generic/mod.rs | 13 ++++++++----- pallets/astar-xcm-benchmarks/src/lib.rs | 14 +++++++++----- pallets/astar-xcm-benchmarks/src/mock.rs | 13 ++++++++----- 8 files changed, 66 insertions(+), 40 deletions(-) diff --git a/pallets/astar-xcm-benchmarks/src/fungible/benchmarking.rs b/pallets/astar-xcm-benchmarks/src/fungible/benchmarking.rs index fbfead2c27..a8b8a8cd55 100644 --- a/pallets/astar-xcm-benchmarks/src/fungible/benchmarking.rs +++ b/pallets/astar-xcm-benchmarks/src/fungible/benchmarking.rs @@ -1,19 +1,22 @@ -// Copyright (C) Parity Technologies (UK) Ltd. -// This file is part of Polkadot. +// This file is part of Astar. + +// Copyright (C) 2019-2023 Stake Technologies Pte.Ltd. +// SPDX-License-Identifier: GPL-3.0-or-later -// Polkadot is free software: you can redistribute it and/or modify +// Astar is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. -// Polkadot is distributed in the hope that it will be useful, +// Astar is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see . +// along with Astar. If not, see . +// Copyright (C) Parity Technologies (UK) Ltd. use super::*; use crate::{account_and_location, new_executor, AssetTransactorOf, XcmCallOf}; use frame_benchmarking::{benchmarks_instance_pallet, BenchmarkError, BenchmarkResult}; diff --git a/pallets/astar-xcm-benchmarks/src/fungible/mock.rs b/pallets/astar-xcm-benchmarks/src/fungible/mock.rs index fa867a43b7..76f5f46a7e 100644 --- a/pallets/astar-xcm-benchmarks/src/fungible/mock.rs +++ b/pallets/astar-xcm-benchmarks/src/fungible/mock.rs @@ -1,19 +1,22 @@ -// Copyright (C) Parity Technologies (UK) Ltd. -// This file is part of Polkadot. +// This file is part of Astar. + +// Copyright (C) 2019-2023 Stake Technologies Pte.Ltd. +// SPDX-License-Identifier: GPL-3.0-or-later -// Polkadot is free software: you can redistribute it and/or modify +// Astar is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. -// Polkadot is distributed in the hope that it will be useful, +// Astar is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see . +// along with Astar. If not, see . +// Copyright (C) Parity Technologies (UK) Ltd. //! A mock runtime for XCM benchmarking. use crate::{fungible as xcm_balances_benchmark, mock::*}; diff --git a/pallets/astar-xcm-benchmarks/src/fungible/mod.rs b/pallets/astar-xcm-benchmarks/src/fungible/mod.rs index a400db9f7d..1fa633681e 100644 --- a/pallets/astar-xcm-benchmarks/src/fungible/mod.rs +++ b/pallets/astar-xcm-benchmarks/src/fungible/mod.rs @@ -1,19 +1,22 @@ -// Copyright (C) Parity Technologies (UK) Ltd. -// This file is part of Polkadot. +// This file is part of Astar. + +// Copyright (C) 2019-2023 Stake Technologies Pte.Ltd. +// SPDX-License-Identifier: GPL-3.0-or-later -// Polkadot is free software: you can redistribute it and/or modify +// Astar is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. -// Polkadot is distributed in the hope that it will be useful, +// Astar is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see . +// along with Astar. If not, see . +// Copyright (C) Parity Technologies (UK) Ltd. // Benchmarking for the `AssetTransactor` trait via `Fungible`. pub use pallet::*; diff --git a/pallets/astar-xcm-benchmarks/src/generic/benchmarking.rs b/pallets/astar-xcm-benchmarks/src/generic/benchmarking.rs index 5f3b1f3e08..4336dcd3bf 100644 --- a/pallets/astar-xcm-benchmarks/src/generic/benchmarking.rs +++ b/pallets/astar-xcm-benchmarks/src/generic/benchmarking.rs @@ -1,18 +1,22 @@ -// Copyright (C) Parity Technologies (UK) Ltd. -// This file is part of Polkadot. +// This file is part of Astar. + +// Copyright (C) 2019-2023 Stake Technologies Pte.Ltd. +// SPDX-License-Identifier: GPL-3.0-or-later -// Polkadot is free software: you can redistribute it and/or modify +// Astar is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. -// Polkadot is distributed in the hope that it will be useful, +// Astar is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see . +// along with Astar. If not, see . + +// Copyright (C) Parity Technologies (UK) Ltd. use super::*; use crate::{new_executor, XcmCallOf}; diff --git a/pallets/astar-xcm-benchmarks/src/generic/mock.rs b/pallets/astar-xcm-benchmarks/src/generic/mock.rs index e43c311bcb..6edce1f896 100644 --- a/pallets/astar-xcm-benchmarks/src/generic/mock.rs +++ b/pallets/astar-xcm-benchmarks/src/generic/mock.rs @@ -1,19 +1,22 @@ -// Copyright (C) Parity Technologies (UK) Ltd. -// This file is part of Polkadot. +// This file is part of Astar. + +// Copyright (C) 2019-2023 Stake Technologies Pte.Ltd. +// SPDX-License-Identifier: GPL-3.0-or-later -// Polkadot is free software: you can redistribute it and/or modify +// Astar is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. -// Polkadot is distributed in the hope that it will be useful, +// Astar is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see . +// along with Astar. If not, see . +// Copyright (C) Parity Technologies (UK) Ltd. //! A mock runtime for XCM benchmarking. use crate::{generic, mock::*, *}; diff --git a/pallets/astar-xcm-benchmarks/src/generic/mod.rs b/pallets/astar-xcm-benchmarks/src/generic/mod.rs index 5034dd6d0b..7c00229365 100644 --- a/pallets/astar-xcm-benchmarks/src/generic/mod.rs +++ b/pallets/astar-xcm-benchmarks/src/generic/mod.rs @@ -1,19 +1,22 @@ -// Copyright (C) Parity Technologies (UK) Ltd. -// This file is part of Polkadot. +// This file is part of Astar. + +// Copyright (C) 2019-2023 Stake Technologies Pte.Ltd. +// SPDX-License-Identifier: GPL-3.0-or-later -// Polkadot is free software: you can redistribute it and/or modify +// Astar is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. -// Polkadot is distributed in the hope that it will be useful, +// Astar is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see . +// along with Astar. If not, see . +// Copyright (C) Parity Technologies (UK) Ltd. pub use pallet::*; #[cfg(feature = "runtime-benchmarks")] diff --git a/pallets/astar-xcm-benchmarks/src/lib.rs b/pallets/astar-xcm-benchmarks/src/lib.rs index 1bdd06d69f..30df67e0ef 100644 --- a/pallets/astar-xcm-benchmarks/src/lib.rs +++ b/pallets/astar-xcm-benchmarks/src/lib.rs @@ -1,18 +1,22 @@ -// Copyright (C) Parity Technologies (UK) Ltd. -// This file is part of Polkadot. +// This file is part of Astar. -// Polkadot is free software: you can redistribute it and/or modify +// Copyright (C) 2019-2023 Stake Technologies Pte.Ltd. +// SPDX-License-Identifier: GPL-3.0-or-later + +// Astar is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. -// Polkadot is distributed in the hope that it will be useful, +// Astar is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see . +// along with Astar. If not, see . + +// Copyright (C) Parity Technologies (UK) Ltd.ww.gnu.org/licenses/>. //! Pallet that serves no other purpose than benchmarking raw messages [`Xcm`]. diff --git a/pallets/astar-xcm-benchmarks/src/mock.rs b/pallets/astar-xcm-benchmarks/src/mock.rs index 7d4a07289a..45170bfc6d 100644 --- a/pallets/astar-xcm-benchmarks/src/mock.rs +++ b/pallets/astar-xcm-benchmarks/src/mock.rs @@ -1,19 +1,22 @@ -// Copyright (C) Parity Technologies (UK) Ltd. -// This file is part of Polkadot. +// This file is part of Astar. + +// Copyright (C) 2019-2023 Stake Technologies Pte.Ltd. +// SPDX-License-Identifier: GPL-3.0-or-later -// Polkadot is free software: you can redistribute it and/or modify +// Astar is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. -// Polkadot is distributed in the hope that it will be useful, +// Astar is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see . +// along with Astar. If not, see . +// Copyright (C) Parity Technologies (UK) Ltd. use crate::*; use frame_support::{parameter_types, traits::ContainsPair}; use xcm::latest::Weight;