mirror of
https://github.com/sigp/lighthouse.git
synced 2026-07-01 20:04:41 +00:00
Upgrade tesnet deposit contract version
This commit is contained in:
@@ -10,12 +10,13 @@ use std::io::Write;
|
|||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
|
|
||||||
const TAG: &str = "v0.9.2";
|
const TAG: &str = "v0.9.2";
|
||||||
|
const UNSAFE_TAG: &str = "v0.9.2.1";
|
||||||
|
|
||||||
fn spec_url() -> String {
|
fn spec_url() -> String {
|
||||||
format!("https://raw.githubusercontent.com/ethereum/eth2.0-specs/{}/deposit_contract/contracts/validator_registration.json", TAG)
|
format!("https://raw.githubusercontent.com/ethereum/eth2.0-specs/{}/deposit_contract/contracts/validator_registration.json", TAG)
|
||||||
}
|
}
|
||||||
fn testnet_url() -> String {
|
fn testnet_url() -> String {
|
||||||
format!("https://raw.githubusercontent.com/sigp/unsafe-eth2-deposit-contract/{}/unsafe_validator_registration.json", TAG)
|
format!("https://raw.githubusercontent.com/sigp/unsafe-eth2-deposit-contract/{}/unsafe_validator_registration.json", UNSAFE_TAG)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|||||||
Reference in New Issue
Block a user