Skip to content

Commit

Permalink
chore(evm): Static gas consumption for precompiles (TEMPORARY). (bera…
Browse files Browse the repository at this point in the history
  • Loading branch information
Devon Bear authored Mar 6, 2023
1 parent 58f32f9 commit 23bb3ae
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions x/evm/plugins/precompile/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,11 @@ func (p *plugin) Run(

// run precompile container
ret, err := pc.Run(
ctx.
WithGasMeter(gm).
WithKVGasConfig(p.kvGasConfig).
WithTransientKVGasConfig(p.transientKVGasConfig),
ctx.WithGasMeter(gm),
// TODO: Re-enable gas config for precompiles.
// https://github.com/berachain/stargazer/issues/393
// WithKVGasConfig(p.kvGasConfig).
// WithTransientKVGasConfig(p.transientKVGasConfig),
input,
caller,
value,
Expand Down

0 comments on commit 23bb3ae

Please sign in to comment.