mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Avoid output messages size blow-up using huge bignums literals
This commit is contained in:
committed by
Alex Beregszaszi
parent
954903b505
commit
a320ffeafd
@@ -437,6 +437,10 @@ private:
|
||||
|
||||
/// @returns true if the literal is a valid rational number.
|
||||
static std::tuple<bool, rational> parseRational(std::string const& _value);
|
||||
|
||||
/// @returns a truncated readable representation of the bigint keeping only
|
||||
/// up to 4 leading and 4 trailing digits.
|
||||
static std::string bigintToString(dev::bigint const& num, bool _short);
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user