-
Notifications
You must be signed in to change notification settings - Fork 19
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
feat(consensus): sequence transaction from foreign LocalPrepare/Accept #1120
Merged
sdbondi
merged 3 commits into
tari-project:development
from
sdbondi:consensus-sequence-from-foreign-proposal
Aug 27, 2024
Merged
feat(consensus): sequence transaction from foreign LocalPrepare/Accept #1120
sdbondi
merged 3 commits into
tari-project:development
from
sdbondi:consensus-sequence-from-foreign-proposal
Aug 27, 2024
Conversation
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
sdbondi
force-pushed
the
consensus-sequence-from-foreign-proposal
branch
4 times, most recently
from
August 19, 2024 14:41
769307e
to
8d83588
Compare
3 tasks
Test Results (CI)550 tests +1 550 ✅ +1 1h 40m 35s ⏱️ - 5m 55s Results for commit 61e2216. ± Comparison against base commit f5f3860. This pull request removes 6 and adds 7 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
sdbondi
force-pushed
the
consensus-sequence-from-foreign-proposal
branch
4 times, most recently
from
August 20, 2024 13:08
35cd721
to
bb7b1fc
Compare
github-merge-queue bot
pushed a commit
that referenced
this pull request
Aug 21, 2024
Description --- fix(consensus)!: multi shard substate pledges Version is not considered when calculating which preshard a substate belongs to Fix several race conditions in consensus Adds a test for all local inputs, foreign outputs Build transactions with inputs in tests Fixed mempool gossip Motivation and Context --- Implements cross-shard exchange and pledges for inputs/outputs. TODO: - output shard group does not sequence an unknown transaction from foreign proposals (PR #1120) - number of cucumbers scenarios do not include any inputs. This is now completely invalid, so they have been ignored for now until we switch them to use the wallet daemon. How Has This Been Tested? --- Manually - multi-shard-group test, existing tests, new tests What process can a PR reviewer use to test or verify this change? --- Submit transactions to a multi-shard-group network Breaking Changes --- - [ ] None - [x] Requires data directory to be deleted - [x] Other - Please specify BREAKING CHANGE: SubstateAddress has increased in size by 4 bytes, new commands
ghpbot-tari-project
added
the
P-conflicts
The PR has merge conflicts that need to be resolved
label
Aug 21, 2024
ghpbot-tari-project
removed
the
P-conflicts
The PR has merge conflicts that need to be resolved
label
Aug 21, 2024
sdbondi
force-pushed
the
consensus-sequence-from-foreign-proposal
branch
3 times, most recently
from
August 22, 2024 06:56
ad7d10d
to
2acb91d
Compare
sdbondi
force-pushed
the
consensus-sequence-from-foreign-proposal
branch
from
August 22, 2024 07:03
2acb91d
to
8c8eeba
Compare
sdbondi
force-pushed
the
consensus-sequence-from-foreign-proposal
branch
5 times, most recently
from
August 23, 2024 14:51
373f01a
to
f4b8722
Compare
sdbondi
force-pushed
the
consensus-sequence-from-foreign-proposal
branch
from
August 26, 2024 06:19
f4b8722
to
ff2893d
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Motivation and Context
On receipt of a valid foreign proposal, a node may not be aware of all shard group applicable transactions in the following cases:
The node determines involvement in the transactions from a proposal by inspecting the evidence, which must contain at least one valid substate address applicable to the shard group. The transaction is requested as required and the foreign proposal message is unparked once all transactions are received.
How Has This Been Tested?
New consensus test for output-only involvement of a shard. Manually, swarm with 20 vns
Manually multi SG testing reveals that reliability is still poor, with SGs often getting stuck on LocalPrepared. This seems to be an issue with the broadcasting of proposals and is being investigated.What process can a PR reviewer use to test or verify this change?
Multishard testing with swarm
Breaking Changes