-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix RangeError: Maximum BigInt size exceeded
in Exp
#129
Comments
Creating a smaller contract based on interface IERC20 {
function decimals() external view returns (uint256);
}
contract Test {
function truToToken() external view returns (uint256) {
return 10**IERC20(0xdAC17F958D2ee523a2206206994597C13D831ec7).decimals();
}
} The CFG for this contract (it was generated by temporarily patching the On $ cast sig 'decimals()'
0x313ce567 This |
When analyzing contract
0xEC702942609FaD2afC1489277d918611f0e17ceb
, the following error is raisedHow to reproduce it
Run
After further investigation, the error stack is
This issue is a follow up of #125, where some errors were reported when running
sevm
on a large contract dataset. The other errors encountered in the dataset were (these are already fixed)Shl
'seval
arithmetic when result is larger than2^256
#127Exp
's arithmeticeval
when result exceeds2^256
#128The text was updated successfully, but these errors were encountered: