mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Salt should be bytes32.
This commit is contained in:
parent
59071f602b
commit
92d4bbb017
@ -2954,7 +2954,7 @@ vector<tuple<string, TypePointer>> FunctionType::makeStackItems() const
|
||||
if (m_valueSet)
|
||||
slots.emplace_back("value", TypeProvider::uint256());
|
||||
if (m_saltSet)
|
||||
slots.emplace_back("salt", TypeProvider::uint256());
|
||||
slots.emplace_back("salt", TypeProvider::fixedBytes(32));
|
||||
if (bound())
|
||||
for (auto const& [boundName, boundType]: m_parameterTypes.front()->stackItems())
|
||||
slots.emplace_back("self_" + boundName, boundType);
|
||||
|
Loading…
Reference in New Issue
Block a user