Skip to content

Commit

Permalink
Set Linea chain id and gas limit (hyperledger#6)
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
  • Loading branch information
fab-10 authored Apr 13, 2023
1 parent 20f567c commit 402d2db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public enum NetworkName {
/** Ecip 1049 dev network name. */
ECIP1049_DEV("/ecip1049_dev.json", BigInteger.valueOf(2021)),

LINEA("/linea.json", BigInteger.valueOf(23331), false);
LINEA("/linea.json", BigInteger.valueOf(59140), false);

private final String genesisFile;
private final BigInteger networkId;
Expand Down
5 changes: 2 additions & 3 deletions config/src/main/resources/linea.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"config": {
"chainId": 57,
"chainId": 59140,
"homesteadBlock": 0,
"daoForkBlock": 0,
"eip150Block": 0,
Expand All @@ -18,15 +18,14 @@
"ethash": {
},
"discovery": {
"dns": "enrtree://AKA3AM6LPBYEUDMVNU3BSVQJ5AD45Y7YPOHJLEF6W26QOE4VTUDPE@all.mainnet.ethdisco.net",
"bootnodes": []
}
},
"zeroBaseFee": true,
"nonce": "0x42",
"timestamp": "0x0",
"extraData": "0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa",
"gasLimit": "0x1388",
"gasLimit": "0x1C9C380",
"difficulty": "0x400000000",
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"coinbase": "0x0000000000000000000000000000000000000000",
Expand Down

0 comments on commit 402d2db

Please sign in to comment.