Skip to content
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

fix(consensus)!: optmise foreign pledging for output-only case #1244

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Jan 15, 2025

Description

fix(consensus): output-only shard groups skip the LocalPrepare and AllPrepare phase and go straight to LocalAccept
fix(consensus)!: do not send substate values twice to the same shard groups for prepare and accept phases
fix(consensus): process foreign proposals in on_propose
fix(consensus): do not exclude substate pledges that are still pledged to other applicable transactions (Read lock case)
fix(consensus): bug causing incorrect failed validation of input pledges
fix(consensus): foreign abort reason is carried over to other shards (instead of the unhelpful "ForeignShardDecidedToAbort")
fix(consensus):

feat(vn/webui): add atom evidence JSON to block view
fix(swarm/webui): bug causing UI crash in abort case

Motivation and Context

General stability fixes and optimisations for consensus

How Has This Been Tested?

New consensus unit test
Manually tariswap bench, no observed problems

Breaking Changes

  • None
  • Requires data directory to be deleted
  • Other - Please specify

BREAKING CHANGE: changes to wire protocol

@sdbondi sdbondi force-pushed the consensus-output-only-optimise branch from 3df5147 to 739661e Compare January 15, 2025 11:56
Copy link

Test Results (CI)

586 tests  +586   586 ✅ +586   1h 29m 40s ⏱️ + 1h 29m 40s
 54 suites + 54     0 💤 ±  0 
  1 files   ±  0     0 ❌ ±  0 

Results for commit 739661e. ± Comparison against base commit 953b976.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants