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: shard range computation #796

Merged

Conversation

Cifko
Copy link
Contributor

@Cifko Cifko commented Nov 30, 2023

Description

Proper shard range computation with tests.

Motivation and Context

There can't be any gap in the shard space.

How Has This Been Tested?

There is a new cargo test.

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

You can run the test: cargo test --package tari_dan_common_types --lib -- shard_bucket::test::committee_is_properly_computed --exact

Breaking Changes

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

Copy link

github-actions bot commented Nov 30, 2023

Test Results (CI)

172 tests  +1   172 ✔️ +1   1h 16m 9s ⏱️ + 3m 49s
  48 suites ±0       0 💤 ±0 
    2 files   ±0       0 ±0 

Results for commit b6cd120. ± Comparison against base commit 0f07b81.

♻️ This comment has been updated with latest results.

@stringhandler stringhandler added this pull request to the merge queue Dec 7, 2023
Merged via the queue into tari-project:development with commit 892fe0c Dec 7, 2023
sdbondi added a commit to sdbondi/tari-dan that referenced this pull request Dec 8, 2023
* development:
  feat: disable buttons on send, add result dialog (tari-project#813)
  feat: proper transaction signature and validation (tari-project#791)
  fix: shard range computation (tari-project#796)
  feat(integration_tests): new test for downed substates (tari-project#798)
  chore(deps): Bump docker/setup-qemu-action from 2 to 3 (tari-project#789)
  chore(deps): Bump openssl from 0.10.59 to 0.10.60 (tari-project#793)
  fix: propagation (tari-project#799)
  feat: show substate version in dan wallet ui (tari-project#810)
  docs(template_lib): add rustdoc documentation (tari-project#824)
  chore(deps): Bump @adobe/css-tools from 4.3.1 to 4.3.2 in /applications/tari_indexer_web_ui (tari-project#800)
  chore(deps): Bump @adobe/css-tools from 4.3.1 to 4.3.2 in /applications/tari_validator_node_web_ui (tari-project#801)
  chore(deps-dev): Bump vite from 4.4.9 to 4.4.12 in /applications/tari_dan_wallet_web_ui (tari-project#818)
  fix: indexer settings in dan wallet ui (tari-project#805)
  feat: add transaction json download to ui (tari-project#815)
  fix: shorten string on small strings (tari-project#823)
  feat: set refresh balance interval to 5 sec (tari-project#819)
  chore: comment out flaky test (tari-project#817)
@Cifko Cifko deleted the fix-shard-range-computation branch December 11, 2023 15:40
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.

3 participants