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

cmd/evm, core/state: fix post-exec dump of state (statetests, blockchaintests) #28504

Merged
merged 11 commits into from
Nov 28, 2023

Commits on Nov 15, 2023

  1. cmd/evm, core/state: add callback to blockrunner, fix dump with missi…

    …ng preimages
    
    This changes makes it so that the block test executor takes a callback, just like
    the state test executor already does. This callback can be used to examine the
    post-execution state, e.g. to aid debugging of test failures.
    
    This change also modifies the mechanics of Dump: previously, all accounts for which
    we did not have the preimage (address) were silently discarded.
    
    Now they are output instead like this:
    ```
    {
        "root": "3ef447699d08e3160c448903e77bd092c67ce3faeba773a3f83c500ab80f2400",
        "accounts": {
            "pre(0x03601462093b5945d1676df093446790fd31b20e7b12a2e8e5e09d068109616b)": {
                "balance": "10780210",
                "nonce": 1,
    ```
    holiman committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    7df4ebd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bebe04b View commit details
    Browse the repository at this point in the history
  3. tests: fix nil deref

    holiman committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    9191e97 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1a35e34 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    87aa2e5 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2023

  1. eth: goimports

    holiman committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    1c4f44f View commit details
    Browse the repository at this point in the history
  2. core: fix test output-state

    holiman committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    7331a12 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2023

  1. Configuration menu
    Copy the full SHA
    016678e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b77ff88 View commit details
    Browse the repository at this point in the history
  3. cmd/geth: fix compilation err

    holiman committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    eb9e6d7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    41d5b6c View commit details
    Browse the repository at this point in the history