Skip to content

Commit e46f667

Browse files
authored
Remove ID attribute from bootstrap job spec (#15)
ID is internal to the DB and shouldn't be part of the displayed job spec. It was mistakenly added in smartcontractkit/chainlink#5882
1 parent 86ee65b commit e46f667

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

src/screens/Job/JobView.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ const JOB_PAYLOAD__SPEC = gql`
107107
fromAddress
108108
}
109109
... on BootstrapSpec {
110-
id
111110
contractID
112111
relay
113112
monitoringEndpoint

src/screens/Job/generateJobDefinition.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,6 @@ observationSource = """
543543
gasLimit: 1000,
544544
spec: {
545545
__typename: 'BootstrapSpec',
546-
id: '',
547546
contractID: '0x0000000000000000000000000000000000000000',
548547
relay: 'evm',
549548
relayConfig: {
@@ -564,7 +563,6 @@ schemaVersion = 1
564563
name = "bootstrap"
565564
externalJobID = "00000000-0000-0000-0000-0000000000001"
566565
gasLimit = 1_000
567-
id = ""
568566
contractID = "0x0000000000000000000000000000000000000000"
569567
relay = "evm"
570568
monitoringEndpoint = "https://monitoring.endpoint"

src/screens/Job/generateJobDefinition.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@ export const generateJobDefinition = (
245245
...extractJobFields(job),
246246
...extractSpecFields(
247247
job.spec,
248-
'id',
249248
'contractID',
250249
'relay',
251250
'relayConfig',

0 commit comments

Comments
 (0)