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

Use current chainId for signTypedData instead of 3 #5

Merged
merged 1 commit into from
Jan 17, 2020

Conversation

Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented Jan 17, 2020

Instead of using the chainId "3" for the signTypedData button (i.e. Ropsten), the test dapp will now use the chainId of whichever network is currently selected (falling back to the networkId if there is no chainId).

This reconciles this repository with the test-dapp in `metamask-extension, which was recently changed: MetaMask/metamask-extension#7859

Instead of using the `chainId` "3" for the `signTypedData` button
(i.e. Ropsten), the test dapp will now use the `chainId` of whichever
network is currently selected (falling back to the `networkId` if there
is no `chainId`).
@Gudahtt Gudahtt requested a review from rekmarks January 17, 2020 22:40
Copy link
Contributor

@whymarrh whymarrh left a comment

Choose a reason for hiding this comment

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

LGTM

@Gudahtt Gudahtt merged commit 6e7101c into master Jan 17, 2020
@whymarrh whymarrh deleted the use-current-chainid-for-sign-typed-data branch January 17, 2020 22:56
jennypollack pushed a commit that referenced this pull request Apr 1, 2020
Finshed base UI refactor with material design
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants