Deprecate constants EXECURTE_SELECTOR, EXECUTE_BATCH_SELECTOR, SETDATA_SELECTOR and SETDATA_BATCH_SELECTOR.
Prior to v5.0.0, it was not possible to access the selector for the overloaded functions with .selector syntax in Solidity.
Therefore, these selectors were saved in solidity bytes4 constant.
Since v5.0.0, overloaded functions have been removed, and it now possible to access these selectors via setData.selector and setDataBatch.selector in Solidity.
Remove these constants from the constants.sol file.
What does this PR introduce?
♻️ Refactor
Deprecate constants
EXECURTE_SELECTOR
,EXECUTE_BATCH_SELECTOR
,SETDATA_SELECTOR
andSETDATA_BATCH_SELECTOR
.Prior to v5.0.0, it was not possible to access the selector for the overloaded functions with
.selector
syntax in Solidity. Therefore, these selectors were saved in soliditybytes4 constant
.Since v5.0.0, overloaded functions have been removed, and it now possible to access these selectors via
setData.selector
andsetDataBatch.selector
in Solidity.Remove these constants from the
constants.sol
file.PR Checklist
npm run lint
npm run build
npm run test