From 3fea84a759bb7623b6c531cea4cdb4afc64cb4a5 Mon Sep 17 00:00:00 2001 From: Alexey Date: Fri, 29 Oct 2021 18:16:30 +0300 Subject: [PATCH] increase root history size --- contracts/MerkleTreeWithHistory.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/MerkleTreeWithHistory.sol b/contracts/MerkleTreeWithHistory.sol index c91bfca..a5b5e37 100644 --- a/contracts/MerkleTreeWithHistory.sol +++ b/contracts/MerkleTreeWithHistory.sol @@ -32,7 +32,7 @@ contract MerkleTreeWithHistory is Initializable { // it removes index range check on every interaction mapping(uint256 => bytes32) public filledSubtrees; mapping(uint256 => bytes32) public roots; - uint32 public constant ROOT_HISTORY_SIZE = 30; + uint32 public constant ROOT_HISTORY_SIZE = 100; uint32 public currentRootIndex = 0; // todo remove uint32 public nextIndex = 0;