Skip to content

Commit

Permalink
Merge pull request #33 from smartcontractkit/bug/MERC-293/display-spe…
Browse files Browse the repository at this point in the history
…c-feed-id
  • Loading branch information
vyzaldysanchez authored Mar 23, 2023
2 parents d17e013 + 374e9b4 commit 0ccfc20
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/eighty-moose-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@smartcontractkit/operator-ui': minor
---

Displays feed ID on OCR2 JobSpec
1 change: 1 addition & 0 deletions src/screens/Job/JobView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ const JOB_PAYLOAD__SPEC = gql`
transmitterID
pluginType
pluginConfig
feedID
}
... on VRFSpec {
evmChainID
Expand Down
2 changes: 2 additions & 0 deletions src/screens/Job/generateJobDefinition.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ observationTimeout = "10s"
juelsPerFeeCoinSource: '1000000000',
},
transmitterID: '0x01010CaB43e77116c95745D219af1069fE050d7A',
feedID: 'feed-id',
},
runs: {
results: [],
Expand Down Expand Up @@ -414,6 +415,7 @@ p2pv2Bootstrappers = [
]
relay = "evm"
pluginType = "median"
feedID = "feed-id"
transmitterID = "0x01010CaB43e77116c95745D219af1069fE050d7A"
observationSource = """
fetch [type=http method=POST url="http://localhost:8001" requestData="{\\\\"hi\\\\": \\\\"hello\\\\"}"];
Expand Down
1 change: 1 addition & 0 deletions src/screens/Job/generateJobDefinition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ export const generateJobDefinition = (
'relayConfig',
'pluginType',
'pluginConfig',
'feedID',
),
// We need to call 'extractSpecFields' again here so we get the spec
// fields displaying in alphabetical order.
Expand Down

0 comments on commit 0ccfc20

Please sign in to comment.