Skip to content

Commit 826b8dd

Browse files
authored
Add Gaia v18.1.0 (#258)
* Add Gaia v18.1.0 * Gaia requires libwasmvm_1_5_0 instead
1 parent 0475f2c commit 826b8dd

File tree

4 files changed

+45
-1
lines changed

4 files changed

+45
-1
lines changed

flake.lock

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@
7777
gaia-main-src.url = "github:cosmos/gaia";
7878
gaia-main-src.flake = false;
7979

80+
gaia18-src.url = "github:cosmos/gaia/v18.1.0";
81+
gaia18-src.flake = false;
82+
8083
gaia17-src.url = "github:cosmos/gaia/v17.2.0";
8184
gaia17-src.flake = false;
8285

modules/packages.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,9 @@
179179
([
180180
# Gaia
181181
(import ../packages/gaia.nix {
182-
inherit inputs;
182+
inherit inputs cosmosLib;
183183
inherit (cosmosLib) mkCosmosGoApp;
184+
inherit (self'.packages) libwasmvm_1_5_0;
184185
})
185186
# IBC Go
186187
(import ../packages/ibc-go.nix {

packages/gaia.nix

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
inputs,
33
mkCosmosGoApp,
4+
libwasmvm_1_5_0,
5+
cosmosLib,
46
}: let
57
gaias = with inputs;
68
builtins.mapAttrs (_: mkCosmosGoApp)
@@ -174,6 +176,26 @@
174176
# Tests have to be disabled because they require Docker to run
175177
doCheck = false;
176178
};
179+
180+
gaia18 = {
181+
name = "gaia";
182+
vendorHash = "sha256-+vTP15mftPKWMkE4yI3avI+jQt917YCYGdUt29E1lYs=";
183+
version = "v18.1.0";
184+
goVersion = "1.22";
185+
src = gaia18-src;
186+
rev = gaia18-src.rev;
187+
tags = ["netgo"];
188+
engine = "cometbft/cometbft";
189+
proxyVendor = true;
190+
191+
preFixup = ''
192+
${cosmosLib.wasmdPreFixupPhase libwasmvm_1_5_0 "gaiad"}
193+
'';
194+
buildInputs = [libwasmvm_1_5_0];
195+
196+
# Tests have to be disabled because they require Docker to run
197+
doCheck = false;
198+
};
177199
};
178200
in
179201
gaias // {gaia-main = gaias.gaia8;}

0 commit comments

Comments
 (0)