Direct Calls to Native Precompiles Tests
Closed this issue · 0 comments
georgi-l95 commented
Problem
We recently enabled direct calls to ethereum precompiles, but don't have e2e tests for this.
Solution
Add tests which cover this functionality.
- Call to 0x01 - ecRecover
- Call to 0x02 - SHA2 - 256
- Call to 0x03 - RIPEMD-160
- Call to 0x04 - identity
- Call to 0x05 - modexp
- Call to 0x06 - ecAdd
- Call to 0x07 - ecMul
- Call to 0x08 - ecPairing
- Call to 0x09 - blake2f
Prerequisites
Test against the latest
local node version.
(and make sure the mirror node version is: 0.98.0-SNAPSHOT)
Precompile cheat sheet:
https://www.evm.codes/precompiled?fork=shanghai
No response