Skip to content

Commit

Permalink
fix: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
o-az committed Jan 20, 2025
1 parent eb0c469 commit 5815d71
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions networks/mkCosmosDevnet.nix
Original file line number Diff line number Diff line change
Expand Up @@ -603,19 +603,17 @@ let
mkdir -p $out/checksums
echo -n $(cat "${checksum}") > "$out/checksums/$(basename $wasm .wasm)"
mkdir -p $out/addresses
${
builtins.concatStringsSep "\n" (
pkgs.lib.imap0 (
idx:
{ salt, ... }:
''
echo -n "$(cat ${
getContractAddress creator checksum salt
})" > "$out/addresses/$(basename $wasm .wasm)_${builtins.toString idx}"
''
) instances
)
}
${builtins.concatStringsSep "\n" (
pkgs.lib.imap0 (
idx:
{ salt, ... }:
''
echo -n "$(cat ${
getContractAddress creator checksum salt
})" > "$out/addresses/$(basename $wasm .wasm)_${builtins.toString idx}"
''
) instances
)}
done
'';

Expand Down

0 comments on commit 5815d71

Please sign in to comment.