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

Remove gas price sections from docs for using Metamask. #8103

Merged
merged 1 commit into from
Jun 15, 2021

Conversation

oneeman
Copy link
Contributor

@oneeman oneeman commented Jun 15, 2021

Description

When CIP35 was being developed, Metamask did not properly handle setting a gas price for networks other than Ethereum's mainnet (see MetaMask/metamask-extension#10444). Since then, however, they have fixed this by querying the node's eth_gasPrice method. Since this is how we were recommended developers choose a gas price, it is now redundant as Metamask does it by itself.

This PR updates the docs for using Metamask with Celo, removing the sections about having to set the gas price yourself.

Other Changes

Some trailing whitespace removed automatically by VS Code

Tested

Verified that metamask sets the gas price correctly on its own when connected to mainnet, baklava, and a local network running on my computer.

When CIP35 was being developed, Metamask did not properly handle setting a gas price for networks other than Ethereum's mainnet.  Since then, however, they have fixed this by querying the node's eth_gasPrice method.  Since this is how we were recommended developers choose a gas price, it is not redundant as Metamask does it by itself.
@oneeman oneeman added automerge Have PR merge automatically when checks pass docs Fixes to any documentation documentation labels Jun 15, 2021
Copy link
Contributor

@barbaraliau barbaraliau left a comment

Choose a reason for hiding this comment

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

LGTM

@barbaraliau barbaraliau merged commit c90edf1 into master Jun 15, 2021
@mergify mergify bot deleted the oneeman/metamask-docs-update branch June 15, 2021 20:53
tkporter pushed a commit that referenced this pull request Jul 8, 2021
When CIP35 was being developed, Metamask did not properly handle setting a gas price for networks other than Ethereum's mainnet.  Since then, however, they have fixed this by querying the node's eth_gasPrice method.  Since this is how we were recommended developers choose a gas price, it is not redundant as Metamask does it by itself.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Have PR merge automatically when checks pass docs Fixes to any documentation documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants