Skip to content
This repository was archived by the owner on Apr 6, 2020. It is now read-only.

Commit c20e909

Browse files
committed
Added draft istanbul json file, file integrations and access test
1 parent 0a0fcb1 commit c20e909

File tree

7 files changed

+41
-0
lines changed

7 files changed

+41
-0
lines changed

src/chains/goerli.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@
6161
"block": 0,
6262
"consensus": "poa",
6363
"finality": null
64+
},
65+
{
66+
"name": "istanbul",
67+
"block": null,
68+
"consensus": "poa",
69+
"finality": null
6470
}
6571
],
6672
"bootstrapNodes": [

src/chains/mainnet.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@
6161
"block": 7280000,
6262
"consensus": "pow",
6363
"finality": null
64+
},
65+
{
66+
"name": "istanbul",
67+
"block": null,
68+
"consensus": "pow",
69+
"finality": null
6470
}
6571
],
6672
"bootstrapNodes": [

src/chains/rinkeby.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@
5555
"block": null,
5656
"consensus": "poa",
5757
"finality": null
58+
},
59+
{
60+
"name": "istanbul",
61+
"block": null,
62+
"consensus": "poa",
63+
"finality": null
5864
}
5965
],
6066
"bootstrapNodes": [

src/chains/ropsten.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@
6161
"block": 4939394,
6262
"consensus": "pow",
6363
"finality": null
64+
},
65+
{
66+
"name": "istanbul",
67+
"block": null,
68+
"consensus": "pow",
69+
"finality": null
6470
}
6571
],
6672
"bootstrapNodes": [

src/hardforks/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ export const hardforks = [
77
['byzantium', require('./byzantium.json')],
88
['constantinople', require('./constantinople.json')],
99
['petersburg', require('./petersburg.json')],
10+
['istanbul', require('./istanbul.json')],
1011
]

src/hardforks/istanbul.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "istanbul",
3+
"comment": "HF targeted for October 2019 following the Constantinople/Petersburg HF",
4+
"eip": {
5+
"url": "https://eips.ethereum.org/EIPS/eip-1679",
6+
"status": "Draft"
7+
},
8+
"gasConfig": {},
9+
"gasPrices": {},
10+
"vm": {},
11+
"pow": {},
12+
"casper": {},
13+
"sharding": {}
14+
}

tests/hardforks.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ tape('[Common]: Hardfork logic', function(t: tape.Test) {
1111
'spuriousDragon',
1212
'byzantium',
1313
'constantinople',
14+
'petersburg',
15+
'istanbul',
1416
]
1517
let c
1618

0 commit comments

Comments
 (0)