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: system account status issue #53

Merged
merged 1 commit into from
Jul 2, 2024
Merged

Conversation

pythonberg1997
Copy link
Contributor

@pythonberg1997 pythonberg1997 commented Jul 1, 2024

Description

This pr is to fix an issue that could lead to wrong system account status.

In geth, the system account will be marked as destroyed at the end of block execution.
To keep align with geth, we have to:

  1. call apply_transition to delete system account at height 1 as it was created at genesis.
  2. skip apply_transition when there's no transaction in other blocks to avoid changing the account status.

Rationale

tell us why we need these changes...

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

Potential Impacts

  • add potential impacts for other components here
  • ...

@pythonberg1997 pythonberg1997 changed the base branch from main to develop July 1, 2024 09:01
@pythonberg1997 pythonberg1997 force-pushed the roshan/parlia-test branch 2 times, most recently from 3835195 to 630ee02 Compare July 1, 2024 12:12
@pythonberg1997 pythonberg1997 added this pull request to the merge queue Jul 2, 2024
Merged via the queue into develop with commit b623949 Jul 2, 2024
32 checks passed
pythonberg1997 added a commit to pythonberg1997/reth that referenced this pull request Jul 3, 2024
* ci: tag non-beta version as latest image (bnb-chain#51)

* chore: add bsc and docker commands to readme (bnb-chain#50)

* chore: add bsc commands to readme

* fix review comments

* fix op dockerfile issue

* fix: spec mapping issue and snapshot overwrite issue (bnb-chain#52)

* fix: system account status issue (bnb-chain#53)

* test1

* test2

* test3

* test4

* test5

* test6

* test7

* test8

* update CI

---------

Co-authored-by: dylanhuang <j75689@gmail.com>
Co-authored-by: forcodedancing <just.haha.it@gmail.com>
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