Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1 KB

RSKIP197.md

File metadata and controls

39 lines (30 loc) · 1 KB
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

Fix Precompile Calls Not Conforming With CALL Semantics

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

Motivation

Before the Iris hard-fork, a precompiled contract could not revert, but only could raise an OOG, consuming all gas passed to the CALL.

Specification

When blockNumber >= IRIS_HARD_FORK:

  • Make every precompiled contract call respect the CALL semantics.

References

[1] RSKIP197 Implementation rsksmart/rskj#1392

Copyright

Copyright and related rights waived via CC0.