Skip to content

Commit daf9d55

Browse files
committed
changeset
1 parent af7ae36 commit daf9d55

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

.changeset/fresh-bushes-hear.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"chainlink-deployments-framework": patch
3+
---
4+
5+
Add confirm func options for faster ticker

chain/evm/provider/confirm_functor_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func Test_ConfirmFuncGeth_ConfirmFunc(t *testing.T) {
3939
adminTransactor.From: {Balance: prefundAmountWei},
4040
}
4141

42-
defaultConfirmFunc := func(t *testing.T, client *SimClient) *types.Transaction {
42+
defaultGiveTxFunc := func(t *testing.T, client *SimClient) *types.Transaction {
4343
t.Helper()
4444

4545
// Get the nonce
@@ -74,12 +74,12 @@ func Test_ConfirmFuncGeth_ConfirmFunc(t *testing.T) {
7474
}{
7575
{
7676
name: "successful confirmation",
77-
giveTx: defaultConfirmFunc,
77+
giveTx: defaultGiveTxFunc,
7878
},
7979
{
8080
name: "successful confirmation with custom WaitMined ticker",
8181
confirmerOpts: []func(*confirmFuncGeth){WithTickInterval(10 * time.Millisecond)},
82-
giveTx: defaultConfirmFunc,
82+
giveTx: defaultGiveTxFunc,
8383
},
8484
{
8585
name: "failed with nil tx",

0 commit comments

Comments
 (0)