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

refactor: remove GasOps from the Kernel #1951

Merged
merged 1 commit into from
Dec 19, 2023
Merged

Commits on Dec 14, 2023

  1. refactor: remove GasOps from the Kernel

    It's not really a proper "ops" trait, it's more "basic functionality".
    
    Additionally, the concept of a global price list is going to go away as
    we make the kernel more pluggable.
    
    1. Move `GasOps::gas_available`/`GasOps::charge_gas` to the main
    `Kernel` trait as all kernels require them.
    2. Remove `GasOps::gas_used`, it's only used for testing.
    3. Remove `GasOps::price_list`. We're still exposing it on the
    CallManager, but one step at a time).
    Stebalien committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    a627137 View commit details
    Browse the repository at this point in the history