Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Add constantinople flags #1

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ build/Release
node_modules
package-lock.json

dist
# dist
139 changes: 139 additions & 0 deletions dist/chains/goerli.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
{
"name": "goerli",
"chainId": 6284,
"networkId": 6284,
"comment": "Cross-client PoA test network",
"url": "https://github.com/goerli/testnet",
"genesis": {
"hash": "0xfa57319d09fd8a32faaf18d338c8a925a5a7975285bf29ecd024e083cba8abb1",
"timestamp": "0x5bdda800",
"gasLimit": 10485760,
"difficulty": 1,
"nonce": "0x0000000000000000",
"extraData": "0x2249276d20646f6e652077616974696e672e2e2e20666f7220626c6f636b2066696e616c69747922202d2049676779270000000001fa1804c408085d9c57eeb167ce953c99b6cb1e20794Fd02933F303FbA550bd1fe2f0649E3576eB0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"stateRoot": "0x0f410b6a6eae3d3156eccd966ac842a4c545c47921b9fe36386de18152cfddcf"
},
"hardforks": [
{
"name": "chainstart",
"block": 0,
"consensus": "poa",
"finality": null
},
{
"name": "homestead",
"block": 0,
"consensus": "poa",
"finality": null
},
{
"name": "dao",
"block": null,
"consensus": "poa",
"finality": null
},
{
"name": "tangerineWhistle",
"block": 0,
"consensus": "poa",
"finality": null
},
{
"name": "spuriousDragon",
"block": 0,
"consensus": "poa",
"finality": null
},
{
"name": "byzantium",
"block": 0,
"consensus": "poa",
"finality": null
},
{
"name": "constantinople",
"block": 0,
"consensus": "poa",
"finality": null
}
],
"bootstrapNodes": [
{
"ip": "40.70.214.166",
"port": 40303,
"id": "04fb7acb86f47b64298374b5ccb3c2959f1e5e9362158e50e0793c261518ffe83759d8295ca4a88091d4726d5f85e6276d53ae9ef4f35b8c4c0cc6b99c8c0537",
"location": "",
"comment": ""
},
{
"ip": "213.186.16.82",
"port": 1345,
"id": "17de5580bbc1620081a21f82954731c7854305463630a0d677ed991487609829a6bf1ffcb8fb8ef269eff4829690625db176b498c629b9b13cb39b73b6e7b08b",
"location": "",
"comment": ""
},
{
"ip": "85.7.110.224",
"port": 30303,
"id": "22da3ef3707626a92a32b0527d0846f88228daa0536c62d83c9ac7e96660bc8e4ac70a9aa8f8cedf71b580cd41449ad46c6e5a06ecf138b142f38a9d1b2b856a",
"location": "",
"comment": ""
},
{
"ip": "54.88.169.219",
"port": 30303,
"id": "3897b1a5786948f643d9755df92dc56d0b2284f36730dc198ef371aebf191b24b5cbe8162c2032b09b2f14ba73460bfc3f7d4ef1e26bcc59297d4f235dc5cdc5",
"location": "",
"comment": ""
},
{
"ip": "40.70.214.166",
"port": 30405,
"id": "3d197d65ed92af6d0adf280ce486714fb641ef9f9f38f0bdd5ddd552666fc1132f033eb249a87f7f30086902c131f30f054f872ae80ac83eea6bd3760a7bbce2",
"location": "",
"comment": ""
},
{
"ip": "188.166.20.30",
"port": 30303,
"id": "3d8d6698d2d4d730d896c7c1e3602ff845343f71bacbf8cb614b0e94fcb3b10e1a49ac2a5063c76617182a1c5928a4a63d4be897e54ae1cb858a1b94d0d275b8",
"location": "",
"comment": ""
},
{
"ip": "94.237.54.114",
"port": 30313,
"id": "46add44b9f13965f7b9875ac6b85f016f341012d84f975377573800a863526f4da19ae2c620ec73d11591fa9510e992ecc03ad0751f53cc02f7c7ed6d55c7291",
"location": "",
"comment": ""
},
{
"ip": "13.113.211.0",
"port": 30303,
"id": "5065d5221b507764771a8b74abc69df0351217eae09b96ec0df4275576a8b2bbba9986ce3037e6fb3c933b5b301364e18030c1ada8cec4ae00f1fa4dfff32eb8",
"location": "",
"comment": ""
},
{
"ip": "52.56.136.200",
"port": 30303,
"id": "573b6607cd59f241e30e4c4943fd50e99e2b6f42f9bd5ca111659d309c06741247f4f1e93843ad3e8c8c18b6e2d94c161b7ef67479b3938780a97134b618b5ce",
"location": "",
"comment": ""
},
{
"ip": "213.186.16.82",
"port": 30303,
"id": "57f58f16fccdd9fb6f587565ac09af4b3b4b33d0fbd14252cc61d29a65b0d83c08419e67ac5292b9342090053526b847f2487278e609f4b4cd1dbf0f48105b2b",
"location": "",
"comment": ""
},
{
"ip": "13.78.10.94",
"port": 30405,
"id": "5d9b1cba03738dfd23e12e4efb99b72623474fece2cc582c95e3ba7d481d519dea0029901f1f844116bab806044e8552f0431b21cf8d96010fc351b483330faa",
"location": "",
"comment": ""
}
]
}
2 changes: 2 additions & 0 deletions dist/chains/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import { chainsType } from './../types';
export declare const chains: chainsType;
17 changes: 17 additions & 0 deletions dist/chains/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/chains/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

54 changes: 54 additions & 0 deletions dist/chains/kovan.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"name": "kovan",
"chainId": 42,
"networkId": 42,
"comment": "Parity PoA test network",
"url": "https://kovan-testnet.github.io/website/",
"genesis": {
"hash": "0xa3c565fc15c7478862d50ccd6561e3c06b24cc509bf388941c25ea985ce32cb9",
"timestamp": null,
"gasLimit": 6000000,
"difficulty": 131072,
"nonce": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"extraData": "0x",
"stateRoot": "0x2480155b48a1cea17d67dbfdfaafe821c1d19cdd478c5358e8ec56dec24502b2"
},
"hardforks": [],
"bootstrapNodes": [
{
"ip": "40.71.221.215",
"port": 30303,
"id": "56abaf065581a5985b8c5f4f88bd202526482761ba10be9bfdcd14846dd01f652ec33fde0f8c0fd1db19b59a4c04465681fcef50e11380ca88d25996191c52de",
"location": "",
"comment": "Parity Bootnode"
},
{
"ip": "52.166.117.77",
"port": 30303,
"id": "d07827483dc47b368eaf88454fb04b41b7452cf454e194e2bd4c14f98a3278fed5d819dbecd0d010407fc7688d941ee1e58d4f9c6354d3da3be92f55c17d7ce3",
"location": "",
"comment": "Parity Bootnode"
},
{
"ip": "52.165.239.18",
"port": 30303,
"id": "8fa162563a8e5a05eef3e1cd5abc5828c71344f7277bb788a395cce4a0e30baf2b34b92fe0b2dbbba2313ee40236bae2aab3c9811941b9f5a7e8e90aaa27ecba",
"location": "",
"comment": "Parity Bootnode"
},
{
"ip": "52.243.47.56",
"port": 30303,
"id": "7e2e7f00784f516939f94e22bdc6cf96153603ca2b5df1c7cc0f90a38e7a2f218ffb1c05b156835e8b49086d11fdd1b3e2965be16baa55204167aa9bf536a4d9",
"location": "",
"comment": "Parity Bootnode"
},
{
"ip": "40.68.248.100",
"port": 30303,
"id": "0518a3d35d4a7b3e8c433e7ffd2355d84a1304ceb5ef349787b556197f0c87fad09daed760635b97d52179d645d3e6d16a37d2cc0a9945c2ddf585684beb39ac",
"location": "",
"comment": "Parity Bootnode"
}
]
}
96 changes: 96 additions & 0 deletions dist/chains/mainnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
{
"name": "mainnet",
"chainId": 1,
"networkId": 1,
"comment": "The Ethereum main chain",
"url": "https://ethstats.net/",
"genesis": {
"hash": "0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3",
"timestamp": null,
"gasLimit": 5000,
"difficulty": 17179869184,
"nonce": "0x0000000000000042",
"extraData": "0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa",
"stateRoot": "0xd7f8974fb5ac78d9ac099b9ad5018bedc2ce0a72dad1827a1709da30580f0544"
},
"hardforks": [
{
"name": "chainstart",
"block": 0,
"consensus": "pow",
"finality": null
},
{
"name": "homestead",
"block": 1150000,
"consensus": "pow",
"finality": null
},
{
"name": "dao",
"block": 1920000,
"consensus": "pow",
"finality": null
},
{
"name": "tangerineWhistle",
"block": 2463000,
"consensus": "pow",
"finality": null
},
{
"name": "spuriousDragon",
"block": 2675000,
"consensus": "pow",
"finality": null
},
{
"name": "byzantium",
"block": 4370000,
"consensus": "pow",
"finality": null
},
{
"name": "constantinople",
"block": null,
"consensus": "pow",
"finality": null
},
{
"name": "constantinople-1283-removed",
"block": null,
"consensus": "pow",
"finality": null
}
],
"bootstrapNodes": [
{
"ip": "13.93.211.84",
"port": 30303,
"id": "3f1d12044546b76342d59d4a05532c14b85aa669704bfe1f864fe079415aa2c02d743e03218e57a33fb94523adb54032871a6c51b2cc5514cb7c7e35b3ed0a99",
"location": "US-WEST",
"comment": "Go Bootnode"
},
{
"ip": "191.235.84.50",
"port": 30303,
"id": "78de8a0916848093c73790ead81d1928bec737d565119932b98c6b100d944b7a95e94f847f689fc723399d2e31129d182f7ef3863f2b4c820abbf3ab2722344d",
"location": "BR",
"comment": "Go Bootnode"
},
{
"ip": "13.75.154.138",
"port": 30303,
"id": "158f8aab45f6d19c6cbf4a089c2670541a8da11978a2f90dbf6a502a4a3bab80d288afdbeb7ec0ef6d92de563767f3b1ea9e8e334ca711e9f8e2df5a0385e8e6",
"location": "AU",
"comment": "Go Bootnode"
},
{
"ip": "52.74.57.123",
"port": 30303,
"id": "1118980bf48b0a3640bdba04e0fe78b1add18e1cd99bf22d53daac1fd9972ad650df52176e7c7d89d1114cfef2bc23a2959aa54998a46afcf7d91809f0855082",
"location": "SG",
"comment": "Go Bootnode"
}
]
}
Loading