Skip to content

Commit

Permalink
upgraded to hdk0.0.126
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Cal committed Apr 6, 2022
1 parent 1d660d9 commit db6a763
Show file tree
Hide file tree
Showing 9 changed files with 314 additions and 42 deletions.
142 changes: 111 additions & 31 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions default.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
let
hash_nix = "46297548fd8db19bec228171a524330e7b5f6744";
holonixPath = builtins.fetchTarball "https://github.com/holochain/holonix/archive/${hash_nix}.tar.gz";
holonixPath = (import ./nix/sources.nix).holonix; # points to the current state of the Holochain repository
holonix = import (holonixPath) {
holochainVersionId = "v0_0_124";
holochainVersionId = "v0_0_131"; # specifies the Holochain version
};
nixpkgs = holonix.pkgs;
in nixpkgs.mkShell {
inputsFrom = [ holonix.main ];
packages = with nixpkgs; [
# additional packages go here
niv
nodejs-16_x
# additional packages go here
];
}
8 changes: 4 additions & 4 deletions dna/zomes/chess/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
authors = ["manuel_puentes"]
authors = ["manuel_puentes","Thomas_cal"]
edition = "2018"
name = "hc_zome_chess"
version = "0.0.1"
Expand All @@ -13,8 +13,8 @@ chrono = {version = "0.4", features = ["serde"]}
derive_more = "0"
serde = "1"

hdk = {version = "0.0.122", features = ["encoding"]}
hdk = {version = "0.0.126", features = ["encoding"]}

chess = "3.2.0"
hc_mixin_elo = {git = "http://github.com/eyss/elo", rev = "aaf1f8eec880d020195f3d9f9e9f3932482eafbf"}
hc_mixin_turn_based_game = {git = "http://github.com/eyss/turn-based-game", rev = "5c69d3b364e28da009063092a3f7e4eb27c4f630"}
hc_mixin_elo = {git = "http://github.com/eyss/elo", rev = "for-hdk-v0.0.126"}
hc_mixin_turn_based_game = {git = "http://github.com/eyss/turn-based-game", rev = "for-hdk-v0.0.126"}
1 change: 1 addition & 0 deletions dna/zomes/chess/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ pub fn close_games(input: Vec<CloseGameInput>) -> ExternResult<()> {
create_link(
i.game_hash.into(),
i.game_result_hash.into(),
LinkType(0),
closing_game_result_tag(),
)?;
}
Expand Down
2 changes: 1 addition & 1 deletion dna/zomes/invitations/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ crate-type = ["cdylib", "rlib"]
name = "invitations"

[dependencies]
hc_zome_invitations = {git = "https://github.com/eyss/invitations", rev = "3d7ca03a4b05793503df1c45ec43ed50ae74327b"}
hc_zome_invitations = {git = "https://github.com/eyss/invitations", rev = "for-hdk-v0.0.126", package = "hc_zome_invitations"}
2 changes: 1 addition & 1 deletion dna/zomes/profiles/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ name = "profiles"
crate-type = [ "cdylib", "rlib" ]

[dependencies]
hc_zome_profiles = {git = "https://github.com/holochain-open-dev/profiles", rev = "for-hc-v0.0.126"}
hc_zome_profiles = {git = "https://github.com/holochain-open-dev/profiles", branch = "for-hdk-v0.0.126", package = "hc_zome_profiles"}
14 changes: 14 additions & 0 deletions nix/sources.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"holonix": {
"branch": "main",
"description": "NixOS && Holochain",
"homepage": "",
"owner": "holochain",
"repo": "holonix",
"rev": "e38f79f38dd0fb360821dc916c619252da03db77",
"sha256": "1zsn2a6ni06j63dvls6dqlygjrpn54g50426jpvgchny9w089826",
"type": "tarball",
"url": "https://github.com/holochain/holonix/archive/e38f79f38dd0fb360821dc916c619252da03db77.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}
}
Loading

0 comments on commit db6a763

Please sign in to comment.