• Mark Tyneway's avatar
    l2geth: fix for `gas-oracle` race condition · 5c0e90aa
    Mark Tyneway authored
    Prevent the error being returned in consensus for when
    the user does not have enough balance. The policy level
    check *must* filter out transactions that do not have
    enough gas to pay for their execution. The policy
    level check happens in the `SyncService`. This change
    gracefully handles the race condition where a user transaction
    passes the policy level check as a `gas-oracle` transaction
    is executing and updating the gas prices. If the gas price
    goes up and the user transaction no longer can afford execution,
    then it will return an error from consensus.
    5c0e90aa
chilly-wasps-divide.md 96 Bytes