File tree Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @smartcontractkit/operator-ui ' : minor
3+ ---
4+
5+ add new job type: BlockHeaderFeeder
Original file line number Diff line number Diff line change @@ -108,6 +108,20 @@ const JOB_PAYLOAD__SPEC = gql`
108108 evmChainID
109109 fromAddresses
110110 }
111+ ... on BlockHeaderFeederSpec {
112+ coordinatorV1Address
113+ coordinatorV2Address
114+ waitBlocks
115+ lookbackBlocks
116+ blockhashStoreAddress
117+ batchBlockhashStoreAddress
118+ pollPeriod
119+ runTimeout
120+ evmChainID
121+ fromAddresses
122+ getBlockhashesBatchSize
123+ storeBlockhashesBatchSize
124+ }
111125 ... on BootstrapSpec {
112126 contractID
113127 relay
Original file line number Diff line number Diff line change @@ -242,6 +242,28 @@ export const generateJobDefinition = (
242242 }
243243
244244 break
245+ case 'BlockHeaderFeederSpec' :
246+ values = {
247+ ...extractJobFields ( job ) ,
248+ ...extractSpecFields (
249+ job . spec ,
250+ 'coordinatorV1Address' ,
251+ 'coordinatorV2Address' ,
252+ 'waitBlocks' ,
253+ 'lookbackBlocks' ,
254+ 'blockhashStoreAddress' ,
255+ 'batchBlockhashStoreAddress' ,
256+ 'pollPeriod' ,
257+ 'runTimeout' ,
258+ 'evmChainID' ,
259+ 'fromAddresses' ,
260+ 'getBlockhashesBatchSize' ,
261+ 'storeBlockhashesBatchSize' ,
262+ ) ,
263+ ...extractObservationSourceField ( job ) ,
264+ }
265+ break
266+
245267 case 'BootstrapSpec' :
246268 values = {
247269 ...extractJobFields ( job ) ,
You can’t perform that action at this time.
0 commit comments