From 62aae98341194723a4488a722fdb9ff3d51a52de Mon Sep 17 00:00:00 2001 From: akildemir Date: Tue, 19 Sep 2023 15:30:33 +0300 Subject: [PATCH] fix deny --- deny.toml | 2 ++ substrate/staking/primitives/Cargo.toml | 3 +-- substrate/staking/primitives/LICENSE | 28 +++++++++++++++---------- 3 files changed, 20 insertions(+), 13 deletions(-) diff --git a/deny.toml b/deny.toml index 595c6101a..bade778c3 100644 --- a/deny.toml +++ b/deny.toml @@ -60,6 +60,8 @@ exceptions = [ { allow = ["AGPL-3.0"], name = "serai-validator-sets-pallet" }, + { allow = ["AGPL-3.0"], name = "serai-staking-pallet" }, + { allow = ["AGPL-3.0"], name = "serai-runtime" }, { allow = ["AGPL-3.0"], name = "serai-node" }, diff --git a/substrate/staking/primitives/Cargo.toml b/substrate/staking/primitives/Cargo.toml index 3653f8111..d31701d7e 100644 --- a/substrate/staking/primitives/Cargo.toml +++ b/substrate/staking/primitives/Cargo.toml @@ -2,8 +2,7 @@ name = "serai-staking-primitives" version = "0.1.0" description = "Staking primitives for Serai" -license = "AGPL-3.0-only" -repository = "https://github.com/serai-dex/serai/tree/develop/substrate/staking/pallet" +license = "MIT" authors = ["Luke Parker "] edition = "2021" diff --git a/substrate/staking/primitives/LICENSE b/substrate/staking/primitives/LICENSE index d6e1814a2..6779f0ec8 100644 --- a/substrate/staking/primitives/LICENSE +++ b/substrate/staking/primitives/LICENSE @@ -1,15 +1,21 @@ -AGPL-3.0-only license +MIT License -Copyright (c) 2022 Luke Parker +Copyright (c) 2022-2023 Luke Parker -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero General Public License Version 3 as -published by the Free Software Foundation. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: -This program 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 Affero General Public License for more details. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.