Implement ecdsa_to_eth_address() and remove eth_compatibility crate#1233
Implement ecdsa_to_eth_address() and remove eth_compatibility crate#1233
ecdsa_to_eth_address() and remove eth_compatibility crate#1233Conversation
|
The function shouldn't be removed. It should be replaced with a call to the new seal function. |
|
I was just thinking on removal the whole |
ink_eth_compatibility::to_eth_address() and libsecp256k1 depeth_compatibility crate and implement ecdsa_to_eth_address()
🦑 📈 ink! Example Contracts ‒ Changes Report 📉 🦑These are the results when building the
Link to the run | Last update: Thu May 12 14:19:45 CEST 2022 |
Codecov Report
@@ Coverage Diff @@
## master #1233 +/- ##
===========================================
+ Coverage 61.64% 78.74% +17.09%
===========================================
Files 228 228
Lines 8654 8675 +21
===========================================
+ Hits 5335 6831 +1496
+ Misses 3319 1844 -1475
Continue to review full report at Codecov.
|
Co-authored-by: Michael Müller <mich@elmueller.net>
eth_compatibility crate and implement ecdsa_to_eth_address()ecdsa_to_eth_address() and ecdsa_to_default_account_id(), remove eth_compatibility crate
Co-authored-by: Michael Müller <mich@elmueller.net>
…ility crate" This reverts commit 70a9189.
|
After further discussion it was finally decided to remove |
ecdsa_to_eth_address() and ecdsa_to_default_account_id(), remove eth_compatibility crateecdsa_to_eth_address() and remove eth_compatibility crate
* Fix links in release notes (#1277) * Revert "Optimise deny_payment. Use eerywhere semantic of deny. (#1267)" This reverts commit 1bfccc7. * Revert backward-incompatible piece of #1224: dependency on `[seal1] seal_set_storage` * Revert backward-incompatible piece of #1233: removal of eth_compatibility crate * bump crate versions + update RELEASES.md * Mapping::insert_return_size is back, having now both `seal1` and `seal0` seal_set_storage versions used * set_storage_silent -> set_storage_compat renaming * spell fix * Apply suggestions from code review Co-authored-by: Michael Müller <mich@elmueller.net> Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com> * Update crates/env/src/backend.rs Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com> * doc comments enhanced * `Mapping::insert()` to use backwards compatible seal fn * unreleased changes planned for 4.x removed from 3.x * Add more details to the release notes * fix catched issue with changed api function signature * fix storage trait dependent func * Apply new versions naming policy: step1. Old versions to keep their names. * Apply new versions naming policy: step2. Add `deprecated` attr and `# Compatibility` docs section * Apply suggestions from code review Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com> * fixes after next review round * more fixes after the review round * fmt * spellcheck config fix * Small wording fixes Co-authored-by: Michael Müller <mich@elmueller.net> Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com> Co-authored-by: Hernando Castano <hernando@hcastano.com>
libsecp256k1dependency ofink_eth_compatibility#1068Ported the following function from
eth_compatibilitycrate toink_env:eth_compatibilitycrate removed as having no reason to exist anymore