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

[aptosvm] charge more for keyless #13005

Merged
merged 2 commits into from
Apr 24, 2024
Merged

[aptosvm] charge more for keyless #13005

merged 2 commits into from
Apr 24, 2024

Commits on Apr 24, 2024

  1. [aptosvm] hack to charge more for keyless

    add a 150x multiplier for intrinsic gas for keyless txns
    * Swap `min_transaction_gas_units` from `InternalGas` to
      `InternalGasPerByte` -- that has no underlying change but the semantic
      change allows for it to be multiplied
    * Add in a multiplier for all intrinsic gas charges which will be 1 by default
    * Set a gas schedule of 150 for keyless -- defaults to 150 since this is
      live on testnet already...
    davidiw committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    e62a1d8 View commit details
    Browse the repository at this point in the history
  2. [aptos vm] refactor gas charging for keyless

    This reimplements the gas charging for keyless in a more proper way,
    decoupling the keyless charge from the exisitng intrinsic charge.
    vgao1996 committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    7653329 View commit details
    Browse the repository at this point in the history