diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-01-09 00:18:31 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-01-09 00:18:31 +0800 |
commit | 184ddca5a108c5f3d026aa372a2af2f63b2694f9 (patch) | |
tree | 13dfa78ad1dbaa6fa83e83bf82d5fbdb78288de4 /Types.h | |
parent | 68b94275354e5715cea37ccbca18eb2a4b42704e (diff) | |
download | dexon-solidity-184ddca5a108c5f3d026aa372a2af2f63b2694f9.tar.gz dexon-solidity-184ddca5a108c5f3d026aa372a2af2f63b2694f9.tar.zst dexon-solidity-184ddca5a108c5f3d026aa372a2af2f63b2694f9.zip |
Compiler EVM generation now takes into account for the new function hash
identifier
- Changed tests to comply with the new function hash identifier
- Changed the function index offset to 4, and made it a constant for
easy adjustment in the future
Diffstat (limited to 'Types.h')
-rw-r--r-- | Types.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -254,7 +254,7 @@ public: /// is not used, as this type cannot be the type of a variable or expression. std::shared_ptr<FunctionType const> const& getConstructorType() const; - unsigned getFunctionIndex(std::string const& _functionName) const; + u256 getFunctionIdentifier(std::string const& _functionName) const; private: ContractDefinition const& m_contract; |