lighthouse/common/deposit_contract
Pascal Bach c646d2f7a3 Allow specifying alternative url for deposit_contract (#2295)
## Issue Addressed

None

## Proposed Changes

Adds support for downloading the deposit contract from a different location
by setting the environement variables `LIGHTHOUSE_DEPOSIT_CONTRACT_SPEC_URL`
and `LIGHTHOUSE_DEPOSIT_CONTRACT_TESTNET_URL`.

It also adds support to fetch the content from a local file:// URL.

This allows pre fetching to build in an environment without network access.

## Additional Info

Being able to build without network access is required to package the application for https://nixos.org/. But I imagine it might be useful for other distributions too.
2021-04-16 06:47:34 +00:00
..
src VC: accept unknown fields in chain spec (#2277) 2021-03-26 04:53:57 +00:00
.gitignore Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
build.rs Allow specifying alternative url for deposit_contract (#2295) 2021-04-16 06:47:34 +00:00
Cargo.toml Update to tokio 1.1 (#2172) 2021-02-10 23:29:49 +00:00