Add info on forks. (#4733)

This commit is contained in:
Gav Wood 2017-03-03 08:20:25 +01:00 committed by GitHub
parent 810c71dd66
commit 3a0c4b6539
1 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,9 @@ pub const FORK_SUPPORTED_FRONTIER: u64 = 2675000;
/// Most recent fork block that we support on Ropsten.
pub const FORK_SUPPORTED_ROPSTEN: u64 = 10;
/// Most recent fork block that we support on Kovan.
pub const FORK_SUPPORTED_KOVAN: u64 = 0;
fn load(b: &[u8]) -> Spec {
Spec::load(b).expect("chain spec is invalid")
}