Commit 9dd07de4 authored by happysalada's avatar happysalada Committed by Yt
Browse files

lighthouse: 3.3.0 -> 3.4.0

parent ac8c02ef
Loading
Loading
Loading
Loading
+11 −7
Original line number Diff line number Diff line
@@ -14,11 +14,12 @@
, stdenv
, testers
, unzip
, nix-update-script
}:

rustPlatform.buildRustPackage rec {
  pname = "lighthouse";
  version = "3.3.0";
  version = "3.4.0";

  # lighthouse/common/deposit_contract/build.rs
  depositContractSpecVersion = "0.12.1";
@@ -28,10 +29,10 @@ rustPlatform.buildRustPackage rec {
    owner = "sigp";
    repo = "lighthouse";
    rev = "v${version}";
    hash = "sha256-py64CWY3k5Z2mm9WduJ4Fh7lQ8b3sF6iIFsYYjndU5I=";
    hash = "sha256-4auiM5+kj/HjZKu2YP7JEnwDNxHuL39XCfmV/dc5jLE=";
  };

  cargoHash = "sha256-0gWTniLkhuPpgdUkE6gpF9uHYT6BeWWgH6Mu7KpFx9w=";
  cargoHash = "sha256-ihfGwdxL7Ttw86dhaVBp5meb0caXjzgbbP27Io8zv/c=";

  buildFeatures = [ "modern" "gnosis" ];

@@ -89,11 +90,14 @@ rustPlatform.buildRustPackage rec {
    nodePackages.ganache
  ];

  passthru.tests.version = testers.testVersion {
  passthru = {
    tests.version = testers.testVersion {
      package = lighthouse;
      command = "lighthouse --version";
      version = "v${lighthouse.version}";
    };
    updateScript = nix-update-script { };
  };

  meta = with lib; {
    description = "Ethereum consensus client in Rust";