Skip to content

Commit

Permalink
Merge pull request #119 from ElrondNetwork/fix-eei
Browse files Browse the repository at this point in the history
Bugfix: include "finish()" in EEI registry.
  • Loading branch information
andreibancioiu authored Mar 7, 2022
2 parents 8085992 + 973cae8 commit c0feefb
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions erdpy/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion erdpy/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.2.0"
__version__ = "1.2.1"
2 changes: 1 addition & 1 deletion erdpy/projects/eei_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}.")

Expand Down
6 changes: 3 additions & 3 deletions erdpy/projects/eei_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, []),
Expand All @@ -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, []),
Expand All @@ -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, []),
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c0feefb

Please sign in to comment.