2022-09-23 16:06:25 +00:00
|
|
|
let
|
|
|
|
pkgs = import ../../../nix { };
|
|
|
|
fetchEthermint = rev: builtins.fetchTarball "https://github.com/evmos/ethermint/archive/${rev}.tar.gz";
|
|
|
|
released = pkgs.buildGo118Module rec {
|
|
|
|
name = "ethermintd";
|
|
|
|
# the commit before https://github.com/evmos/ethermint/pull/943
|
2022-12-23 12:58:26 +00:00
|
|
|
src = fetchEthermint "8866ae0ffd67a104e9d1cf4e50fba8391dda6c45";
|
2022-09-23 16:06:25 +00:00
|
|
|
subPackages = [ "cmd/ethermintd" ];
|
2022-12-23 12:58:26 +00:00
|
|
|
vendorSha256 = "sha256-oDtMamNlwe/393fZd+RNtRy6ipWpusbco8Xg1ZuKWYw=";
|
2022-09-23 16:06:25 +00:00
|
|
|
doCheck = false;
|
|
|
|
};
|
|
|
|
current = pkgs.callPackage ../../../. { };
|
|
|
|
in
|
|
|
|
pkgs.linkFarm "upgrade-test-package" [
|
|
|
|
{ name = "genesis"; path = released; }
|
|
|
|
{ name = "integration-test-upgrade"; path = current; }
|
|
|
|
]
|