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

[CSUB-673] Increase max authorities #1231

Merged
merged 3 commits into from
Aug 1, 2023
Merged
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
26 changes: 13 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ members = [
resolver = "2"

[workspace.package]
version = '2.224.0'
version = '2.225.0'
authors = ['Gluwa Inc.', 'Nathan Whitaker <nathan.whitaker@gluwa.com>']
edition = '2021'
license = 'Unlicense'
Expand Down
2 changes: 1 addition & 1 deletion creditcoin-js/creditcoin.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ parameter_types! {
BondingDuration::get() as u64 * SessionsPerEra::get() as u64 * EpochDuration::get();
}

type MaxAuthorties = ConstU32<256>;
type MaxAuthorities = ConstU32<100_000>;

impl pallet_grandpa::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
Expand All @@ -289,7 +289,7 @@ impl pallet_grandpa::Config for Runtime {
pallet_grandpa::EquivocationReportSystem<Self, Offences, Historical, ReportLongevity>;

type WeightInfo = ();
type MaxAuthorities = MaxAuthorties;
type MaxAuthorities = MaxAuthorities;
type MaxSetIdSessionEntries = ConstU64<0>; // used for equivocation
}

Expand Down Expand Up @@ -320,7 +320,7 @@ impl pallet_babe::Config for Runtime {
type EquivocationReportSystem =
pallet_babe::EquivocationReportSystem<Self, Offences, Historical, ReportLongevity>;
type WeightInfo = ();
type MaxAuthorities = MaxAuthorties;
type MaxAuthorities = MaxAuthorities;
type DisabledValidators = (); // TODO: Consider whether to use this (through the session pallet)
}

Expand Down
2 changes: 1 addition & 1 deletion runtime/src/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// `spec_version`, and `authoring_version` are the same between Wasm and native.
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
// the compatible custom types.
spec_version: 224,
spec_version: 225,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 11,
Expand Down