We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
MAX_UINT
1 parent d124f18 commit a3e02beCopy full SHA for a3e02be
test/math/SafeMath.test.js
@@ -7,7 +7,7 @@ require('chai')
7
.should();
8
9
contract('SafeMath', () => {
10
- const MAX_UINT = new BigNumber('115792089237316195423570985008687907853269984665640564039457584007913129639935');
+ const MAX_UINT = new BigNumber(2).pow(256).minus(1);
11
12
beforeEach(async function () {
13
this.safeMath = await SafeMathMock.new();
0 commit comments