Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make slot time configurable in intg tests #10827

Merged
merged 3 commits into from
May 3, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/lib/integration_test_cloud_engine/mina_automation.ml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ module Network_config = struct
; snark_worker_public_key (* ; aux_account_balance *)
; work_delay
; transaction_capacity
; block_window_duration_ms
} =
test_config
in
Expand Down Expand Up @@ -187,7 +188,7 @@ module Network_config = struct
; sub_windows_per_window = None
; ledger_depth = None
; work_delay
; block_window_duration_ms = Some 120000
; block_window_duration_ms = Some block_window_duration_ms
QuiteStochastic marked this conversation as resolved.
Show resolved Hide resolved
; transaction_capacity
; coinbase_amount = None
; supercharged_coinbase_factor = None
Expand Down
2 changes: 2 additions & 0 deletions src/lib/integration_test_lib/test_config.ml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ type t =
; work_delay : int option
; transaction_capacity :
Runtime_config.Proof_keys.Transaction_capacity.t option
; block_window_duration_ms : int
}

let default =
Expand All @@ -58,4 +59,5 @@ let default =
Signature_lib.Public_key.Compressed.to_string pk)
; work_delay = None
; transaction_capacity = None
; block_window_duration_ms = 120000
}