Skip to content

Commit 0ed4dc1

Browse files
committed
chore: add descriptive names to test vars.
1 parent 220c601 commit 0ed4dc1

File tree

1 file changed

+4
-2
lines changed
  • protocol-units/settlement/mcr/contracts/test

1 file changed

+4
-2
lines changed

protocol-units/settlement/mcr/contracts/test/MCR.t.sol

+4-2
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,11 @@ contract MCRTest is Test {
257257
// dishonest signers
258258
dishonestSigners.push(signer3);
259259

260-
for (uint i = 0; i < 50; i++) {
260+
uint reorgs = 50;
261+
for (uint i = 0; i < reorgs; i++) {
261262

262-
for(uint j = 0; j < 10; j++) {
263+
uint commitmentHeights = 10;
264+
for(uint j = 0; j < commitmentHeights; j++) {
263265

264266
uint256 blockHeight = i * 10 + j + 1;
265267
blockTime += 1;

0 commit comments

Comments
 (0)