Skip to content

Commit c0feefb

Browse files
Merge pull request #119 from ElrondNetwork/fix-eei
Bugfix: include "finish()" in EEI registry.
2 parents 8085992 + 973cae8 commit c0feefb

5 files changed

Lines changed: 10 additions & 6 deletions

File tree

erdpy/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
77
## [Unreleased]
88
- TBD
99

10+
## [1.2.1] - 07.03.2022
11+
- [Bugfix: fix functions in EEI registry](https://github.com/ElrondNetwork/elrond-sdk-erdpy/pull/119)
12+
- [Bit of cleanup (remove deprecated files / functionality)](https://github.com/ElrondNetwork/elrond-sdk-erdpy/pull/113)
13+
1014
## [1.2.0] - 07.03.2022
1115
- [On contract builld, reveal imported functions and check compatibility](https://github.com/ElrondNetwork/elrond-sdk-erdpy/pull/111)
1216

erdpy/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.2.0"
1+
__version__ = "1.2.1"

erdpy/projects/eei_checks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def _check_imports_compatibility(imports: List[str], activation_info: Activation
5959
not_active_maybe.append(function_name)
6060

6161
if not_active:
62-
logger.error(f"This project requires functionality not yet available on *{activation_info.network_name}*: {not_active}.")
62+
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.")
6363
if not_active_maybe:
6464
logger.warn(f"This project requires functionality that may not be available on *{activation_info.network_name}*: {not_active_maybe}.")
6565

erdpy/projects/eei_registry.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def __init__(self, activation_info: ActivationEpochsInfo) -> None:
101101
EEIFunction("getShardOfAddress", None, []),
102102
EEIFunction("isSmartContract", None, []),
103103
EEIFunction("getExternalBalance", None, []),
104-
EEIFunction("blockHash", None, []),
104+
EEIFunction("getBlockHash", None, []),
105105
EEIFunction("transferValue", None, []),
106106
EEIFunction("transferESDTExecute", None, []),
107107
EEIFunction("transferESDTNFTExecute", None, []),
@@ -117,7 +117,7 @@ def __init__(self, activation_info: ActivationEpochsInfo) -> None:
117117
EEIFunction("storageLoadFromAddress", None, []),
118118
EEIFunction("getCaller", None, []),
119119
EEIFunction("checkNoPayment", None, []),
120-
EEIFunction("callValue", None, []),
120+
EEIFunction("getCallValue", None, []),
121121
EEIFunction("getESDTValue", None, []),
122122
EEIFunction("getESDTTokenName", None, []),
123123
EEIFunction("getESDTTokenNonce", None, []),
@@ -132,7 +132,7 @@ def __init__(self, activation_info: ActivationEpochsInfo) -> None:
132132
EEIFunction("getCurrentESDTNFTNonce", None, []),
133133
EEIFunction("writeLog", None, ["deprecated"]),
134134
EEIFunction("writeEventLog", None, []),
135-
EEIFunction("returnData", None, []),
135+
EEIFunction("finish", None, []),
136136
EEIFunction("signalError", None, []),
137137
EEIFunction("getGasLeft", None, []),
138138
EEIFunction("getESDTBalance", None, []),

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
with open("README.md", "r") as fh:
44
long_description = "https://github.com/ElrondNetwork/elrond-sdk-erdpy"
55

6-
VERSION = "1.2.0"
6+
VERSION = "1.2.1"
77

88
try:
99
with open('./erdpy/_version.py', 'wt') as versionfile:

0 commit comments

Comments
 (0)