Skip to content

Commit

Permalink
fix config test
Browse files Browse the repository at this point in the history
  • Loading branch information
ogtownsend committed Oct 29, 2024
1 parent 05a76f1 commit 3be57ba
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions core/services/chainlink/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1398,9 +1398,16 @@ func TestConfig_full(t *testing.T) {
if got.EVM[c].Transactions.AutoPurge.DetectionApiUrl == nil {
got.EVM[c].Transactions.AutoPurge.DetectionApiUrl = new(commoncfg.URL)
}
if got.EVM[c].GasEstimator.DAOracle.OracleType == nil {
oracleType := evmcfg.DAOracleOPStack
got.EVM[c].GasEstimator.DAOracle.OracleType = &oracleType
}
if got.EVM[c].GasEstimator.DAOracle.OracleAddress == nil {
got.EVM[c].GasEstimator.DAOracle.OracleAddress = new(types.EIP55Address)
}
if got.EVM[c].GasEstimator.DAOracle.CustomGasPriceCalldata == nil {
got.EVM[c].GasEstimator.DAOracle.CustomGasPriceCalldata = new(string)
}
}

cfgtest.AssertFieldsNotNil(t, got)
Expand Down

0 comments on commit 3be57ba

Please sign in to comment.