Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue where supported network link did not work for certain netwo… #1415

Merged
merged 3 commits into from
Jul 25, 2023

Conversation

yacine-benichou
Copy link
Contributor

Description

In https://docs.chain.link/vrf/v2/estimating-costs, when clicking on the supported networks link after selecting a network, the link does not directly go to the network chosen by the user. Also, There are some typos for the subscription method

Changes

  • Fixed supported networks link issue.
  • Fixed typos.

@vercel
Copy link

vercel bot commented Jul 25, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
documentation ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 25, 2023 8:12pm

@dwightjl dwightjl self-assigned this Jul 25, 2023
Copy link
Collaborator

@dwightjl dwightjl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with one writer edit.

src/features/vrf/v2/components/CostTable.tsx Outdated Show resolved Hide resolved
@dwightjl dwightjl added the ready to merge Just needs approval. label Jul 25, 2023
@yacine-benichou yacine-benichou merged commit 966ec39 into main Jul 25, 2023
5 checks passed
@yacine-benichou yacine-benichou deleted the vrf-v2-cost-calculator-fix branch July 25, 2023 20:16
simkasss pushed a commit to simkasss/documentation that referenced this pull request Jul 27, 2023
smartcontractkit#1415)

* Fix issue where supported network link did not work for certain networks + Fix typos

* Edits

* Apply small syntax suggestion

---------

Co-authored-by: Yacine Benichou <yacine@mb-q1g67f3cp6.lan>
dwightjl added a commit that referenced this pull request Sep 7, 2023
* filter data-feed by category

* pagination wip

* filter eth mainnet table

* add search input

* url sync with search

* update placeholder

* Token terminology update (#1414)

* Vrf v2 cost calculator (#1353)

* Create design of VRF v2 cost calculator

* Add checkbox to have user choose method and compute parameters to compute vrf request cost

* Finalize VRF Cost Calculator

* Fix API url link

* fix API URL issue when calling

* Fix total cost output bugs + Add chain icons next to chain name in dropdown + Solve dropdown issue that didn't show on click when input is filled

* Fix bug when previous data are not refreshed after changing chain and network in calculator

* Fix responsive design issues + Add icons next to network options in dropdown menu + Fix issue where data wre not fetched from API when changing vrf method

* Cost calculator edits

* Refactor rebase issues + Fix issues that make API calls for BNB fail

* Fix issue where gas price input was not taken into account in request cost computation + Add maxCost computation in subscription method depending on gas lane chosen

* Apply design suggestions + Fix gas price that formatted the value before the user finished typing

* Syntax fix

* Add verification gas row in cost table of subscription method + Apply small syntax suggestions

* Edits

* Add Caret svg to dropdown input

* Writer edits

* Lint fix

---------

Co-authored-by: Yacine Benichou <yacine@mb-q1g67f3cp6.lan>
Co-authored-by: Dwight Lyle <dwightjl@gmail.com>

* Fix issue where supported network link did not work for certain netwo… (#1415)

* Fix issue where supported network link did not work for certain networks + Fix typos

* Edits

* Apply small syntax suggestion

---------

Co-authored-by: Yacine Benichou <yacine@mb-q1g67f3cp6.lan>

* fix tsconfig.json errors in vscode (#1416)

* fix tsconfig.json errors in vscode

* fix compile errors in solana pricefeeds off-chain-read.ts

* Vrf v2 cost calculator (#1418)

* Create design of VRF v2 cost calculator

* Finalize VRF Cost Calculator

* Fix total cost output bugs + Add chain icons next to chain name in dropdown + Solve dropdown issue that didn't show on click when input is filled

* Fix responsive design issues + Add icons next to network options in dropdown menu + Fix issue where data wre not fetched from API when changing vrf method

* Cost calculator edits

* Refactor rebase issues + Fix issues that make API calls for BNB fail

* Fix Arbitrum computation issue by adding LINK Premium and price feed + Add L1 Gas Price input field to table when network is Arbitrum

* Fix API url + edits

* Fix issue when L1 gas price estimate could be undefined when switching networks

* Writer edits

---------

Co-authored-by: Yacine Benichou <yacine@mb-q1g67f3cp6.lan>
Co-authored-by: Dwight Lyle <dwightjl@gmail.com>

* add query parameters

* close dropdown on click outside

* flexible search box

* reset search and categories on network select

* typecheck

* fix queryString usage

---------

Co-authored-by: Dwight Lyle <dwightjl@gmail.com>
Co-authored-by: yacine-benichou <78235417+yacine-benichou@users.noreply.github.com>
Co-authored-by: Yacine Benichou <yacine@mb-q1g67f3cp6.lan>
Co-authored-by: Amine E <aelmanaa@users.noreply.github.com>
dorianbayart pushed a commit to dorianbayart/documentation that referenced this pull request Dec 25, 2023
* filter data-feed by category

* pagination wip

* filter eth mainnet table

* add search input

* url sync with search

* update placeholder

* Token terminology update (smartcontractkit#1414)

* Vrf v2 cost calculator (smartcontractkit#1353)

* Create design of VRF v2 cost calculator

* Add checkbox to have user choose method and compute parameters to compute vrf request cost

* Finalize VRF Cost Calculator

* Fix API url link

* fix API URL issue when calling

* Fix total cost output bugs + Add chain icons next to chain name in dropdown + Solve dropdown issue that didn't show on click when input is filled

* Fix bug when previous data are not refreshed after changing chain and network in calculator

* Fix responsive design issues + Add icons next to network options in dropdown menu + Fix issue where data wre not fetched from API when changing vrf method

* Cost calculator edits

* Refactor rebase issues + Fix issues that make API calls for BNB fail

* Fix issue where gas price input was not taken into account in request cost computation + Add maxCost computation in subscription method depending on gas lane chosen

* Apply design suggestions + Fix gas price that formatted the value before the user finished typing

* Syntax fix

* Add verification gas row in cost table of subscription method + Apply small syntax suggestions

* Edits

* Add Caret svg to dropdown input

* Writer edits

* Lint fix

---------

Co-authored-by: Yacine Benichou <yacine@mb-q1g67f3cp6.lan>
Co-authored-by: Dwight Lyle <dwightjl@gmail.com>

* Fix issue where supported network link did not work for certain netwo… (smartcontractkit#1415)

* Fix issue where supported network link did not work for certain networks + Fix typos

* Edits

* Apply small syntax suggestion

---------

Co-authored-by: Yacine Benichou <yacine@mb-q1g67f3cp6.lan>

* fix tsconfig.json errors in vscode (smartcontractkit#1416)

* fix tsconfig.json errors in vscode

* fix compile errors in solana pricefeeds off-chain-read.ts

* Vrf v2 cost calculator (smartcontractkit#1418)

* Create design of VRF v2 cost calculator

* Finalize VRF Cost Calculator

* Fix total cost output bugs + Add chain icons next to chain name in dropdown + Solve dropdown issue that didn't show on click when input is filled

* Fix responsive design issues + Add icons next to network options in dropdown menu + Fix issue where data wre not fetched from API when changing vrf method

* Cost calculator edits

* Refactor rebase issues + Fix issues that make API calls for BNB fail

* Fix Arbitrum computation issue by adding LINK Premium and price feed + Add L1 Gas Price input field to table when network is Arbitrum

* Fix API url + edits

* Fix issue when L1 gas price estimate could be undefined when switching networks

* Writer edits

---------

Co-authored-by: Yacine Benichou <yacine@mb-q1g67f3cp6.lan>
Co-authored-by: Dwight Lyle <dwightjl@gmail.com>

* add query parameters

* close dropdown on click outside

* flexible search box

* reset search and categories on network select

* typecheck

* fix queryString usage

---------

Co-authored-by: Dwight Lyle <dwightjl@gmail.com>
Co-authored-by: yacine-benichou <78235417+yacine-benichou@users.noreply.github.com>
Co-authored-by: Yacine Benichou <yacine@mb-q1g67f3cp6.lan>
Co-authored-by: Amine E <aelmanaa@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants