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

[stashed] chore: Remove redundant fields from ConcurrentMerkleTree #697

Closed
wants to merge 1 commit into from

Conversation

vadorovsky
Copy link
Contributor

*_capacity and *_length fields are not necessary - CyclicBoundedVec has these counters already and exposes them through capacity() and len() methods. We should use them instead.

@vadorovsky vadorovsky requested a review from ananas-block as a code owner May 10, 2024 06:00
`*_capacity` and `*_length` fields are not necessary - `CyclicBoundedVec`
has these counters already and exposes them through `capacity()` and
`len()` methods. We should use them instead.
@vadorovsky vadorovsky force-pushed the vadorovsky/mt-remove-redundant-fields branch from f02b9d6 to c04b32d Compare May 10, 2024 07:44
@vadorovsky vadorovsky marked this pull request as draft May 17, 2024 09:35
@vadorovsky vadorovsky changed the title chore: Remove redundant fields from ConcurrentMerkleTree [stashed] chore: Remove redundant fields from ConcurrentMerkleTree May 17, 2024
@vadorovsky vadorovsky closed this Jun 7, 2024
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.

1 participant