Skip to content

Conversation

VolodymyrBg
Copy link

Corrected the type annotation and docstring of the get_merkle_root function to accept Dict[int, Account] instead of Dict[int, Balance]. This change aligns the function signature with its actual usage throughout the codebase, as the function relies on the Account object structure (which includes pub_key and balance fields). This fix prevents potential runtime errors and improves code clarity and type safety.

@reviewable-StarkWare
Copy link

This change is Reviewable

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.

2 participants