Skip to content

Poll GitHub for phishing config file - #232

Merged
whymarrh merged 2 commits into
MetaMask:developfrom
whymarrh:blacklist-endpoint-dev
May 7, 2020
Merged

whymarrh merged 2 commits into
MetaMask:developfrom
whymarrh:blacklist-endpoint-dev

Conversation

@whymarrh

@whymarrh whymarrh commented May 7, 2020

Copy link
Copy Markdown
Contributor

Closes #219

Like #229, but for develop/2.x:

This PR removes the usage of the https://api.infura.io/v2/blacklist endpoint, replacing it with fetching the config from GitHub directly.

@whymarrh
whymarrh requested a review from a team May 7, 2020 19:37

@Gudahtt Gudahtt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@whymarrh
whymarrh merged commit 188279a into MetaMask:develop May 7, 2020
@whymarrh
whymarrh deleted the blacklist-endpoint-dev branch May 7, 2020 20:02
Mrtenz pushed a commit to Mrtenz/core that referenced this pull request Jun 17, 2026
Naz-Ovh pushed a commit to 0x-fork/metamask-core that referenced this pull request Sep 13, 2026
<!--
Thanks for your contribution! Take a moment to answer these questions so
that reviewers have the information they need to properly understand
your changes:

* What is the current state of things and why does it need to change?
* What is the solution your changes offer and how does it work?

Are there any issues or other links reviewers should consult to
understand this pull request better? For instance:

* Fixes #12345
* See: #67890
-->
The `deserialize` and `serialize` methods present wrong signatures as
they expect the `State extends Json` generic type passed to the
`Keyring` for their arguments and return value.

They now present the following signatures:
- `serialize(): Promise<Json>`
- `deserialize(state: Json): Promise<void>`

Since now the `State extends Json` generic is unused, it has been
removed from the `Keyring` type

* Fixes: MetaMask#128
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.

Replace Infura blacklist endpoint

2 participants