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 morden testnet #4339

Merged
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 6 additions & 1 deletion CHANGELOG.md
Expand Up @@ -514,5 +514,10 @@ Released with 1.0.0-beta.37 code base.
### Changed
- Muted E2E gnosis dex tests in CI until fix for issue #4436 is applied (#4701)


### Removed
- Removed deprecated Morden testnet code (#4339)


### Security
- Ran `npm audit fix` to address vulnerabilities and update libraries (#4719) (#4728)
- Ran `npm audit fix` to address vulnerabilities and update libraries (#4719) (#4728)
1 change: 0 additions & 1 deletion docs/web3-eth-net.rst
Expand Up @@ -33,7 +33,6 @@ Returns

``Promise`` returns ``String``:
- ``"main"`` for main network
- ``"morden"`` for the morden test network
- ``"ropsten"`` for the morden test network
- ``"private"`` for undetectable networks.

Expand Down
4 changes: 0 additions & 4 deletions packages/web3-eth/src/getNetworkType.js
Expand Up @@ -41,10 +41,6 @@ var getNetworkType = function (callback) {
id === 1) {
returnValue = 'main';
}
if (genesis.hash === '0cd786a2425d16f152c658316c423e6ce1181e15c3295826d7c9904cba9ce303' &&
id === 2) {
returnValue = 'morden';
}
if (genesis.hash === '0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d' &&
id === 3) {
returnValue = 'ropsten';
Expand Down
4 changes: 0 additions & 4 deletions test/eth.net.getNetworkType.js
Expand Up @@ -7,10 +7,6 @@ var tests = [{
hash: '0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3',
id: 1,
result: 'main'
},{
hash: '0cd786a2425d16f152c658316c423e6ce1181e15c3295826d7c9904cba9ce303',
id: 2,
result: 'morden'
},{
hash: '0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d',
id: 3,
Expand Down