[go: up one dir, main page]

EVM: use u64 for gas_limit representation for uniformity

Context

Fixes #5487 (closed).

The reason for that is not arbitrary. It's mainly because gas_limit representation in EvmHandler/Gasometer is a u64. To avoid unsafe conversion from U256 to u64, it seems to be the right approach to homogenize the type through all structures

Manually testing the MR

> make -f kernels.mk evm_kernel.wasm

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR
Edited by Rodi-Can Bozman

Merge request reports

Loading