Skip to content

Commit

Permalink
drop slot time to 2 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
QuiteStochastic committed Apr 28, 2022
1 parent 2396d29 commit b5efd6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/app/test_executive/payments_test.ml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module Make (Inputs : Intf.Test.Inputs_intf) = struct
[ { balance = "1000"; timing = Untimed }
; { balance = "1000"; timing = Untimed }
]
; num_snark_workers = 2
; num_snark_workers = 4
; snark_worker_fee = "0.0001"
; work_delay = Some 1
; transaction_capacity =
Expand Down Expand Up @@ -406,6 +406,7 @@ module Make (Inputs : Intf.Test.Inputs_intf) = struct
let sender = untimed_node_b in
let%bind sender_pub_key = Util.pub_key_of_node sender in
let%bind () =
(* deepthi says that to fill up a `small` transaction capacity with work delay of 1, there needs to be 12 total txns sent. 2 successfull txn are sent in the prior course of this test, so spamming out at least 10 more here will trigger a ledger proof to be emitted *)
repeat_seq ~n:10 ~f:(fun () ->
Network.Node.must_send_payment ~logger sender ~sender_pub_key
~receiver_pub_key ~amount:Currency.Amount.one ~fee
Expand Down
2 changes: 1 addition & 1 deletion src/lib/integration_test_cloud_engine/mina_automation.ml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ module Network_config = struct
; sub_windows_per_window = None
; ledger_depth = None
; work_delay
; block_window_duration_ms = Some 150000
; block_window_duration_ms = Some 120000
; transaction_capacity
; coinbase_amount = None
; supercharged_coinbase_factor = None
Expand Down

0 comments on commit b5efd6c

Please sign in to comment.