We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 613033d commit 9e92648Copy full SHA for 9e92648
packages/std/src/testing/mock.rs
@@ -447,7 +447,6 @@ pub struct Envs {
447
block_time: u64,
448
last_height: u64,
449
last_time: Timestamp,
450
- envs_produced: u64,
451
}
452
453
#[derive(Clone)]
@@ -490,7 +489,6 @@ impl Envs {
490
489
block_time: options.block_time,
491
last_height: options.initial_height,
492
last_time: options.initial_time,
493
- envs_produced: 0,
494
495
496
@@ -504,7 +502,6 @@ impl Envs {
504
502
505
503
self.last_height = height;
506
self.last_time = time;
507
- self.envs_produced += 1; // does not overflow because height increment fails first
508
509
Some(Env {
510
block: BlockInfo {
0 commit comments