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

Draft Istanbul Support #51

Merged
merged 1 commit into from
May 27, 2019
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
6 changes: 6 additions & 0 deletions src/chains/goerli.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@
"block": 0,
"consensus": "poa",
"finality": null
},
{
"name": "istanbul",
"block": null,
"consensus": "poa",
"finality": null
}
],
"bootstrapNodes": [
Expand Down
6 changes: 6 additions & 0 deletions src/chains/mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@
"block": 7280000,
"consensus": "pow",
"finality": null
},
{
"name": "istanbul",
"block": null,
"consensus": "pow",
"finality": null
}
],
"bootstrapNodes": [
Expand Down
6 changes: 6 additions & 0 deletions src/chains/rinkeby.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@
"block": null,
"consensus": "poa",
"finality": null
},
{
"name": "istanbul",
"block": null,
"consensus": "poa",
"finality": null
}
],
"bootstrapNodes": [
Expand Down
6 changes: 6 additions & 0 deletions src/chains/ropsten.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@
"block": 4939394,
"consensus": "pow",
"finality": null
},
{
"name": "istanbul",
"block": null,
"consensus": "pow",
"finality": null
}
],
"bootstrapNodes": [
Expand Down
1 change: 1 addition & 0 deletions src/hardforks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ export const hardforks = [
['byzantium', require('./byzantium.json')],
['constantinople', require('./constantinople.json')],
['petersburg', require('./petersburg.json')],
['istanbul', require('./istanbul.json')],
]
14 changes: 14 additions & 0 deletions src/hardforks/istanbul.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "istanbul",
"comment": "HF targeted for October 2019 following the Constantinople/Petersburg HF",
"eip": {
"url": "https://eips.ethereum.org/EIPS/eip-1679",
"status": "Draft"
},
"gasConfig": {},
"gasPrices": {},
"vm": {},
"pow": {},
"casper": {},
"sharding": {}
}
2 changes: 2 additions & 0 deletions tests/hardforks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ tape('[Common]: Hardfork logic', function(t: tape.Test) {
'spuriousDragon',
'byzantium',
'constantinople',
'petersburg',
'istanbul',
]
let c

Expand Down