diff --git a/contracts/eth/nearbridge/contracts/NearBridge.sol b/contracts/eth/nearbridge/contracts/NearBridge.sol index e622b5925..337d404fb 100644 --- a/contracts/eth/nearbridge/contracts/NearBridge.sol +++ b/contracts/eth/nearbridge/contracts/NearBridge.sol @@ -261,7 +261,7 @@ contract NearBridge is INearBridge, AdminControlled { function setBlockProducers(NearDecoder.BlockProducer[] memory src, Epoch storage epoch) internal { uint cnt = src.length; - require(cnt <= MAX_BLOCK_PRODUCERS); + require(cnt <= MAX_BLOCK_PRODUCERS, "It is not expected having that many block producers for the provided block"); epoch.numBPs = cnt; unchecked { for (uint i = 0; i < cnt; i++) {