update solidity to 0.7.6

This commit is contained in:
poma 2021-03-11 23:05:59 +03:00
parent f189a657c9
commit 54a7bdcb04
No known key found for this signature in database
GPG key ID: BA20CB01FE165657
14 changed files with 23 additions and 23 deletions

View file

@ -10,7 +10,7 @@
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
pragma solidity ^0.7.0;
interface IHasher {
function MiMCSponge(uint256 in_xL, uint256 in_xR) external pure returns (uint256 xL, uint256 xR);
@ -35,7 +35,7 @@ contract MerkleTreeWithHistory {
uint32 public currentRootIndex = 0;
uint32 public nextIndex = 0;
constructor(uint32 _levels, IHasher _hasher) public {
constructor(uint32 _levels, IHasher _hasher) {
require(_levels > 0, "_levels should be greater than zero");
require(_levels < 32, "_levels should be less than 32");
levels = _levels;