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
ETH2 Validator node support #106063
ETH2 Validator node support #106063
Conversation
95a3079
to
2b12694
Compare
f3dade6
to
5796c79
Compare
This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch) Result of 1 package blacklisted:
2 packages built:
|
4aad885
to
fe5cbba
Compare
fe0db5d
to
d8663d2
Compare
@@ -38,7 +38,12 @@ rustPlatform.buildRustPackage rec { | |||
cargoBuildFlags = [ "--features final" ]; | |||
|
|||
# test result: FAILED. 88 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# test result: FAILED. 88 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out |
This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 1 package blacklisted:
1 package failed to build and are new build failure:
1 package built:
The following issues got detected with the above build packages.
lighthouse-ethereum:
Near pkgs/applications/blockchains/lighthouse/default.nix:24:3:
See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/missing-phase-hooks.md
Near pkgs/applications/blockchains/openethereum/default.nix:51:5:
See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/unclear-gpl.md |
owner = "sigp"; | ||
repo = "lighthouse"; | ||
rev = "v${version}"; | ||
leaveDotGit = true; # Needed to get the proper version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we inject the version easily? Leaving dotGit is kind of a last resort.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried this with https://github.com/NixOS/nixpkgs/pull/106063/files#diff-d8165e975d221069554707389b93737b9aa76e9a4ac2b62e7f466bb8d3494bd5 but I need to find a better solution that I can submit upstream.
Leaving the dotGit doesn't even work for some reason. I will remove it in the next iteration.
3b6b628
to
20578d4
Compare
a435360
to
0eb2e78
Compare
Supreseeded by #128984 |
Motivation for this change
This is still work in progress, I'm currently testing and tweaking the modules: Don't us it yet as a mainnet validator. (Unless you know what you are doing)..
Provide all the necessary services to allow running an ETH2 validator on NixOS.
Open Points:
Related MRs:
The goal is to have this all ready on unstable for the 21.05 stable release so that everybody can run a validatr node on stable.
This probably also means we should define that we will backport new releases of the involved packages to stable branches.
In addition to the official documentation a lot of the best practice was taken from the following sources:
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)