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

make tree_hash() support CLVM with backrefs #399

Merged
merged 1 commit into from
Feb 12, 2024
Merged

Conversation

arvidn
Copy link
Contributor

@arvidn arvidn commented Feb 10, 2024

I don't think anything depends on this (yet), but not supporting it is inconsistent between SerializedProgram and Program (in chia-blockchain) and a risk.

There are optimizations to improve performance of computing the tree hash for clvm structures with backrefs that I intend to explore. But the first step is to support it in the first place.

@arvidn arvidn marked this pull request as draft February 10, 2024 12:08
@arvidn

This comment was marked as outdated.

@arvidn arvidn force-pushed the tree-hash-from-bytes branch 3 times, most recently from 6c8f3c8 to fb13003 Compare February 11, 2024 08:51
Copy link

coveralls-official bot commented Feb 11, 2024

Pull Request Test Coverage Report for Build 7872334961

Details

  • 0 of 34 (100.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.03%) to 84.935%

Totals Coverage Status
Change from base Build 7872270237: 0.03%
Covered Lines: 11298
Relevant Lines: 13302

💛 - Coveralls

@arvidn arvidn marked this pull request as ready for review February 11, 2024 09:17
@arvidn arvidn requested a review from Rigidity February 11, 2024 09:19
@arvidn arvidn merged commit e68fb44 into main Feb 12, 2024
63 checks passed
@arvidn arvidn deleted the tree-hash-from-bytes branch February 12, 2024 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants