lambdaclass/ethrex

refactor(levm): move gas cost - opcode revert and return

Closed this issue · 0 comments

The gas costs are calculated inside the opcode function, maybe we should extract it to the gas_costs modules to keep consistency.

Right now expansion_cost() is in memory.rs.