Rename "ecrecover opcode" to "ecrecover precompile" in ECDSA (#4339)

This commit is contained in:
Pascal Marco Caversaccio
2023-06-12 11:00:35 +02:00
committed by GitHub
parent e73f90fa9d
commit 08fd777f6d

View File

@ -35,7 +35,7 @@ library ECDSA {
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature` or error string. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
* The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
@ -74,7 +74,7 @@ library ECDSA {
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature`. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
* The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*