mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[libsolidity] TypeProvider: adds explicit uint256() accessor and removes default params in integerType(...).
This commit is contained in:
committed by
chriseth
parent
59d4f54729
commit
58a45f2cb6
@@ -233,7 +233,7 @@ BOOST_AUTO_TEST_CASE(encoded_sizes)
|
||||
|
||||
ArrayType const* uint24Array = TypeProvider::arrayType(
|
||||
DataLocation::Memory,
|
||||
TypeProvider::integerType(24),
|
||||
TypeProvider::uint(24),
|
||||
9
|
||||
);
|
||||
BOOST_CHECK_EQUAL(uint24Array->calldataEncodedSize(true), 9 * 32);
|
||||
|
||||
Reference in New Issue
Block a user