Adding sol->yul for f.selector and f.address

This commit is contained in:
Djordje Mijovic
2020-03-06 21:43:14 +01:00
parent 9318dae42c
commit 092827b7ad
4 changed files with 44 additions and 3 deletions
+4 -1
View File
@@ -2924,7 +2924,10 @@ vector<tuple<string, TypePointer>> FunctionType::makeStackItems() const
{
case Kind::External:
case Kind::DelegateCall:
slots = {make_tuple("address", TypeProvider::address()), make_tuple("functionIdentifier", TypeProvider::fixedBytes(4))};
slots = {
make_tuple("address", TypeProvider::address()),
make_tuple("functionIdentifier", TypeProvider::uint(32))
};
break;
case Kind::BareCall:
case Kind::BareCallCode: