Add forks supported.
This commit is contained in:
parent
ab4d666681
commit
988ac8a22d
@ -29,6 +29,12 @@ pub use self::denominations::*;
|
|||||||
|
|
||||||
use super::spec::*;
|
use super::spec::*;
|
||||||
|
|
||||||
|
/// Most recent fork block that we support on Mainnet.
|
||||||
|
pub const FORK_SUPPORTED_FRONTIER: u64 = 2675000;
|
||||||
|
|
||||||
|
/// Most recent fork block that we support on Ropsten.
|
||||||
|
pub const FORK_SUPPORTED_ROPSTEN: u64 = 10;
|
||||||
|
|
||||||
fn load(b: &[u8]) -> Spec {
|
fn load(b: &[u8]) -> Spec {
|
||||||
Spec::load(b).expect("chain spec is invalid")
|
Spec::load(b).expect("chain spec is invalid")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user