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

fix(engine): get_proof_targets only add fetched accounts if they have new storage #13015

Merged
merged 12 commits into from
Dec 3, 2024

Conversation

fgimenez
Copy link
Member

@fgimenez fgimenez commented Nov 29, 2024

follow-up of #12983

The tests brought up an issue in get_proof_targets, accounts were always added to the output if they had any storage, no matter if they were already fetched. Now, if they are present in fetched, they are only added if they have new storage.

@fgimenez fgimenez added C-test A change that impacts how or what we test A-trie Related to Merkle Patricia Trie implementation labels Nov 29, 2024
@fgimenez fgimenez requested a review from shekhirin November 29, 2024 14:16
@fgimenez fgimenez force-pushed the fgimenez/get-proof-targets-unit-tests branch from 57d4dfe to 3c3d140 Compare November 29, 2024 15:33
@fgimenez fgimenez changed the title test(engine): add get-proof_targets unit tests test(engine): add get_proof_targets unit tests Nov 29, 2024
@fgimenez fgimenez added the C-bug An unexpected or incorrect behavior label Nov 29, 2024
@fgimenez fgimenez changed the title test(engine): add get_proof_targets unit tests fix(engine): get_proof_targets only add fetched accounts if they have new storage Dec 2, 2024
@fgimenez fgimenez force-pushed the fgimenez/get-proof-targets-unit-tests branch from 5b88128 to 5d987df Compare December 2, 2024 12:59
@fgimenez fgimenez requested a review from rkrasiuk December 2, 2024 13:02
@fgimenez fgimenez enabled auto-merge December 2, 2024 18:54
@fgimenez fgimenez added this pull request to the merge queue Dec 3, 2024
Merged via the queue into main with commit 383b8c2 Dec 3, 2024
41 checks passed
@fgimenez fgimenez deleted the fgimenez/get-proof-targets-unit-tests branch December 3, 2024 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-trie Related to Merkle Patricia Trie implementation C-bug An unexpected or incorrect behavior C-test A change that impacts how or what we test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants