Skip to content
Snippets Groups Projects
Select Git revision
20 results

state_transition.go

  • Felix Lange's avatar
    de8d5aaa
    core, core/state: move gas tracking out of core/state · de8d5aaa
    Felix Lange authored
    The amount of gas available for tx execution was tracked in the
    StateObject representing the coinbase account. This commit makes the gas
    counter a separate type in package core, which avoids unintended
    consequences of intertwining the counter with state logic.
    de8d5aaa
    History
    core, core/state: move gas tracking out of core/state
    Felix Lange authored
    The amount of gas available for tx execution was tracked in the
    StateObject representing the coinbase account. This commit makes the gas
    counter a separate type in package core, which avoids unintended
    consequences of intertwining the counter with state logic.