Skip to content

Commit 83debc4

Browse files
committed
v0.1.0
Fix #23
1 parent f1eeafe commit 83debc4

9 files changed

+1296
-333
lines changed

Diff for: CHANGELOG.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
## [0.1.0] - 2021-08-24
8+
9+
### Added
10+
11+
- Changelog.
12+
13+
### Changed
14+
15+
- Add support for Berlin and London hardforks.

Diff for: cli.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,14 @@ program
5757
.command("openethereum")
5858
.description("Run an Openethereum development node.")
5959
.action((cmd) => {
60-
run("openethereum", getOptions(program));
60+
run("openethereum", getOptions(program.opts()));
6161
});
6262

6363
program
6464
.command("geth", { isDefault: true })
6565
.description("Run a Geth development node.")
6666
.action((cmd) => {
67-
run("geth", getOptions(program));
67+
run("geth", getOptions(program.opts()));
6868
});
6969

7070
program.parse(process.argv);

Diff for: genesis.geth.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
"constantinopleBlock": 0,
1111
"petersburgBlock": 0,
1212
"istanbulBlock": 0,
13+
"berlinBlock": 0,
14+
"londonBlock": 0,
1315
"clique": {
1416
"period": 0,
1517
"epoch": 30000
@@ -795,4 +797,4 @@
795797
"number": "0x0",
796798
"gasUsed": "0x0",
797799
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000"
798-
}
800+
}

Diff for: genesis.openethereum.json

+17-9
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
"minGasLimit": "0x1388",
1111
"networkID": "0x11",
1212
"registrar": "0x0000000000000000000000000000000000001337",
13-
"maxCodeSize": 24576,
14-
"maxCodeSizeTransition": "0x0",
15-
"eip150Transition": "0x0",
16-
"eip160Transition": "0x0",
17-
"eip161abcTransition": "0x0",
18-
"eip161dTransition": "0x0",
19-
"eip155Transition": "0x0",
13+
"eip150Transition": "0x259518",
14+
"eip160Transition": "0x28d138",
15+
"eip161abcTransition": "0x28d138",
16+
"eip161dTransition": "0x28d138",
17+
"eip155Transition": "0x28d138",
18+
"maxCodeSize": "0x6000",
19+
"maxCodeSizeTransition": "0x28d138",
2020
"eip140Transition": "0x0",
2121
"eip211Transition": "0x0",
2222
"eip214Transition": "0x0",
@@ -29,7 +29,15 @@
2929
"eip1706Transition": "0x0",
3030
"eip1884Transition": "0x0",
3131
"eip2028Transition": "0x0",
32-
"wasmActivationTransition": "0x0"
32+
"eip2929Transition": "0x0",
33+
"eip2930Transition": "0x0",
34+
"eip1559Transition": "0x0",
35+
"eip3198Transition": "0x0",
36+
"eip3541Transition": "0x0",
37+
"eip3529Transition": "0x0",
38+
"eip1559BaseFeeMaxChangeDenominator": "0x8",
39+
"eip1559ElasticityMultiplier": "0x2",
40+
"eip1559BaseFeeInitialValue": "0x3B9ACA00"
3341
},
3442
"genesis": {
3543
"seal": {
@@ -43,4 +51,4 @@
4351
"gasLimit": "0x7A1200"
4452
},
4553
"accounts": {}
46-
}
54+
}

Diff for: get_geth.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ HOMEDIR=${HOMEDIR:-"."}
99
# Unfortunately GitHub ratelimits the following requests when running on travis. That's the reason why I had to hardcode the values of VERSION and COMMIT for now.
1010
# VERSION=$(curl -s https://api.github.com/repos/ethereum/go-ethereum/releases/latest | python -c "import sys, json; print(json.load(sys.stdin)['tag_name'])")
1111
# COMMIT=$(curl -s https://api.github.com/repos/ethereum/go-ethereum/commits/${VERSION} | python -c "import sys, json; print(json.load(sys.stdin)['sha'])")
12-
VERSION="1.9.23"
13-
COMMIT="8c2f2715"
12+
VERSION="1.10.8"
13+
COMMIT="26675454"
1414
PLATFORM=$(uname | tr '[:upper:]' '[:lower:]')
1515
ARCH=$(uname -m)
1616
NAME="geth-${PLATFORM}-amd64-${VERSION}-${COMMIT}"

Diff for: get_openethereum.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ HOMEDIR=${HOMEDIR:-"."}
77

88
PLATFORM=$(uname | tr '[:upper:]' '[:lower:]')
99
DIST=$([ "${PLATFORM}" == "darwin" ] && echo "macos" || echo "linux")
10-
DOWNLOAD_URL="https://github.com/openethereum/openethereum/releases/download/v3.1.0/openethereum-${DIST}-v3.1.0.zip"
10+
DOWNLOAD_URL="https://github.com/openethereum/openethereum/releases/download/v3.3.0-rc.7/openethereum-${DIST}-v3.3.0-rc.7.zip"
1111
TMP_DIR=$(mktemp -d)
1212
TMP_ZIP="${TMP_DIR}/openethereum.zip"
1313

Diff for: main.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,10 @@ async function provide(
112112
) {
113113
const paths = getPaths(client, workdir);
114114
const keypairs = await getKeypairs(KEYS_SOURCE, "password");
115-
const balances = generateBalances(
115+
let balances = generateBalances(
116116
keypairs.map((x) => x.address).concat(allocate)
117117
);
118+
118119
const genesis = generateGenesis(client, chainId, balances);
119120
let keysDest =
120121
client === "geth" ? paths.keys : path.join(paths.keys, genesis.name);

0 commit comments

Comments
 (0)