We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c476fd commit e1092dbCopy full SHA for e1092db
packages/std/src/testing/mock.rs
@@ -452,14 +452,15 @@ pub struct Envs {
452
envs_produced: u64,
453
}
454
455
+#[derive(Clone)]
456
pub struct EnvsOptions {
- bech32_prefix: &'static str, /* static due to MockApi's Copy requirement. No better idea for now. */
457
- block_time: u64,
+ pub bech32_prefix: &'static str, /* static due to MockApi's Copy requirement. No better idea for now. */
458
+ pub block_time: u64,
459
// The height before the first `make` call
- initial_height: u64,
460
+ pub initial_height: u64,
461
// The block time before the first `make` call
- initial_time: Timestamp,
462
- chain_id: String,
+ pub initial_time: Timestamp,
463
+ pub chain_id: String,
464
465
466
impl Default for EnvsOptions {
0 commit comments