-
Notifications
You must be signed in to change notification settings - Fork 805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - Allow setting web3signer version through environment #3368
Conversation
Thanks for the PR @philipmw. I think we'll be able to merge this soon, but it needs a |
3a46e84
to
481d4bd
Compare
Thanks for the review, @michaelsproul. I fixed the formatting and updated the request. |
Hmm, I see my change is causing a CI failure. I am not familiar with Rust. I'll try to fix it, but meanwhile if you know how to solve this, I'd appreciate a tip. |
I think you should add the condition here: lighthouse/testing/web3signer_tests/build.rs Lines 30 to 32 in 21dec6f
The |
Thanks for the tip! I rewrote it as you suggest. |
The goal is to make it possible to build Lighthouse without network access, so builds can be reproducible. This parallels the existing functionality in `common/deposit_contract/build.rs`, which allows specifying a filename through the environment to avoid downloading it. In this case, by specifying the version and making it available on the filesystem, the existing logic will avoid a network download.
bors r+ |
## Issue Addressed #3369 ## Proposed Changes The goal is to make it possible to build Lighthouse without network access, so builds can be reproducible. This parallels the existing functionality in `common/deposit_contract/build.rs`, which allows specifying a filename through the environment to avoid downloading it. In this case, by specifying the version and making it available on the filesystem, the existing logic will avoid a network download.
Issue Addressed
#3369
Proposed Changes
The goal is to make it possible to build Lighthouse without network access,
so builds can be reproducible.
This parallels the existing functionality in
common/deposit_contract/build.rs
,which allows specifying a filename through the environment to avoid downloading
it. In this case, by specifying the version and making it available on the
filesystem, the existing logic will avoid a network download.