@@ -21,29 +21,31 @@ def contract_with_call_depth_geth(
2121 and is used for any testing that requires nested calls, such as
2222 call trees or event-name clashes.
2323 """
24- return owner .deploy (project .ContractA , middle_contract_geth , leaf_contract_geth )
24+ return owner .deploy (
25+ project .ContractA , middle_contract_geth , leaf_contract_geth , required_confirmations = 0
26+ )
2527
2628
2729@pytest .fixture
2830def error_contract_geth (owner , project , geth_provider ):
2931 _ = geth_provider # Ensure uses geth
30- return owner .deploy (project .HasError , 1 )
32+ return owner .deploy (project .HasError , 1 , required_confirmations = 0 )
3133
3234
3335@pytest .fixture
3436def leaf_contract_geth (project , geth_provider , owner ):
3537 """
3638 The last contract called by `contract_with_call_depth`.
3739 """
38- return owner .deploy (project .ContractC )
40+ return owner .deploy (project .ContractC , required_confirmations = 0 )
3941
4042
4143@pytest .fixture
4244def middle_contract_geth (project , geth_provider , owner , leaf_contract_geth ):
4345 """
4446 The middle contract called by `contract_with_call_depth`.
4547 """
46- return owner .deploy (project .ContractB , leaf_contract_geth )
48+ return owner .deploy (project .ContractB , leaf_contract_geth , required_confirmations = 0 )
4749
4850
4951@pytest .fixture
@@ -83,7 +85,12 @@ def custom_network_connection(
8385 data ["networks" ]["custom" ][0 ]["chain_id" ] = geth_provider .chain_id
8486
8587 config = {
86- ethereum .name : {custom_network_name_0 : {"default_transaction_type" : 0 }},
88+ ethereum .name : {
89+ custom_network_name_0 : {
90+ "default_transaction_type" : 0 ,
91+ "required_confirmations" : 0 ,
92+ }
93+ },
8794 geth_provider .name : {ethereum .name : {custom_network_name_0 : {"uri" : geth_provider .uri }}},
8895 ** data ,
8996 }
0 commit comments