@@ -245,68 +245,20 @@ func Test_SolanaChainsController_Show(t *testing.T) {
245245 inputID : validID ,
246246 name : "success" ,
247247 want : func (t * testing.T , app * cltest.TestApplication ) * commonTypes.ChainStatus {
248+ wc := & config.TOMLConfig {
249+ ChainID : ptr (validID ),
250+ Chain : config.Chain {
251+ SkipPreflight : ptr (false ),
252+ TxTimeout : commoncfg .MustNewDuration (time .Hour ),
253+ },
254+ }
255+ wc .SetDefaults ()
256+ cfgStr , err := wc .TOMLString ()
257+ require .NoError (t , err )
248258 return & commonTypes.ChainStatus {
249259 ID : validID ,
250260 Enabled : true ,
251- Config : `ChainID = 'Chainlink-12'
252- Enabled = true
253- BlockTime = '500ms'
254- BalancePollPeriod = '5s'
255- ConfirmPollPeriod = '500ms'
256- OCR2CachePollPeriod = '1s'
257- OCR2CacheTTL = '1m0s'
258- TxTimeout = '1h0m0s'
259- TxRetryTimeout = '10s'
260- TxConfirmTimeout = '30s'
261- TxExpirationRebroadcast = false
262- TxRetentionTimeout = '0s'
263- SkipPreflight = false
264- Commitment = 'confirmed'
265- MaxRetries = 0
266- FeeEstimatorMode = 'fixed'
267- ComputeUnitPriceMax = 1000
268- ComputeUnitPriceMin = 0
269- ComputeUnitPriceDefault = 0
270- FeeBumpPeriod = '3s'
271- BlockHistoryPollPeriod = '5s'
272- BlockHistorySize = 1
273- BlockHistoryBatchLoadSize = 20
274- ComputeUnitLimitDefault = 200000
275- EstimateComputeUnitLimit = false
276- LogPollerStartingLookback = '24h0m0s'
277- LogPollerCPIEventsEnabled = true
278- LogPollerSlotsBatchSize = 1000
279- Nodes = []
280-
281- [Workflow]
282- AcceptanceTimeout = '45s'
283- ForwarderAddress = '11111111111111111111111111111111'
284- ForwarderState = '11111111111111111111111111111111'
285- FromAddress = '11111111111111111111111111111111'
286- GasLimitDefault = 300000
287- Local = false
288- PollPeriod = '3s'
289- TxAcceptanceState = 3
290-
291- [MultiNode]
292- Enabled = false
293- PollFailureThreshold = 5
294- PollInterval = '15s'
295- SelectionMode = 'PriorityLevel'
296- SyncThreshold = 10
297- NodeIsSyncingEnabled = false
298- LeaseDuration = '1m0s'
299- NewHeadsPollInterval = '5s'
300- FinalizedBlockPollInterval = '5s'
301- EnforceRepeatableRead = true
302- DeathDeclarationDelay = '20s'
303- VerifyChainID = true
304- NodeNoNewHeadsThreshold = '20s'
305- NoNewFinalizedHeadsThreshold = '20s'
306- FinalityDepth = 0
307- FinalityTagEnabled = true
308- FinalizedBlockOffset = 50
309- ` ,
261+ Config : cfgStr ,
310262 }
311263 },
312264 wantStatusCode : http .StatusOK ,
0 commit comments