Skip to content

Commit

Permalink
Update Juno from v24.0.0 to v25.0.0 (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
ljoss17 authored Oct 15, 2024
1 parent 706d320 commit 8b7f6e8
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 11 deletions.
26 changes: 22 additions & 4 deletions flake.lock

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

5 changes: 4 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
evmos-src.url = "github:evmos/evmos/v16.0.0-rc4";
evmos-src.flake = false;

juno-src.url = "github:CosmosContracts/juno/v24.0.0";
juno-src.url = "github:CosmosContracts/juno/v25.0.0";
juno-src.flake = false;

osmosis-src.url = "github:osmosis-labs/osmosis/v25.2.0";
Expand Down Expand Up @@ -229,6 +229,9 @@
wasmvm_2_0_0-src.url = "github:CosmWasm/wasmvm/v2.0.0";
wasmvm_2_0_0-src.flake = false;

wasmvm_1_5_5-src.url = "github:CosmWasm/wasmvm/v1.5.5";
wasmvm_1_5_5-src.flake = false;

wasmvm_1_5_4-src.url = "github:CosmWasm/wasmvm/v1.5.4";
wasmvm_1_5_4-src.flake = false;

Expand Down
2 changes: 1 addition & 1 deletion modules/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
};
juno = import ../packages/juno.nix {
inherit (inputs) juno-src;
inherit (self'.packages) libwasmvm_1_5_4;
inherit (self'.packages) libwasmvm_1_5_5;
inherit cosmosLib;
};
migaloo = import ../packages/migaloo.nix {
Expand Down
10 changes: 5 additions & 5 deletions packages/juno.nix
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
cosmosLib,
juno-src,
libwasmvm_1_5_4,
libwasmvm_1_5_5,
}:
cosmosLib.mkCosmosGoApp {
name = "juno";
version = "v24.0.0";
version = "v25.0.0";
goVersion = "1.22";
src = juno-src;
rev = juno-src.rev;
vendorHash = "sha256-srBwnVyOx6Zt6n2e6WhZd+uHWNnpyv6fQTi1A9jsVd0=";
vendorHash = "sha256-HDHsBuuJ+ta3ynYv8NVqEdd0h4UNWBelUA8j+YoEf4E=";
tags = ["netgo"];
engine = "cometbft/cometbft";
excludedPackages = ["interchaintest"];
preFixup = ''
${cosmosLib.wasmdPreFixupPhase libwasmvm_1_5_4 "junod"}
${cosmosLib.wasmdPreFixupPhase libwasmvm_1_5_5 "junod"}
'';
dontStrip = true;
buildInputs = [libwasmvm_1_5_4];
buildInputs = [libwasmvm_1_5_5];
}
12 changes: 12 additions & 0 deletions packages/libwasmvm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,18 @@ in
};
};

libwasmvm_1_5_5 = {
src = "${inputs.wasmvm_1_5_5-src}/libwasmvm";
version = "v1.5.5";
cargoSha256 = "sha256-BFou131HI+YKXU9H51Xa/y7A441Z7QkAA92mhquJ5l4=";
cargoLock = {
lockFile = "${inputs.wasmvm_1_5_5-src}/libwasmvm/Cargo.lock";
outputHashes = {
"cosmwasm-crypto-1.5.8" = "sha256-H5PXdAInZIgzkAUQlqXp7KSQhgy3mGN5WQeumRKoNc4=";
};
};
};

libwasmvm_1_5_4 = {
src = "${inputs.wasmvm_1_5_4-src}/libwasmvm";
version = "v1.5.4";
Expand Down

0 comments on commit 8b7f6e8

Please sign in to comment.