Skip to content

Commit e1092db

Browse files
committed
Make EnvsOptions fields pub
1 parent 9c476fd commit e1092db

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

packages/std/src/testing/mock.rs

+6-5
Original file line numberDiff line numberDiff line change
@@ -452,14 +452,15 @@ pub struct Envs {
452452
envs_produced: u64,
453453
}
454454

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

465466
impl Default for EnvsOptions {

0 commit comments

Comments
 (0)