From dc4f80d224915f3e4214a5237cc97dd5f4df3817 Mon Sep 17 00:00:00 2001 From: bgallois <benjamin@gallois.cc> Date: Mon, 29 May 2023 10:28:02 +0200 Subject: [PATCH] fix cargo files --- Cargo.lock | 2 +- pallets/offences/Cargo.toml | 12 ++++++------ runtime/g1/Cargo.toml | 2 +- runtime/gtest/Cargo.toml | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7a2dd3e8e..d00e4ff66 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5305,7 +5305,7 @@ dependencies = [ [[package]] name = "pallet-offences" -version = "4.0.0-dev" +version = "3.0.0" dependencies = [ "frame-support", "frame-system", diff --git a/pallets/offences/Cargo.toml b/pallets/offences/Cargo.toml index 60262da7f..560b22f5b 100644 --- a/pallets/offences/Cargo.toml +++ b/pallets/offences/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "pallet-offences" -version = "4.0.0-dev" -authors = ["Parity Technologies <admin@parity.io>"] +authors = ["Parity Technologies <admin@parity.io>", "Axiom-Team Developers <https://axiom-team.fr>"] +description = 'FRAME pallet to handle offences.' edition = "2021" -license = "Apache-2.0" -homepage = "https://substrate.io" -repository = "https://github.com/paritytech/substrate/" -description = "FRAME offences pallet" +homepage = 'https://duniter.org' +license = 'AGPL-3.0' +repository = 'https://git.duniter.org/nodes/rust/duniter-v2s' +version = '3.0.0' readme = "README.md" [package.metadata.docs.rs] diff --git a/runtime/g1/Cargo.toml b/runtime/g1/Cargo.toml index a4c542cdb..93b8f3464 100644 --- a/runtime/g1/Cargo.toml +++ b/runtime/g1/Cargo.toml @@ -123,6 +123,7 @@ pallet-provide-randomness = { path = '../../pallets/provide-randomness', default pallet-universal-dividend = { path = '../../pallets/universal-dividend', default-features = false } pallet-upgrade-origin = { path = '../../pallets/upgrade-origin', default-features = false } sp-membership = { path = '../../primitives/membership', default-features = false } +pallet-offences = { path = '../../pallets/offences', default-features = false } # crates.io codec = { package = "parity-scale-codec", version = "3.1.5", features = ["derive"], default-features = false } @@ -147,7 +148,6 @@ pallet-balances = { git = 'https://github.com/duniter/substrate', branch = 'duni pallet-collective = { git = 'https://github.com/duniter/substrate', branch = 'duniter-substrate-v0.9.32', default-features = false } pallet-grandpa = { git = 'https://github.com/duniter/substrate', branch = 'duniter-substrate-v0.9.32', default-features = false } pallet-im-online = { git = 'https://github.com/duniter/substrate', branch = 'duniter-substrate-v0.9.32', default-features = false } -pallet-offences = { path = '../../pallets/offences', default-features = false } pallet-multisig = { git = 'https://github.com/duniter/substrate', branch = 'duniter-substrate-v0.9.32', default-features = false } pallet-preimage = { git = 'https://github.com/duniter/substrate', branch = 'duniter-substrate-v0.9.32', default-features = false } pallet-proxy = { git = 'https://github.com/duniter/substrate', branch = 'duniter-substrate-v0.9.32', default-features = false } diff --git a/runtime/gtest/Cargo.toml b/runtime/gtest/Cargo.toml index 0fe689380..43ff07fb3 100644 --- a/runtime/gtest/Cargo.toml +++ b/runtime/gtest/Cargo.toml @@ -146,6 +146,7 @@ pallet-universal-dividend = { path = '../../pallets/universal-dividend', default pallet-session-benchmarking = { path = '../../pallets/session-benchmarking', default-features = false } pallet-upgrade-origin = { path = '../../pallets/upgrade-origin', default-features = false } sp-membership = { path = '../../primitives/membership', default-features = false } +pallet-offences = { path = '../../pallets/offences', default-features = false } # crates.io codec = { package = "parity-scale-codec", version = "3.1.5", features = ["derive"], default-features = false } @@ -169,7 +170,6 @@ pallet-balances = { git = 'https://github.com/duniter/substrate', branch = 'duni pallet-collective = { git = 'https://github.com/duniter/substrate', branch = 'duniter-substrate-v0.9.32', default-features = false } pallet-grandpa = { git = 'https://github.com/duniter/substrate', branch = 'duniter-substrate-v0.9.32', default-features = false } pallet-im-online = { git = 'https://github.com/duniter/substrate', branch = 'duniter-substrate-v0.9.32', default-features = false } -pallet-offences = { path = '../../pallets/offences', default-features = false } pallet-multisig = { git = 'https://github.com/duniter/substrate', branch = 'duniter-substrate-v0.9.32', default-features = false } pallet-preimage = { git = 'https://github.com/duniter/substrate', branch = 'duniter-substrate-v0.9.32', default-features = false } pallet-proxy = { git = 'https://github.com/duniter/substrate', branch = 'duniter-substrate-v0.9.32', default-features = false } -- GitLab