Unverified Commit 284e4e55 authored by GreenBaneling | Supercolony's avatar GreenBaneling | Supercolony Committed by GitHub
Browse files

Implemented ECDSA recover function. (#914)

* Implemented ecdsa recovery function.
Added method `to_eth_address` and `to_account_id`.
Added tests.

* Cargo fmt

* Added `ECDSA` and `Ethereum` to dictionary

* Fixed comments according a new spellcheck

* Fixes according comments in review.

* Fixed build issue for wasm

* Use struct instead of alias for `EthereumAddress`.

* cargo fmt --all

* Simplified `ecdsa_recover`.
USed symbolic links instead files.

* Added documentation for `to_eth_address` and `to_account_id` methods.

* Renamed `to_account_id` into `to_default_account_id`

* Cargo fmt

* Removed DeRef trait. Now field of `EthereumAddress` and `ECDSAPublicKey` is private.

* Fixed doc test for ecdsa_recover in EnvAccess
parent 2f4f4f05
Pipeline #162238 passed with stages
in 51 minutes and 31 seconds
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment