Skip to content

Conversation

@dkuehr
Copy link
Contributor

@dkuehr dkuehr commented Jan 16, 2025

This PR fixes a bug in the pre-validation function used by the transaction pool.
We were checking top-level account updates and missing the call lists.

Note: the bug was found with differential fuzzing against the OCaml implementation.

@dkuehr dkuehr force-pushed the transaction_pool_fix branch from ef1a874 to 5de2d76 Compare January 16, 2025 14:32
@dkuehr dkuehr requested review from sebastiencs and tizoc January 16, 2025 14:34
Copy link
Contributor

@sebastiencs sebastiencs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch

Copy link
Collaborator

@tizoc tizoc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tizoc
Copy link
Collaborator

tizoc commented Jan 16, 2025

@sebastiencs can you think of any other cases in which the call forest abstraction was being bypassed? (for this specific check I only found two, which are exactly the ones @dkuehr fixed in this PR)

@sebastiencs
Copy link
Contributor

Yes I didn't find any other cases than those 2

@dkuehr dkuehr merged commit 9d5441a into develop Jan 16, 2025
31 checks passed
@dkuehr dkuehr deleted the transaction_pool_fix branch January 16, 2025 15:13
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.

3 participants