diff --git a/erdpy/CHANGELOG.md b/erdpy/CHANGELOG.md index 27226a39..a4df4070 100644 --- a/erdpy/CHANGELOG.md +++ b/erdpy/CHANGELOG.md @@ -7,6 +7,10 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how ## [Unreleased] - TBD +## [1.2.1] - 07.03.2022 + - [Bugfix: fix functions in EEI registry](https://github.com/ElrondNetwork/elrond-sdk-erdpy/pull/119) + - [Bit of cleanup (remove deprecated files / functionality)](https://github.com/ElrondNetwork/elrond-sdk-erdpy/pull/113) + ## [1.2.0] - 07.03.2022 - [On contract builld, reveal imported functions and check compatibility](https://github.com/ElrondNetwork/elrond-sdk-erdpy/pull/111) diff --git a/erdpy/_version.py b/erdpy/_version.py index c68196d1..a955fdae 100644 --- a/erdpy/_version.py +++ b/erdpy/_version.py @@ -1 +1 @@ -__version__ = "1.2.0" +__version__ = "1.2.1" diff --git a/erdpy/projects/eei_checks.py b/erdpy/projects/eei_checks.py index b4938fbd..992bce7b 100644 --- a/erdpy/projects/eei_checks.py +++ b/erdpy/projects/eei_checks.py @@ -59,7 +59,7 @@ def _check_imports_compatibility(imports: List[str], activation_info: Activation not_active_maybe.append(function_name) if not_active: - logger.error(f"This project requires functionality not yet available on *{activation_info.network_name}*: {not_active}.") + logger.error(f"This project requires functionality not yet available on *{activation_info.network_name}*: {not_active}. Use --ignore-eei-checks to ignore this error.") if not_active_maybe: logger.warn(f"This project requires functionality that may not be available on *{activation_info.network_name}*: {not_active_maybe}.") diff --git a/erdpy/projects/eei_registry.py b/erdpy/projects/eei_registry.py index f94982c9..df28e7a5 100644 --- a/erdpy/projects/eei_registry.py +++ b/erdpy/projects/eei_registry.py @@ -101,7 +101,7 @@ def __init__(self, activation_info: ActivationEpochsInfo) -> None: EEIFunction("getShardOfAddress", None, []), EEIFunction("isSmartContract", None, []), EEIFunction("getExternalBalance", None, []), - EEIFunction("blockHash", None, []), + EEIFunction("getBlockHash", None, []), EEIFunction("transferValue", None, []), EEIFunction("transferESDTExecute", None, []), EEIFunction("transferESDTNFTExecute", None, []), @@ -117,7 +117,7 @@ def __init__(self, activation_info: ActivationEpochsInfo) -> None: EEIFunction("storageLoadFromAddress", None, []), EEIFunction("getCaller", None, []), EEIFunction("checkNoPayment", None, []), - EEIFunction("callValue", None, []), + EEIFunction("getCallValue", None, []), EEIFunction("getESDTValue", None, []), EEIFunction("getESDTTokenName", None, []), EEIFunction("getESDTTokenNonce", None, []), @@ -132,7 +132,7 @@ def __init__(self, activation_info: ActivationEpochsInfo) -> None: EEIFunction("getCurrentESDTNFTNonce", None, []), EEIFunction("writeLog", None, ["deprecated"]), EEIFunction("writeEventLog", None, []), - EEIFunction("returnData", None, []), + EEIFunction("finish", None, []), EEIFunction("signalError", None, []), EEIFunction("getGasLeft", None, []), EEIFunction("getESDTBalance", None, []), diff --git a/setup.py b/setup.py index 27216573..136dbffa 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ with open("README.md", "r") as fh: long_description = "https://github.com/ElrondNetwork/elrond-sdk-erdpy" -VERSION = "1.2.0" +VERSION = "1.2.1" try: with open('./erdpy/_version.py', 'wt') as versionfile: