rskip | title | description | status | purpose | author | layer | complexity | created |
---|---|---|---|---|---|---|---|---|
197 |
Fix Precompile Calls Not Conforming With CALL Semantics |
Accepted |
Usa |
FJ (@fedejinich) |
Core |
2 |
2020-12-15 |
RSKIP | 197 |
---|---|
Title | Fix Precompile Calls Not Conforming With CALL Semantics |
Created | 15-12-2020 |
Author | FJ |
Purpose | Usa |
Layer | Core |
Complexity | 2 |
Status | Accepted |
Before the Iris hard-fork, a precompiled contract could not revert, but only could raise an OOG, consuming all gas passed to the CALL.
When blockNumber >= IRIS_HARD_FORK
:
- Make every precompiled contract call respect the CALL semantics.
[1] RSKIP197 Implementation rsksmart/rskj#1392
Copyright and related rights waived via CC0.