Switch back to the old undepleted Infura key; Bake in the Medalla genesis state
This commit is contained in:
parent
d052623381
commit
8c2a9a4950
2
Makefile
2
Makefile
|
@ -19,7 +19,7 @@ NODE_ID := 0
|
||||||
BASE_PORT := 9000
|
BASE_PORT := 9000
|
||||||
BASE_RPC_PORT := 9190
|
BASE_RPC_PORT := 9190
|
||||||
BASE_METRICS_PORT := 8008
|
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
|
VALIDATORS := 1
|
||||||
|
|
||||||
# unconditionally built by the default Make target
|
# unconditionally built by the default Make target
|
||||||
|
|
|
@ -564,11 +564,6 @@ proc findGenesisBlockInRange(m: MainchainMonitor,
|
||||||
else:
|
else:
|
||||||
endBlock = candidateAsEth1Block
|
endBlock = candidateAsEth1Block
|
||||||
|
|
||||||
info "Genesis block selected",
|
|
||||||
blockNum = endBlock.number,
|
|
||||||
blockHash = endBlock.voteData.block_hash,
|
|
||||||
blockTime = endBlock.timestamp
|
|
||||||
|
|
||||||
return endBlock
|
return endBlock
|
||||||
|
|
||||||
proc checkForGenesisLoop(m: MainchainMonitor) {.async.} =
|
proc checkForGenesisLoop(m: MainchainMonitor) {.async.} =
|
||||||
|
@ -617,7 +612,7 @@ proc checkForGenesisLoop(m: MainchainMonitor) {.async.} =
|
||||||
let genesisBlock = await m.findGenesisBlockInRange(preceedingEth1Block, genesisCandidate)
|
let genesisBlock = await m.findGenesisBlockInRange(preceedingEth1Block, genesisCandidate)
|
||||||
if genesisBlock.number != genesisCandidate.number:
|
if genesisBlock.number != genesisCandidate.number:
|
||||||
m.signalGenesis m.createBeaconState(genesisBlock)
|
m.signalGenesis m.createBeaconState(genesisBlock)
|
||||||
return
|
return
|
||||||
|
|
||||||
m.signalGenesis candidateState
|
m.signalGenesis candidateState
|
||||||
return
|
return
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit d057d1e5a42c4d14c39e7e3211398ed65bb8aa6c
|
Subproject commit 4bfc7c1c4356fbfadcdde57bafe1e00f8de35789
|
Loading…
Reference in New Issue