Skip to content

Commit

Permalink
Remove morden testnet (#4339) (#4763)
Browse files Browse the repository at this point in the history
* Remove Morden testnet

* Update CHANGELOG.md

Co-authored-by: Zachinquarantine <[email protected]>
  • Loading branch information
spacesailor24 and tqpcharlie authored Feb 10, 2022
1 parent 2a10e24 commit bd6a9d8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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

0 comments on commit bd6a9d8

Please sign in to comment.