mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fixes hex string update via isoltest.
This commit is contained in:
parent
ba9b3d5e95
commit
ac5f860df9
@ -12,6 +12,7 @@ Bugfixes:
|
||||
|
||||
Build System:
|
||||
* Install scripts: Fix boost repository URL for CentOS 6.
|
||||
* Soltest: Fix hex string update in soltest.
|
||||
|
||||
|
||||
### 0.5.6 (2019-03-13)
|
||||
@ -45,6 +46,7 @@ Bugfixes:
|
||||
Build System:
|
||||
* Soltest: Add support for arrays in function signatures.
|
||||
* Soltest: Add support for struct arrays in function signatures.
|
||||
* Soltest: Add support for left-aligned, unpadded hex string literals.
|
||||
|
||||
### 0.5.5 (2019-03-05)
|
||||
|
||||
@ -86,7 +88,6 @@ Bugfixes:
|
||||
|
||||
Build System:
|
||||
* Soltest: Add support for left-aligned, padded hex literals.
|
||||
* Soltest: Add support for left-aligned, unpadded hex string literals.
|
||||
* Soltest: Add support for right-aligned, padded boolean literals.
|
||||
|
||||
### 0.5.4 (2019-02-12)
|
||||
|
@ -291,7 +291,7 @@ tuple<bytes, ABIType, string> TestFileParser::parseABITypeLiteral()
|
||||
if (alignment != DeclaredAlignment::None)
|
||||
throw Error(Error::Type::ParserError, "Hex string literals cannot be aligned or padded.");
|
||||
string parsed = parseHexNumber();
|
||||
rawString += parsed;
|
||||
rawString += "hex\"" + parsed + "\"";
|
||||
result = convertHexString(parsed);
|
||||
abiType = ABIType{ABIType::HexString, ABIType::AlignNone, result.size()};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user