diff --git a/Cargo.lock b/Cargo.lock index 7a2dd3e8e07e8aac32a72c4573107bd0f1323788..d00e4ff660ceb428492319cc6bd2b3f36760fbb7 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 60262da7ffe524c03c76ff5f6d80e403ac3b9052..560b22f5b65eb1611545b89035ca270b8fbdf62b 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 a4c542cdb826c87375521895d11368399dbc3baf..93b8f3464866b1bdce640138f2745b71094447d2 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 0fe6893807b6c0865792c00e560eefbd7f315053..43ff07fb3b03ab3e2b01e097023a40821d00ffa6 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 }