Skip to content

Commit

Permalink
Fix / Add OP configs (#6364)
Browse files Browse the repository at this point in the history
* Fix DisableGCOnNewPayload for op-goerli

* Add archive configs for all op chains

* Sepolia & goerli-config

* Add rest

* Change BaseDBPath and LogFileName for archive config

* Add base-sepolia

---------

Co-authored-by: Nikita Mescheryakov <root@nikitam.io>
  • Loading branch information
2 people authored and kamilchodola committed Dec 14, 2023
1 parent 1dc0cc8 commit abe211d
Show file tree
Hide file tree
Showing 12 changed files with 28,082 additions and 1 deletion.
15,353 changes: 15,353 additions & 0 deletions src/Nethermind/Chains/base-sepolia.json

Large diffs are not rendered by default.

12,553 changes: 12,553 additions & 0 deletions src/Nethermind/Chains/op-sepolia.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/Nethermind/Nethermind.Runner/configs/base-goerli.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"ChainSpecPath" : "chainspec/base-goerli.json",
"GenesisHash" : "0xa3ab140f15ea7f7443a4702da64c10314eb04d488e72974e02e2d728096b4f76",
"BaseDbPath" : "nethermind_db/base-goerli",
"LogFileName" : "base-goerli.logs.txt"
"LogFileName" : "base-goerli.logs.txt",
"DisableGcOnNewPayload": false
},
"Sync": {
"NetworkingEnabled": false
Expand Down
20 changes: 20 additions & 0 deletions src/Nethermind/Nethermind.Runner/configs/base-goerli_archive.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"Init" : {
"ChainSpecPath" : "chainspec/base-goerli.json",
"GenesisHash" : "0xa3ab140f15ea7f7443a4702da64c10314eb04d488e72974e02e2d728096b4f76",
"BaseDbPath" : "nethermind_db/base-goerli-archive",
"LogFileName" : "base-goerli-archive.logs.txt",
"DisableGcOnNewPayload": false
},
"Sync": {
"NetworkingEnabled": false
},
"Pruning": {
"Mode": "None"
},
"JsonRpc" : {
"Enabled" : true,
"Port" : 8545,
"EnginePort" : 8551
}
}
20 changes: 20 additions & 0 deletions src/Nethermind/Nethermind.Runner/configs/base-mainnet_archive.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"Init" : {
"ChainSpecPath" : "chainspec/base-mainnet.json",
"GenesisHash" : "0xf712aa9241cc24369b143cf6dce85f0902a9731e70d66818a3a5845b296c73dd",
"BaseDbPath" : "nethermind_db/base-mainnet-archive",
"LogFileName" : "base-mainnet-archive.logs.txt",
"DisableGcOnNewPayload": false
},
"Sync": {
"NetworkingEnabled": false
},
"Pruning": {
"Mode": "None"
},
"JsonRpc" : {
"Enabled" : true,
"Port" : 8545,
"EnginePort" : 8551
}
}
17 changes: 17 additions & 0 deletions src/Nethermind/Nethermind.Runner/configs/base-sepolia.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"Init": {
"ChainSpecPath" : "chainspec/base-sepolia.json",
"GenesisHash" : "0x0dcc9e089e30b90ddfc55be9a37dd15bc551aeee999d2e2b51414c54eaf934e4",
"BaseDbPath" : "nethermind_db/base-sepolia",
"LogFileName" : "base-sepolia.logs.txt",
"DisableGcOnNewPayload": false
},
"Sync": {
"NetworkingEnabled": false
},
"JsonRpc": {
"Enabled" : true,
"Port" : 8545,
"EnginePort" : 8551
}
}
20 changes: 20 additions & 0 deletions src/Nethermind/Nethermind.Runner/configs/base-sepolia_archive.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"Init": {
"ChainSpecPath" : "chainspec/base-sepolia.json",
"GenesisHash" : "0x0dcc9e089e30b90ddfc55be9a37dd15bc551aeee999d2e2b51414c54eaf934e4",
"BaseDbPath" : "nethermind_db/base-sepolia-archive",
"LogFileName" : "base-sepolia-archive.logs.txt",
"DisableGcOnNewPayload": false
},
"Sync": {
"NetworkingEnabled": false
},
"Pruning": {
"Mode": "None"
},
"JsonRpc": {
"Enabled" : true,
"Port" : 8545,
"EnginePort" : 8551
}
}
6 changes: 6 additions & 0 deletions src/Nethermind/Nethermind.Runner/configs/op-goerli.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,11 @@
"Enabled": true,
"Port": 8545,
"EnginePort": 8551
},
"Snapshot": {
"Enabled": true,
"DownloadUrl": "http://optimism-snapshot.nethermind.io/op-goerli-genesis-v1.zip",
"SnapshotFileName": "op-goerli-genesis-v1.zip",
"Checksum": "0xf45b77662364f64a4b8f59360512c91f7e2e8c119a79a67a34aaf2d030e4a349"
}
}
27 changes: 27 additions & 0 deletions src/Nethermind/Nethermind.Runner/configs/op-goerli_archive.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"Init": {
"ChainSpecPath": "chainspec/op-goerli.json",
"GenesisHash": "0xc1fc15cd51159b1f1e5cbc4b82e85c1447ddfa33c52cf1d98d14fba0d6354be1",
"BaseDbPath": "nethermind_db/op-goerli-archive",
"LogFileName": "op-goerli-archive.logs.txt",
"MemoryHint": 2048000000,
"DisableGcOnNewPayload": false
},
"Sync": {
"NetworkingEnabled": false
},
"Pruning": {
"Mode": "None"
},
"JsonRpc": {
"Enabled": true,
"Port": 8545,
"EnginePort": 8551
},
"Snapshot": {
"Enabled": true,
"DownloadUrl": "http://optimism-snapshot.nethermind.io/op-goerli-genesis-v1.zip",
"SnapshotFileName": "op-goerli-genesis-v1.zip",
"Checksum": "0xf45b77662364f64a4b8f59360512c91f7e2e8c119a79a67a34aaf2d030e4a349"
}
}
27 changes: 27 additions & 0 deletions src/Nethermind/Nethermind.Runner/configs/op-mainnet_archive.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"Init": {
"ChainSpecPath": "chainspec/op-mainnet.json",
"GenesisHash": "0x7ca38a1916c42007829c55e69d3e9a73265554b586a499015373241b8a3fa48b",
"BaseDbPath": "nethermind_db/op-mainnet-archive",
"LogFileName": "op-mainnet-archive.logs.txt",
"MemoryHint": 2048000000,
"DisableGcOnNewPayload": false
},
"Sync": {
"NetworkingEnabled": false
},
"Pruning": {
"Mode": "None"
},
"JsonRpc": {
"Enabled": true,
"Port": 8545,
"EnginePort": 8551
},
"Snapshot": {
"Enabled": true,
"DownloadUrl": "http://optimism-snapshot.nethermind.io/op-mainnet-genesis-v1.zip",
"SnapshotFileName": "op-mainnet-genesis-v1.zip",
"Checksum": "0xd7e15b26175c4c924acf75c5790e75d5eaa044977ca8e1904dc62d5d0769eba3"
}
}
17 changes: 17 additions & 0 deletions src/Nethermind/Nethermind.Runner/configs/op-sepolia.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"Init" : {
"ChainSpecPath" : "chainspec/op-sepolia.json",
"GenesisHash" : "0x102de6ffb001480cc9b8b548fd05c34cd4f46ae4aa91759393db90ea0409887d",
"BaseDbPath" : "nethermind_db/op-sepolia",
"LogFileName" : "op-sepolia.logs.txt",
"DisableGcOnNewPayload": false
},
"Sync": {
"NetworkingEnabled": false
},
"JsonRpc" : {
"Enabled" : true,
"Port" : 8545,
"EnginePort" : 8551
}
}
20 changes: 20 additions & 0 deletions src/Nethermind/Nethermind.Runner/configs/op-sepolia_archive.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"Init" : {
"ChainSpecPath" : "chainspec/op-sepolia.json",
"GenesisHash" : "0x102de6ffb001480cc9b8b548fd05c34cd4f46ae4aa91759393db90ea0409887d",
"BaseDbPath" : "nethermind_db/op-sepolia-archive",
"LogFileName" : "op-sepolia-archive.logs.txt",
"DisableGcOnNewPayload": false
},
"Sync": {
"NetworkingEnabled": false
},
"Pruning": {
"Mode": "None"
},
"JsonRpc" : {
"Enabled" : true,
"Port" : 8545,
"EnginePort" : 8551
}
}

0 comments on commit abe211d

Please sign in to comment.