Skip to content

Commit

Permalink
Add Gaia v18.1.0 (#258)
Browse files Browse the repository at this point in the history
* Add Gaia v18.1.0

* Gaia requires libwasmvm_1_5_0 instead
  • Loading branch information
soareschen authored Jul 25, 2024
1 parent 0475f2c commit 826b8dd
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 1 deletion.
18 changes: 18 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@
gaia-main-src.url = "github:cosmos/gaia";
gaia-main-src.flake = false;

gaia18-src.url = "github:cosmos/gaia/v18.1.0";
gaia18-src.flake = false;

gaia17-src.url = "github:cosmos/gaia/v17.2.0";
gaia17-src.flake = false;

Expand Down
3 changes: 2 additions & 1 deletion modules/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,9 @@
([
# Gaia
(import ../packages/gaia.nix {
inherit inputs;
inherit inputs cosmosLib;
inherit (cosmosLib) mkCosmosGoApp;
inherit (self'.packages) libwasmvm_1_5_0;
})
# IBC Go
(import ../packages/ibc-go.nix {
Expand Down
22 changes: 22 additions & 0 deletions packages/gaia.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
inputs,
mkCosmosGoApp,
libwasmvm_1_5_0,
cosmosLib,
}: let
gaias = with inputs;
builtins.mapAttrs (_: mkCosmosGoApp)
Expand Down Expand Up @@ -174,6 +176,26 @@
# Tests have to be disabled because they require Docker to run
doCheck = false;
};

gaia18 = {
name = "gaia";
vendorHash = "sha256-+vTP15mftPKWMkE4yI3avI+jQt917YCYGdUt29E1lYs=";
version = "v18.1.0";
goVersion = "1.22";
src = gaia18-src;
rev = gaia18-src.rev;
tags = ["netgo"];
engine = "cometbft/cometbft";
proxyVendor = true;

preFixup = ''
${cosmosLib.wasmdPreFixupPhase libwasmvm_1_5_0 "gaiad"}
'';
buildInputs = [libwasmvm_1_5_0];

# Tests have to be disabled because they require Docker to run
doCheck = false;
};
};
in
gaias // {gaia-main = gaias.gaia8;}

0 comments on commit 826b8dd

Please sign in to comment.