forked from cerc-io/laconicd-deprecated
35850e620d
* Problem: grpc query fail on legacy blocks `BaseFee` and `EthCall`. Solution: - since grpc query handlers are used for all versions of the blocks, it need to be compatible with legacy formats. debug fix basefee fetch Revert "debug" This reverts commit 50ebaf697fc06b0d6e26abd8de8f89717e8a219d. update gomod2nix Update CHANGELOG.md debug fix panic Revert "debug" This reverts commit e08af04b0776bd390c42706cc9ec978e00bcb3bb. * add upgrade integration test * Update tests/integration_tests/configs/upgrade-test-package.nix Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
44 lines
1.4 KiB
Nix
44 lines
1.4 KiB
Nix
{ sources ? import ./sources.nix, system ? builtins.currentSystem, ... }:
|
|
|
|
import sources.nixpkgs {
|
|
overlays = [
|
|
(_: pkgs: {
|
|
go = pkgs.go_1_18;
|
|
go-ethereum = pkgs.callPackage ./go-ethereum.nix {
|
|
inherit (pkgs.darwin) libobjc;
|
|
inherit (pkgs.darwin.apple_sdk.frameworks) IOKit;
|
|
buildGoModule = pkgs.buildGo118Module;
|
|
};
|
|
}) # update to a version that supports eip-1559
|
|
# https://github.com/NixOS/nixpkgs/pull/179622
|
|
(import ./go_1_18_overlay.nix)
|
|
(final: prev:
|
|
(import "${sources.gomod2nix}/overlay.nix")
|
|
(final // {
|
|
inherit (final.darwin.apple_sdk_11_0) callPackage;
|
|
})
|
|
prev)
|
|
(pkgs: _:
|
|
import ./scripts.nix {
|
|
inherit pkgs;
|
|
config = {
|
|
ethermint-config = ../scripts/ethermint-devnet.yaml;
|
|
geth-genesis = ../scripts/geth-genesis.json;
|
|
dotenv = builtins.path { name = "dotenv"; path = ../scripts/.env; };
|
|
};
|
|
})
|
|
(_: pkgs: { test-env = import ./testenv.nix { inherit pkgs; }; })
|
|
(_: pkgs: {
|
|
cosmovisor = pkgs.buildGo118Module rec {
|
|
name = "cosmovisor";
|
|
src = sources.cosmos-sdk + "/cosmovisor";
|
|
subPackages = [ "./cmd/cosmovisor" ];
|
|
vendorSha256 = "sha256-OAXWrwpartjgSP7oeNvDJ7cTR9lyYVNhEM8HUnv3acE=";
|
|
doCheck = false;
|
|
};
|
|
})
|
|
];
|
|
config = { };
|
|
inherit system;
|
|
}
|