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(gas): when estimating GasLimit only apply priors up to the nonce #5403

Merged
merged 1 commit into from
Jan 22, 2021

Commits on Jan 22, 2021

  1. fix(gas): when estimating GasLimit only apply priors up to the nonce

    The bug is applying all messages from given From address are priors
    before appling the message that we are estimating.
    
    If user tries replacing message in the middle with gas limit estimation
    then message sequence is off and user will either get an execution error
    or gas mis-esimation.
    
    Resolves #5402
    
    Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
    Jakub Sztandera committed Jan 22, 2021
    Configuration menu
    Copy the full SHA
    8c7fda4 View commit details
    Browse the repository at this point in the history