Skip to content

feat: ef_tests now compares state_root in poststate checks#226

Merged
fmoletta merged 9 commits into
mainfrom
fix_world_state_trie
Aug 9, 2024
Merged

feat: ef_tests now compares state_root in poststate checks#226
fmoletta merged 9 commits into
mainfrom
fix_world_state_trie

Conversation

@ElFantasma

@ElFantasma ElFantasma commented Aug 6, 2024

Copy link
Copy Markdown
Contributor

Motivation

Some ef-tests are failing on the state root poststate checks. This fixes the issues

Description

Some corrections are included in order to fix some tests that started to fail

  • Removes zero values from account storage trie
  • Do not create empty accounts
  • Check stateRoot from last valid blocks (ie. discards invalid blocks in tests that check exceptions)

Closes #45

@ElFantasma ElFantasma changed the title feat: removing zero values from storage trie and removed world_state.rs feat: ef_tests now compares state_root in poststate checks Aug 9, 2024
@ElFantasma ElFantasma marked this pull request as ready for review August 9, 2024 15:19
@ElFantasma ElFantasma requested a review from a team as a code owner August 9, 2024 15:19
@fmoletta fmoletta added this pull request to the merge queue Aug 9, 2024
Merged via the queue into main with commit 3a89c5a Aug 9, 2024
@fmoletta fmoletta deleted the fix_world_state_trie branch August 9, 2024 18:56
vicentevieytes pushed a commit that referenced this pull request Aug 12, 2024
**Motivation**

Some ef-tests are failing on the state root poststate checks. This fixes
the issues

**Description**

Some corrections are included in order to fix some tests that started to
fail
- Removes zero values from account storage trie
- Do not create empty accounts
- Check stateRoot from last valid blocks (ie. discards invalid blocks in
tests that check exceptions)

Closes #45
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.

Persist the merkleized world state in the DB

2 participants