Skip to content

Commit

Permalink
chore: remove maxGasPriceGWei from UI for VRF (#12)
Browse files Browse the repository at this point in the history
* chore: remove maxGasPriceGWei from UI for VRF

This job spec parameter is removed in smartcontractkit/chainlink#7721

* chore: add changeset
  • Loading branch information
makramkd authored Oct 24, 2022
1 parent 60f5adf commit b286a55
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/dirty-eels-drive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@smartcontractkit/operator-ui': minor
---

Remove the `maxGasPriceGWei` field from VRF job details page.
1 change: 0 additions & 1 deletion src/screens/Job/JobView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ const JOB_PAYLOAD__SPEC = gql`
requestTimeout
backoffInitialDelay
backoffMaxDelay
maxGasPriceGWei
}
... on BlockhashStoreSpec {
coordinatorV1Address
Expand Down
2 changes: 0 additions & 2 deletions src/screens/Job/generateJobDefinition.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,6 @@ juelsPerFeeCoinSource = "1000000000"
chunkSize: 25,
backoffInitialDelay: '1m',
backoffMaxDelay: '1h',
maxGasPriceGWei: 200,
},
observationSource:
' fetch [type=http method=POST url="http://localhost:8001" requestData="{\\"hi\\": \\"hello\\"}"];\n parse [type=jsonparse path="data,result"];\n multiply [type=multiply times=100];\n fetch -> parse -> multiply;\n',
Expand All @@ -487,7 +486,6 @@ batchFulfillmentGasMultiplier = 1
chunkSize = 25
backoffInitialDelay = "1m"
backoffMaxDelay = "1h"
maxGasPriceGWei = 200
observationSource = """
fetch [type=http method=POST url="http://localhost:8001" requestData="{\\\\"hi\\\\": \\\\"hello\\\\"}"];
parse [type=jsonparse path="data,result"];
Expand Down
1 change: 0 additions & 1 deletion src/screens/Job/generateJobDefinition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ export const generateJobDefinition = (
'chunkSize',
'backoffInitialDelay',
'backoffMaxDelay',
'maxGasPriceGWei',
),
...extractObservationSourceField(job),
}
Expand Down

0 comments on commit b286a55

Please sign in to comment.