@@ -39,6 +39,7 @@ func TestNewEvmClient(t *testing.T) {
3939 noNewFinalizedBlocksThreshold := time .Second * 5
4040 finalizedBlockPollInterval := time .Second * 4
4141 newHeadsPollInterval := time .Second * 4
42+ confirmationTimeout := time .Second * 60
4243 nodeConfigs := []client.NodeConfig {
4344 {
4445 Name : ptr ("foo" ),
@@ -51,7 +52,7 @@ func TestNewEvmClient(t *testing.T) {
5152 chainCfg , nodePool , nodes , err := client .NewClientConfigs (selectionMode , leaseDuration , chainTypeStr , nodeConfigs ,
5253 pollFailureThreshold , pollInterval , syncThreshold , nodeIsSyncingEnabled , noNewHeadsThreshold , finalityDepth ,
5354 finalityTagEnabled , finalizedBlockOffset , enforceRepeatableRead , deathDeclarationDelay , noNewFinalizedBlocksThreshold ,
54- finalizedBlockPollInterval , newHeadsPollInterval )
55+ finalizedBlockPollInterval , newHeadsPollInterval , confirmationTimeout )
5556 require .NoError (t , err )
5657
5758 client , err := client .NewEvmClient (nodePool , chainCfg , nil , logger .Test (t ), testutils .FixtureChainID , nodes , chaintype .ChainType (chainTypeStr ))
@@ -77,7 +78,7 @@ func TestChainClientMetrics(t *testing.T) {
7778 }
7879 chainCfg , nodePool , nodes , err := client .NewClientConfigs (ptr ("HighestHead" ), time .Duration (0 ), "" , nodeConfigs ,
7980 ptr [uint32 ](5 ), 10 * time .Second , ptr [uint32 ](5 ), ptr (false ), time .Minute , ptr [uint32 ](5 ), ptr (false ),
80- ptr [uint32 ](5 ), ptr (false ), 10 * time .Second , 10 * time .Second , 10 * time .Second , 10 * time .Second )
81+ ptr [uint32 ](5 ), ptr (false ), 10 * time .Second , 10 * time .Second , 10 * time .Second , 10 * time .Second , 60 * time . Second )
8182 require .NoError (t , err )
8283
8384 chainID := big .NewInt (68472 )
0 commit comments