Progressive list#82
Conversation
|
Hi @copilot, could you try implementing an iterator over For more details you can also read EIP-7916: https://eips.ethereum.org/EIPS/eip-7916. |
|
@michaelsproul I've opened a new pull request, #84, to work on those changes. Once the pull request is ready, I'll request review from you. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #82 +/- ##
==========================================
+ Coverage 70.15% 72.41% +2.25%
==========================================
Files 22 24 +2
Lines 1280 1508 +228
==========================================
+ Hits 898 1092 +194
- Misses 382 416 +34 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Hey @copilot, can you try adding |
|
@michaelsproul I've opened a new pull request, #89, to work on those changes. Once the pull request is ready, I'll request review from you. |
* Initial plan * Add ProgressiveList to proptest suite Co-authored-by: michaelsproul <4452260+michaelsproul@users.noreply.github.com> * Refactor progressive list tests to only include supported operations Co-authored-by: michaelsproul <4452260+michaelsproul@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: michaelsproul <4452260+michaelsproul@users.noreply.github.com>
| // Assemble the `ProgressiveTree` in reverse from deepest to shallowest. | ||
| let mut current = Self::ProgressiveZero; | ||
| for tree in subtrees.into_iter().rev() { | ||
| current = Self::ProgressiveNode { | ||
| hash: RwLock::new(Hash256::ZERO), | ||
| left: tree, | ||
| right: Arc::new(current), | ||
| }; | ||
| } |
There was a problem hiding this comment.
We can probably assemble as we go instead, but I'm not sure how much value that adds
No description provided.