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 references to deprecated Kovan testnet #2635

Merged
merged 2 commits into from
Sep 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/ethpm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ way through the EIP process)
- 3: Ropsten
- 4: Rinkeby
- 5: Goerli
- 42: Kovan

- ``package-name``: Must conform to the package-name as specified in
the
Expand Down
4 changes: 2 additions & 2 deletions docs/node.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ However, spam and mining attacks have happened,
which is disruptive when you want to test out a contract.

There are some alternative networks that limit the damage of spam attacks, but
they are not standardized across node software. Geth runs their own (Rinkeby),
and Parity runs their own (Kovan). See a full comparison in this `Stackexchange Q&A
they are not standardized across node software. Geth runs their own (Rinkeby).
See a full comparison in this `Stackexchange Q&A
<https://ethereum.stackexchange.com/a/30072/1461>`_.

So roughly, choose this way:
Expand Down
1 change: 0 additions & 1 deletion ethpm/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@
3: "ropsten",
4: "rinkeby",
5: "goerli",
42: "kovan",
}
2 changes: 1 addition & 1 deletion ethpm/validation/uri.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def validate_registry_uri_authority(auth: str) -> None:
if not is_supported_chain_id(to_int(text=chain_id)):
raise EthPMValidationError(
f"Chain ID: {chain_id} is not supported. Supported chain ids include: "
"1 (mainnet), 3 (ropsten), 4 (rinkeby), 5 (goerli) and 42 (kovan). "
"1 (mainnet), 3 (ropsten), 4 (rinkeby), and 5 (goerli)"
"Please try again with a valid registry URI."
)

Expand Down
1 change: 1 addition & 0 deletions newsfragments/2635.breaking-change.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove Kovan auto provider
1 change: 0 additions & 1 deletion tests/ethpm/_utils/test_chain_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ def test_parse_BIP122_uri(value, expected_resource_type):
(3, True),
(4, True),
(5, True),
(42, True),
(2, False),
("1", False),
({}, False),
Expand Down
1 change: 0 additions & 1 deletion web3/auto/infura/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
INFURA_ROPSTEN_DOMAIN = "ropsten.infura.io"
INFURA_GOERLI_DOMAIN = "goerli.infura.io"
INFURA_RINKEBY_DOMAIN = "rinkeby.infura.io"
INFURA_KOVAN_DOMAIN = "kovan.infura.io"

WEBSOCKET_SCHEME = "wss"
HTTP_SCHEME = "https"
Expand Down
15 changes: 0 additions & 15 deletions web3/auto/infura/kovan.py

This file was deleted.