Skip to content

Commit

Permalink
Update 'wasmd' to v0.53.0 (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
ljoss17 authored Aug 30, 2024
1 parent 8963f6b commit d87f011
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 12 deletions.
28 changes: 23 additions & 5 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 @@ -211,12 +211,15 @@
composable-cosmos-src.url = "github:ComposableFi/composable-cosmos/v6.4.88";
composable-cosmos-src.flake = false;

wasmd-src.url = "github:CosmWasm/wasmd/v0.52.0";
wasmd-src.url = "github:CosmWasm/wasmd/v0.53.0";
wasmd-src.flake = false;

wasmvm_1-src.url = "github:CosmWasm/wasmvm/v1.0.0";
wasmvm_1-src.flake = false;

wasmvm_2_1_2-src.url = "github:CosmWasm/wasmvm/v2.1.2";
wasmvm_2_1_2-src.flake = false;

wasmvm_2_1_0-src.url = "github:CosmWasm/wasmvm/v2.1.0";
wasmvm_2_1_0-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 @@ -161,7 +161,7 @@
};
wasmd = import ../packages/wasmd.nix {
inherit (inputs) wasmd-src;
inherit (self'.packages) libwasmvm_2_1_0;
inherit (self'.packages) libwasmvm_2_1_2;
inherit cosmosLib;
};
rollapp-evm = import ../packages/rollapp-evm.nix {
Expand Down
12 changes: 12 additions & 0 deletions packages/libwasmvm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,18 @@
in
builtins.mapAttrs (_: libwasmvm: pkgs.rustPlatform.buildRustPackage (libwasmvmCommon // libwasmvm))
{
libwasmvm_2_1_2 = {
src = "${inputs.wasmvm_2_1_2-src}/libwasmvm";
version = "v2.1.2";
cargoSha256 = "sha256-BFou131HI+YKXU9H51Xa/y7A441Z7QkAA92mhquJ5l4=";
cargoLock = {
lockFile = "${inputs.wasmvm_2_1_2-src}/libwasmvm/Cargo.lock";
outputHashes = {
"cosmwasm-crypto-2.1.3" = "sha256-WXhz47cNeSRlUGfiXZkGOvu6WjK26MPJB716DiFqYPY=";
};
};
};

libwasmvm_2_1_0 = {
src = "${inputs.wasmvm_2_1_0-src}/libwasmvm";
version = "v2.1.0";
Expand Down
10 changes: 5 additions & 5 deletions packages/wasmd.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
wasmd-src,
cosmosLib,
libwasmvm_2_1_0,
libwasmvm_2_1_2,
}:
cosmosLib.mkCosmosGoApp {
name = "wasm";
version = "v0.52.0";
version = "v0.53.0";
goVersion = "1.21";
src = wasmd-src;
rev = wasmd-src.rev;
vendorHash = "sha256-G4SujfIKNlfGUr7mM9C/iXd0Xc0/wEl6tJB02TufeiI=";
vendorHash = "sha256-rhuYWhaTtrHCeO9l4uiP7L2OmWkCPtMHXBqS7TRzM4s=";
tags = ["netgo"];
engine = "cometbft/cometbft";
preFixup = cosmosLib.wasmdPreFixupPhase libwasmvm_2_1_0 "wasmd";
preFixup = cosmosLib.wasmdPreFixupPhase libwasmvm_2_1_2 "wasmd";
dontStrip = true;
buildInputs = [libwasmvm_2_1_0];
buildInputs = [libwasmvm_2_1_2];

# main module (github.com/CosmWasm/wasmd) does not contain package github.com/CosmWasm/wasmd/tests/system
excludedPackages = ["tests/system"];
Expand Down

0 comments on commit d87f011

Please sign in to comment.