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

Add integration with pallet_offences + pallet_session::historical #61

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
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: 10 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = 'substrate-validator-set'
version = '0.9.42'
version = '1.0.0'
authors = ['Gautam Dhameja <[email protected]>']
edition = '2021'
license = 'Apache-2.0'
Expand All @@ -13,27 +13,27 @@ version = '1.0.126'
[dependencies.sp-core]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
branch = 'polkadot-v0.9.43'
branch = 'polkadot-v1.0.0'

[dependencies.sp-io]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
branch = 'polkadot-v0.9.43'
branch = 'polkadot-v1.0.0'

[dependencies.sp-runtime]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
branch = 'polkadot-v0.9.43'
branch = 'polkadot-v1.0.0'

[dependencies.sp-std]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
branch = 'polkadot-v0.9.43'
branch = 'polkadot-v1.0.0'

[dependencies.sp-staking]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
branch = 'polkadot-v0.9.43'
branch = 'polkadot-v1.0.0'

[dependencies.log]
default-features = false
Expand All @@ -49,23 +49,23 @@ version = '3.0.0'
default-features = false
git = 'https://github.com/paritytech/substrate.git'
optional = true
branch = 'polkadot-v0.9.43'
branch = 'polkadot-v1.0.0'

[dependencies.frame-support]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
branch = 'polkadot-v0.9.43'
branch = 'polkadot-v1.0.0'

[dependencies.frame-system]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
branch = 'polkadot-v0.9.43'
branch = 'polkadot-v1.0.0'

[dependencies.pallet-session]
default-features = false
features = ['historical']
git = 'https://github.com/paritytech/substrate.git'
branch = 'polkadot-v0.9.43'
branch = 'polkadot-v1.0.0'

[dependencies.scale-info]
default-features = false
Expand Down
4 changes: 2 additions & 2 deletions docs/im-online-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
[dependencies.pallet-im-online]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
branch = 'polkadot-v0.9.43'
branch = 'polkadot-v1.0.0'
```

```toml
Expand Down Expand Up @@ -150,7 +150,7 @@ construct_runtime!(
[dependencies.pallet-im-online]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
branch = 'polkadot-v0.9.43'
branch = 'polkadot-v1.0.0'
```

* Import `ImOnlineId` in the `chain_spec.rs`.
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A [Substrate](https://github.com/paritytech/substrate/) pallet to add/remove authorities/validators in PoA networks.

**Note: Current master is compatible with Substrate [polkadot-v0.9.43](https://github.com/paritytech/substrate/tree/polkadot-v0.9.43) branch. For older versions, please see releases/tags.**
**Note: Current master is compatible with Substrate [polkadot-v1.0.0](https://github.com/paritytech/substrate/tree/polkadot-v1.0.0) branch. For older versions, please see releases/tags.**

## Setup with Substrate Node Template

Expand All @@ -22,7 +22,7 @@ version = '0.9.42'
[dependencies.pallet-session]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
branch = 'polkadot-v0.9.43'
branch = 'polkadot-v1.0.0'
```

```toml
Expand Down
1 change: 0 additions & 1 deletion src/benchmarking.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#![cfg(feature = "runtime-benchmarks")]

use super::*;
use crate::Pallet as ValidatorSet;
use frame_benchmarking::v1::{account, benchmarks, BenchmarkError};
use frame_support::traits::EnsureOrigin;

Expand Down
Loading