Skip to content

Commit 613033d

Browse files
committed
Make EnvsOptions fields pub
1 parent 473a163 commit 613033d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

packages/std/src/testing/mock.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -450,14 +450,15 @@ pub struct Envs {
450450
envs_produced: u64,
451451
}
452452

453+
#[derive(Clone)]
453454
pub struct EnvsOptions {
454-
bech32_prefix: &'static str, /* static due to MockApi's Copy requirement. No better idea for now. */
455-
block_time: u64,
455+
pub bech32_prefix: &'static str, /* static due to MockApi's Copy requirement. No better idea for now. */
456+
pub block_time: u64,
456457
// The height before the first `make` call
457-
initial_height: u64,
458+
pub initial_height: u64,
458459
// The block time before the first `make` call
459-
initial_time: Timestamp,
460-
chain_id: String,
460+
pub initial_time: Timestamp,
461+
pub chain_id: String,
461462
}
462463

463464
impl Default for EnvsOptions {

0 commit comments

Comments
 (0)