Switch back to the old undepleted Infura key; Bake in the Medalla genesis state

This commit is contained in:
Zahary Karadjov 2020-08-03 03:59:45 +03:00
parent d052623381
commit 8c2a9a4950
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
3 changed files with 3 additions and 8 deletions

View File

@ -19,7 +19,7 @@ NODE_ID := 0
BASE_PORT := 9000
BASE_RPC_PORT := 9190
BASE_METRICS_PORT := 8008
GOERLI_WEB3_URL := "wss://goerli.infura.io/ws/v3/6224f3c792cc443fafb64e70a98f871e"
GOERLI_WEB3_URL := "wss://goerli.infura.io/ws/v3/809a18497dd74102b5f37d25aae3c85a"
VALIDATORS := 1
# unconditionally built by the default Make target

View File

@ -564,11 +564,6 @@ proc findGenesisBlockInRange(m: MainchainMonitor,
else:
endBlock = candidateAsEth1Block
info "Genesis block selected",
blockNum = endBlock.number,
blockHash = endBlock.voteData.block_hash,
blockTime = endBlock.timestamp
return endBlock
proc checkForGenesisLoop(m: MainchainMonitor) {.async.} =
@ -617,7 +612,7 @@ proc checkForGenesisLoop(m: MainchainMonitor) {.async.} =
let genesisBlock = await m.findGenesisBlockInRange(preceedingEth1Block, genesisCandidate)
if genesisBlock.number != genesisCandidate.number:
m.signalGenesis m.createBeaconState(genesisBlock)
return
return
m.signalGenesis candidateState
return

@ -1 +1 @@
Subproject commit d057d1e5a42c4d14c39e7e3211398ed65bb8aa6c
Subproject commit 4bfc7c1c4356fbfadcdde57bafe1e00f8de35789