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

One instance per contract function call #326

Merged
merged 1 commit into from
Feb 12, 2024
Merged

Commits on Feb 12, 2024

  1. piecrust: one instance per contract function call

    Changes the instance reclamation code to allow for exactly one module
    instance per contract function call. This changes the way in which the
    node processes the state, leading to diverging state roots on errorring
    calls.
    
    Simplifies the instance code by using a boolean to appropriately drop
    the instance. This allows the data in the struct to be passed around
    the `Env`, whilst fixing some bad dereferences previously occurring
    under certain situations.
    
    Resolves: #325
    ureeves committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    cfe6134 View commit details
    Browse the repository at this point in the history