Migrate MerkleProof tests among other testing utilities (#4689)
This commit is contained in:
@ -1,7 +1,5 @@
|
||||
const MAX_UINT48 = web3.utils.toBN(1).shln(48).subn(1).toString();
|
||||
const MAX_UINT64 = web3.utils.toBN(1).shln(64).subn(1).toString();
|
||||
|
||||
// TODO: remove toString() when bigint are supported
|
||||
module.exports = {
|
||||
MAX_UINT48,
|
||||
MAX_UINT64,
|
||||
MAX_UINT48: (2n ** 48n - 1n).toString(),
|
||||
MAX_UINT64: (2n ** 64n - 1n).toString(),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user