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 473a163 commit 613033dCopy full SHA for 613033d
packages/std/src/testing/mock.rs
@@ -450,14 +450,15 @@ pub struct Envs {
450
envs_produced: u64,
451
}
452
453
+#[derive(Clone)]
454
pub struct EnvsOptions {
- bech32_prefix: &'static str, /* static due to MockApi's Copy requirement. No better idea for now. */
455
- block_time: u64,
+ pub bech32_prefix: &'static str, /* static due to MockApi's Copy requirement. No better idea for now. */
456
+ pub block_time: u64,
457
// The height before the first `make` call
- initial_height: u64,
458
+ pub initial_height: u64,
459
// The block time before the first `make` call
- initial_time: Timestamp,
460
- chain_id: String,
+ pub initial_time: Timestamp,
461
+ pub chain_id: String,
462
463
464
impl Default for EnvsOptions {
0 commit comments