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

state: Fix failing code deployment in Frontier #824

Merged
merged 1 commit into from
Mar 5, 2024

Commits on Mar 4, 2024

  1. state: Fix failing code deployment in Frontier

    In Frontier when CREATE fails to deploy the code because of
    the deployment cost the creation behaves as it has been successful
    although the created account has empty code.
    
    Fix the CREATE instruction by returning the address of the created
    account instead of the null address.
    
    The gas refund is also applied as in the case of successful
    code deployment. Geth agrees with this but this situation probably
    never happened on Mainnet.
    chfast committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    eb2cb4b View commit details
    Browse the repository at this point in the history