Skip to content

Commit 9e92648

Browse files
committed
Remove unnecessary envs_produced
1 parent 613033d commit 9e92648

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/std/src/testing/mock.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,6 @@ pub struct Envs {
447447
block_time: u64,
448448
last_height: u64,
449449
last_time: Timestamp,
450-
envs_produced: u64,
451450
}
452451

453452
#[derive(Clone)]
@@ -490,7 +489,6 @@ impl Envs {
490489
block_time: options.block_time,
491490
last_height: options.initial_height,
492491
last_time: options.initial_time,
493-
envs_produced: 0,
494492
}
495493
}
496494

@@ -504,7 +502,6 @@ impl Envs {
504502

505503
self.last_height = height;
506504
self.last_time = time;
507-
self.envs_produced += 1; // does not overflow because height increment fails first
508505

509506
Some(Env {
510507
block: BlockInfo {

0 commit comments

Comments
 (0)