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

feat(consensus): skip to local accept phase for aborted transactions #1273

Merged

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Jan 29, 2025

Description

feat(consensus): skip to local accept phase for aborted transactions
Missing consensus-level transaction validators
Additional atom checks in LocalAccept

Motivation and Context

Since aborted transactions do not lock or pledge inputs, they can proceed directly to Accept phase
This removes the need for 2 cross-shard exchanges.

How Has This Been Tested?

Still testing

What process can a PR reviewer use to test or verify this change?

Breaking Changes

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

Copy link

github-actions bot commented Jan 29, 2025

Test Results (CI)

594 tests  ±0   594 ✅ ±0   1h 27m 45s ⏱️ -48s
 55 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit 4a2851c. ± Comparison against base commit d01ce85.

♻️ This comment has been updated with latest results.

@sdbondi sdbondi force-pushed the consensus-optimise-abort-case branch from f008604 to 4a2851c Compare January 30, 2025 05:01
@sdbondi sdbondi force-pushed the consensus-optimise-abort-case branch from 4a2851c to a30267b Compare January 30, 2025 11:50
@sdbondi sdbondi merged commit ec0eb2e into tari-project:development Jan 30, 2025
10 of 11 checks passed
sdbondi added a commit to sdbondi/tari-dan that referenced this pull request Feb 5, 2025
…-shard

* development:
  fix(consensus)!: remove substate value when substate is DOWN (tari-project#1274)
  feat(consensus): skip to local accept phase for aborted transactions (tari-project#1273)
  chore: update package.json for wallet client (tari-project#1272)
  chore: update package.json for wallet client (tari-project#1271)
  feat!: accumulate leader fees in substate, impl claim fees in wallet (tari-project#1270)
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