-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#275 update to HDI and holochain 0.0.152 #340
Conversation
we've just landed the migration on the Acorn project, so have learned a few lessons along the way and feel prepared for this |
…REA into feature/275-update-holochain-150
Pushed the fix, that is letting us get the integration tests running |
…arate the test running dots, for context
…t integration test errors
It seems like the remaining errors (there may be others I haven't investigated yet) are related to
which is related to https://github.com/holochain-open-dev/dna-auth-resolver/blob/2c9951ae5cc567b7560773d94ec6c34a0afe0758/core/src/lib.rs#L32 where the error in generated in holochain: https://github.com/holochain/holochain/blob/29f7cf536c030c5d79c6595f4bdbcb0c61c3b9d1/crates/hdk_derive/src/link_types.rs#L71 |
we had a bad assumption in play, which is that the relationship between the indexing integrity zomes could be one-to-many (one integrity zome, many indexing zomes), but that was bad. it meant that when calling get_links, links from other indexing zomes could be mixed in with the links for the intended indexing zome
…o commit it so can just use untyped Path to get the hash
merrrrrrrging |
In case not using nix-shell, these are the package versions for this branch:
cargo install holochain --version 0.0.152
cargo install holochain_cli --version 0.0.50
cargo install lair_keystore --version 0.0.11
additionally you will need the following:
wasm32-unknown-unknown
target:rustup target add wasm32-unknown-unknown
Current HDK: 0.0.144
closes #275
Header
toAction
Element
toRecord
IndexSegment
entry type and its method implementations in the integrity zome, or removehdk_records
, along with integrity zome crate (or define in link type in each object type integrity zome and pass in the type to hdk_records functions)