Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

removes set_{slot,index,last_in_slot} implementations for merkle shreds (backport #27689) #27691

Merged
merged 1 commit into from
Sep 9, 2022

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Sep 9, 2022

This is an automatic backport of pull request #27689 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

…ds (#27689)

These methods are only used in tests but invoked on a merkle shred they
will always invalidate the shred because the merkle proof will no longer
verify. As a result the shred will not sanitize and blockstore will
avoid inserting them. Their use in tests will result in spurious test
coverage because the shreds will not be ingested.

The commit removes implementation of these methods for merkle shreds.
Follow up commits will entirely remove these methods from shreds api.

(cherry picked from commit 37296ca)
@mergify mergify bot added the automerge Merge this Pull Request automatically once CI passes label Sep 9, 2022
@mergify mergify bot merged commit 515d7f2 into v1.11 Sep 9, 2022
@mergify mergify bot deleted the mergify/bp/v1.11/pr-27689 branch September 9, 2022 20:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automerge Merge this Pull Request automatically once CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant