Skip to content

test: grandchild credit through two levels of nesting #96#367

Open
Sam-Rytech wants to merge 1 commit into
tributary-protocol:mainfrom
Sam-Rytech:fix-96-grandchild-credit
Open

test: grandchild credit through two levels of nesting #96#367
Sam-Rytech wants to merge 1 commit into
tributary-protocol:mainfrom
Sam-Rytech:fix-96-grandchild-credit

Conversation

@Sam-Rytech

Copy link
Copy Markdown
Contributor

This PR adds testing coverage to ensure that grandchild credit through two levels of nesting correctly calculates and updates balances after a cascading distribute.

The new test builds a two-level split tree (parent -> child -> grandchild) and asserts that the leaf balances are correctly credited when distribute_cascade is invoked.

Closes #96

@Sam-Rytech
Sam-Rytech requested a review from Spagero763 as a code owner July 22, 2026 09:53
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.

Test grandchild credit through two levels of nesting

1 participant