[libsolidity] TypeProvider: adds explicit uint256() accessor and removes default params in integerType(...).

This commit is contained in:
Christian Parpart
2019-04-16 18:28:40 +02:00
committed by chriseth
parent 59d4f54729
commit 58a45f2cb6
13 changed files with 57 additions and 54 deletions
+1 -1
View File
@@ -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);