This repository has been archived by the owner on Apr 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 563
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
imp(tests): integration tests setup (#1196)
* first pass * latest * working tests * github actions * remove unnecessary change * remove unnecessary steps * remove unnecessary import * remove unnecessary change * Update .github/workflows/test.yml Co-authored-by: yihuang <[email protected]> * update .gitignore * update github actions * change evm denomination * change evm denomination * send tests to tests folder * Delete result * update go version Co-authored-by: yihuang <[email protected]> Co-authored-by: Federico Kunze Küllmer <[email protected]>
- Loading branch information
1 parent
3460cba
commit fd0e62a
Showing
35 changed files
with
29,987 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ lib | ||
, buildGoApplication | ||
, nix-gitignore | ||
, rev ? "dirty" | ||
}: | ||
let | ||
version = "v0.17.1"; | ||
pname = "ethermintd"; | ||
tags = [ "ledger" "netgo" ]; | ||
ldflags = lib.concatStringsSep "\n" ([ | ||
"-X github.com/cosmos/cosmos-sdk/version.Name=ethermint" | ||
"-X github.com/cosmos/cosmos-sdk/version.AppName=${pname}" | ||
"-X github.com/cosmos/cosmos-sdk/version.Version=${version}" | ||
"-X github.com/cosmos/cosmos-sdk/version.BuildTags=${lib.concatStringsSep "," tags}" | ||
"-X github.com/cosmos/cosmos-sdk/version.Commit=${rev}" | ||
]); | ||
in | ||
buildGoApplication rec { | ||
inherit pname version tags ldflags; | ||
src = (nix-gitignore.gitignoreSourcePure [ | ||
"../*" # ignore all, then add whitelists | ||
"!../x/" | ||
"!../app/" | ||
"!../cmd/" | ||
"!../client/" | ||
"!../server/" | ||
"!../crypto/" | ||
"!../rpc/" | ||
"!../types/" | ||
"!../encoding/" | ||
"!../go.mod" | ||
"!../go.sum" | ||
"!../gomod2nix.toml" | ||
] ./.); | ||
modules = ./gomod2nix.toml; | ||
doCheck = false; | ||
pwd = src; # needed to support replace | ||
subPackages = [ "cmd/ethermintd" ]; | ||
CGO_ENABLED = "1"; | ||
|
||
meta = with lib; { | ||
description = "Ethermint is a scalable and interoperable Ethereum library, built on Proof-of-Stake with fast-finality using the Cosmos SDK which runs on top of Tendermint Core consensus engine."; | ||
homepage = "https://github.com/evmos/ethermint"; | ||
license = licenses.asl20; | ||
mainProgram = "ethermintd"; | ||
}; | ||
} |
Oops, something went wrong.