You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Motivation**
After 2bb8fa9 , the gas cost type
changed from U256 to u64. However, _some_ functions did not update their
return values to u64; this patch makes them return u64.
**Description**
Make the following functions return u64:
- expansion_cost
- cost
<!-- Link to issues: Resolves#111, Resolves#222 -->
Closes#1547
File:
ethrex/crates/vm/levm/src/memory.rs
The following functions:
Return
usize
when they should be returningu64
since they calculate gas costs.This is somewhat related to #1499, and could be fixed in #1528 but that PR is already too big
The text was updated successfully, but these errors were encountered: