Rename "ecrecover opcode" to "ecrecover precompile" in ECDSA (#4339)
This commit is contained in:
committed by
GitHub
parent
e73f90fa9d
commit
08fd777f6d
@ -35,7 +35,7 @@ library ECDSA {
|
|||||||
* @dev Returns the address that signed a hashed message (`hash`) with
|
* @dev Returns the address that signed a hashed message (`hash`) with
|
||||||
* `signature` or error string. This address can then be used for verification purposes.
|
* `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
|
* 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.
|
* 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
|
* @dev Returns the address that signed a hashed message (`hash`) with
|
||||||
* `signature`. This address can then be used for verification purposes.
|
* `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
|
* 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.
|
* half order, and the `v` value to be either 27 or 28.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user