Skip to content
Snippets Groups Projects
  • PG Herveou's avatar
    [pallet-revive] fee estimation fixes (#7281) · 5772b9db
    PG Herveou authored
    - Fix the EVM fee cost estimation.
    The estimation shown in EVM wallet was using Native instead of EVM
    decimals
    - Remove the precise code length estimation in dry run call.
    Over-estimating is fine, since extra gas is refunded anyway.
    - Ensure that the estimated fee calculated from gas_price x gas use the
    encoded weight & deposit limit instead of the exact one calculated by
    the dry-run. Else we can end up with a fee that is lower than the actual
    fee paid by the user
    
    ---------
    
    Co-authored-by: command-bot <>
    Unverified
    5772b9db
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
exec.rs 139.32 KiB