This repository was archived by the owner on Feb 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 266
[needs review] 946 feature HeaderWithItsEntry #2006
Open
jameschrray
wants to merge
111
commits into
holochain:develop
Choose a base branch
from
jameschrray:946-feature-chain-pair
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 108 commits
Commits
Show all changes
111 commits
Select commit
Hold shift + click to select a range
98ea160
Add incomplete work on chain-pair, discontinuing for now.
jamesray1 c5be663
Add more work, still incomplete
jamesray1 2a2aa67
More work on reworking entry_with_header and EntryWithHeader and depe…
jamesray1 09f5ece
Fix formatting errors and some logical errors
jamesray1 57d9ed2
Add work on implementing Display for HeaderEntryMismatch: several err…
jamesray1 4cf1b56
Don't deref self
jamesray1 ee46a2d
Add fixes.
jamesray1 ac42df2
Fix errors, e.g. with handling errors when creating a chain pair
jamesray1 7ad80a2
Fixes. Merge changes from develop, fix conflicts
jamesray1 8b25845
track chain_pair.rs, commit
jamesray1 06f1548
Merge branch 'develop' of https://github.com/holochain/holochain-rust…
jamesray1 ec2b4c3
Save work
jamesray1 88cf486
Re-add chain_pair.rs with revisions from upstream, delete entry_with_…
jamesray1 9ca847d
use try_from_header_and_entry and remove new for ChainPair.
jamesray1 9dcf231
Fixing errors. Noticed that retry_validations was missing so added ma…
jamesray1 85c9d84
Fixes, use try_validate_from_entry_and_header to reduce boilerplate
jamesray1 7948745
Merge from upstream, fixing conflicts
jamesray1 20c3921
Move try_validate_from_entry_and_header to impl PendingValidationStruct
jamesray1 3794020
Merge branch 'develop' of https://github.com/holochain/holochain-rust…
jamesray1 afe3c3f
Manually got hold_entry_remove and mod workflows from upstream develo…
jamesray1 8d81539
Add hold_entry_update.rs from upstream develop, was removed with othe…
jamesray1 a9dbf02
Fixed errors, cargo build passing
jamesray1 05d8366
Merge upstream, fix conflicts
jamesray1 f7f61ed
Merge branch 'develop' of https://github.com/holochain/holochain-rust…
jamesray1 1d7baff
Merge branch 'develop' of https://github.com/holochain/holochain-rust…
jamesray1 a24266b
fmt
jamesray1 4eb85f5
Merge branch 'develop' of https://github.com/holochain/holochain-rust…
jamesray1 c708e79
Merge branch 'develop' into 946-feature-chain-pair
jamesray1 d85e200
Fix error in test
jamesray1 d3797b7
Try fix the same error
jamesray1 d5faf71
Try fix another error
jamesray1 4061e1a
Revert added lines
jamesray1 254bd73
Revert added line
jamesray1 30263e2
Fix create_pending_validation
jamesray1 c9dd37d
Merge branch '946-feature-chain-pair' of https://github.com/jamesray1…
jamesray1 4bbec8d
Fix un-closed delimiter
jamesray1 27c52ca
Fix ownership error; clone test_entry
jamesray1 f6cf084
Merge branch '946-feature-chain-pair' of https://github.com/jamesray1…
jamesray1 1523189
fmt
jamesray1 f57cd85
handle error for add_header_for_entry
jamesray1 e1bc59f
Add match, fix error
jamesray1 dc226c4
Fix syntax error, add debug for a test that failed in a previous buil…
jamesray1 e007330
Add ;
jamesray1 1d80926
fmt
jamesray1 0f5d1b5
Enable logging, add extra debugging for failing tests
jamesray1 4fea585
Merge branch 'develop' into 946-feature-chain-pair
jamesray1 de65add
rm incorrect header.entry()
jamesray1 a71354d
Merge branch '946-feature-chain-pair' of https://github.com/jamesray1…
jamesray1 5ef4827
Fix errors
jamesray1 3994788
Fix error with use of ActionResponse, same now as upstream develop
jamesray1 abbe652
use test_chain_header_for_sys_entry to try fix broken test
jamesray1 4e178ce
rm delimiter
jamesray1 9549635
fix errors
jamesray1 4e14193
fix error
jamesray1 0fa1e43
fix error
jamesray1 7d5aac4
fix error
jamesray1 32ef6d5
re-add closing delim
jamesray1 55dca08
Fetch upstream changes
jamesray1 9e2506f
fm unused imports, don't know and haven't checked why they've become…
jamesray1 32e40fa
rm braces
jamesray1 079e5ea
fix import
jamesray1 4d9a8af
use new test_link_entry and test_chain_header_for_link_entry with try…
jamesray1 27321d1
import test_chain_header_for_link_entry
jamesray1 9d91615
fmt
jamesray1 bc34b0a
fix errors
jamesray1 72a5770
Merge branch 'develop' into 946-feature-chain-pair
jamesray1 ba9e668
fixes
jamesray1 d6ff0ba
Merge branch '946-feature-chain-pair' of https://github.com/jamesray1…
jamesray1 2c60dfb
fix
jamesray1 a0b7810
fmt
jamesray1 8b2b955
Fix clippy error
jamesray1 bb683d9
Merge branch 'develop' into 946-feature-chain-pair
jamesray1 f7a8aea
Merge branch 'develop' into 946-feature-chain-pair
jamesray1 23513ba
use ChainPair in validation_dependencies.rs tests
jamesray1 1f38296
rename PendingValidationStruct::try_validate_from_entry_and_header to…
jamesray1 bb6907c
use try_pending_validation_for_entry instead of pending_validation_fo…
jamesray1 ff8fa8a
impl ValidationDependenies for ChainPair rather than EntryWithHeader
jamesray1 bf81355
Replace EntryWithHeader with ChainPair in commented out code in store.rs
jamesray1 5dc06d2
fix errors, rename
jamesray1 9862b54
more fixes, can't build on laptop, internet still not available
jamesray1 ac65d97
Merge branch 'develop' into 946-feature-chain-pair
jamesray1 1a54ee0
Merge branch 'develop' into 946-feature-chain-pair
jamesray1 c004f00
use ChainPair and chain_pair instead of EntryWithHeader and entry_wit…
jamesray1 7487a07
Fix errors from tests
jamesray1 bb77f03
fix more tests
jamesray1 ce506e9
fix err
jamesray1 d4bce73
Merge branch 'develop' into 946-feature-chain-pair
jamesray1 f124765
Fix errors, linking fails locally for compiling holochain_conductor_lib
jamesray1 7257faf
gitignore .vscode/
jamesray1 99eb093
Merge branch '946-feature-chain-pair' of https://github.com/jamesray1…
jamesray1 9e58119
Merge branch 'develop' into 946-feature-chain-pair
jamesray1 a8259f0
temporarily save unfinished to merge to get out of it
jamesray1 90f75b7
add convenience functions for testing, fixes
jamesray1 b3a3659
Merge upstream develop
jamesray1 724ca2e
fmt, nt passes
jamesray1 ea7b9c9
fixing clippy errors: redudant clones
jamesray1 dbfd1b2
rename ChainPair to EntryHeaderPair; chain_pair to entry_header_pair
jamesray1 cf6d3ec
rename chain_pair.rs
jamesray1 70f0c5e
cargo fmt in nh
jamesray1 387a526
a -> an
jamesray1 82b8cbc
track crates/core/src/network/entry_header_pair.rs; nt, nc, nf all pass
jamesray1 358f1fe
rename EntryHeaderPair to HeaderWithItsEntry, etc.
jamesray1 5e57135
actually rename entry_header_pair, EntryHeaderPair to header_with_its…
jamesray1 9069cab
Merge branch 'develop' into 946-feature-chain-pair
jameschrray 4a7b451
Merge branch 'develop' into 946-feature-chain-pair
jameschrray c2cf67b
Merge branch 'develop' into 946-feature-chain-pair
jameschrray f029fac
Merge branch 'develop' into 946-feature-chain-pair
jameschrray 7f96c83
Merge branch 'develop' of https://github.com/holochain/holochain-rust…
jamesray1 36237f8
Merge branch 'develop' into 946-feature-chain-pair
thedavidmeister 960b28f
return result
jamesray1 0f6a7c0
Merge branch '946-feature-chain-pair' of https://github.com/jameschrr…
jamesray1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,3 +44,5 @@ Cargo.lock | |
!/Cargo.lock | ||
|
||
stress-test/passthrough-dna.dna.json | ||
|
||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if this is a
try_*
then i think we want to return a result rather than panicThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll fix this up when I've got time alongside with a job and startup.