[PT-167805291] Add opcode for ecrecover (#122)
* Add opcode for ecrecover * Update aebytecode * Extend signature bytes type used for ecrecover * Add ecrecover to changelog * Add some type specs * Please dialyzer
This commit is contained in:
committed by
Hans Svensson
parent
b669d2df1e
commit
dd26649f7d
@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
### Added
|
||||
- New builtin function `Crypto.ecrecover_secp256k1: (hash, bytes(65)) => bytes(32)`
|
||||
for recovering Ethereum address from message hash and signature.
|
||||
|
||||
### Changed
|
||||
- New syntax for tuple types. Now 0-tuple type is encoded as `unit` instead of `()` and
|
||||
regular tuples are encoded by interspersing inner types with `*`, for instance `int * string`.
|
||||
|
||||
Reference in New Issue
Block a user