diff --git a/Makefile b/Makefile index a7a2ef2a9..39c64e461 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ APP_LOAD_PARAMS += --path "1517992542'/1101353413'" APPVERSION_M = 1 APPVERSION_N = 11 -APPVERSION_P = 1 +APPVERSION_P = 0 APPVERSION = $(APPVERSION_M).$(APPVERSION_N).$(APPVERSION_P)-dev APP_LOAD_FLAGS = --appFlags 0xa40 --dep Ethereum:$(APPVERSION) diff --git a/src_common/common_utils.h b/src_common/common_utils.h index 2a7566f62..2c1a8dd3d 100644 --- a/src_common/common_utils.h +++ b/src_common/common_utils.h @@ -63,33 +63,6 @@ void getEthAddressStringFromRawKey(const uint8_t raw_pubkey[static 65], char out[static ADDRESS_LENGTH * 2], uint64_t chainId); -/** - * @deprecated - * See #getEthAddressFromRawKey - */ -DEPRECATED static inline bool getEthAddressFromKey(cx_ecfp_public_key_t *publicKey, - uint8_t *out, - cx_sha3_t *sha3Context) { - UNUSED(sha3Context); - - getEthAddressFromRawKey(publicKey->W, out); - return true; -} - -/** - * @deprecated - * See #getEthAddressFromRawKey - */ -DEPRECATED static inline bool getEthAddressStringFromKey(cx_ecfp_public_key_t *publicKey, - uint8_t *out, - cx_sha3_t *sha3Context, - uint64_t chainId) { - UNUSED(sha3Context); - - getEthAddressStringFromRawKey(publicKey->W, (char *) out, chainId); - return true; -} - bool getEthAddressStringFromBinary(uint8_t *address, char out[static ADDRESS_LENGTH * 2], uint64_t chainId); diff --git a/src_plugin_sdk/CHANGELOG.md b/src_plugin_sdk/CHANGELOG.md index 90ead8d91..f0541d92a 100644 --- a/src_plugin_sdk/CHANGELOG.md +++ b/src_plugin_sdk/CHANGELOG.md @@ -5,7 +5,15 @@ | :rotating_light: | Breaks build | | :warning: | Breaks compatibility with app | -## [latest](/) - 2024/02/07 +## [latest](/) - 2024/03/27 + +### Changed + +* Add new functions `getEthAddressFromRawKey` and `getEthAddressStringFromRawKey` +* Simplify crypto calls in `getEthAddressStringFromBinary` +* Cleanup useless `cx_sha3_t` useless parameter + +## [0a98664](/../../commit/0a98664) - 2024/02/07 ### Removed diff --git a/tests/speculos/test_configuration_cmd.py b/tests/speculos/test_configuration_cmd.py index d8213f72c..af56756e5 100644 --- a/tests/speculos/test_configuration_cmd.py +++ b/tests/speculos/test_configuration_cmd.py @@ -1,3 +1,3 @@ def test_configuration(cmd): - assert cmd.get_configuration() == (2, 1, 11, 1) + assert cmd.get_configuration() == (2, 1, 11, 0)