Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gnosis config #5057

Merged
merged 9 commits into from
Dec 28, 2022
Merged
Show file tree
Hide file tree
Changes from 3 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
263 changes: 263 additions & 0 deletions src/Nethermind/Chains/gnosis.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Nethermind/Chains/xdai.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "DaiChain",
"name": "GnosisChain",
"engine": {
"authorityRound": {
"params": {
Expand Down
281 changes: 0 additions & 281 deletions src/Nethermind/Chains/xdai_nethermind_testnet.json

This file was deleted.

284 changes: 0 additions & 284 deletions src/Nethermind/Chains/xdai_testnet.json

This file was deleted.

273 changes: 0 additions & 273 deletions src/Nethermind/Chains/xdai_themerge.json

This file was deleted.

2 changes: 1 addition & 1 deletion src/Nethermind/Nethermind.Network.Test/ForkInfoTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public void Fork_id_and_hash_as_expected_on_sepolia(long head, string forkHashHe
public void Fork_id_and_hash_as_expected_on_gnosis(long head, string forkHashHex, long next, string description)
{
ChainSpecLoader loader = new ChainSpecLoader(new EthereumJsonSerializer());
ChainSpec spec = loader.Load(File.ReadAllText(Path.Combine("../../../../Chains", "xdai.json")));
ChainSpec spec = loader.Load(File.ReadAllText(Path.Combine("../../../../Chains", "gnosis.json")));
ChainSpecBasedSpecProvider provider = new ChainSpecBasedSpecProvider(spec);
Test(head, KnownHashes.GnosisGenesis, forkHashHex, next, description, provider);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
<Content Include="..\Chains\volta.json" CopyToOutputDirectory="PreserveNewest">
<Link>Chains\volta.json</Link>
</Content>
<Content Include="..\Chains\xdai.json" CopyToOutputDirectory="PreserveNewest">
<Link>Chains\xdai.json</Link>
<Content Include="..\Chains\gnosis.json" CopyToOutputDirectory="PreserveNewest">
<Link>Chains\gnosis.json</Link>
</Content>

<Content Include="..\Nethermind.Runner\configs\*.cfg" Link="configs\%(RecursiveDir)%(Filename)%(Extension)">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"Init": {
"ChainSpecPath": "chainspec/xdai.json",
"ChainSpecPath": "chainspec/gnosis.json",
"GenesisHash": "0x4f1dd23188aab3a76b463e4af801b52b1248ef073c648cbdc4c9333d3da79756",
"BaseDbPath": "nethermind_db/xdai",
"LogFileName": "xdai.logs.txt",
"BaseDbPath": "nethermind_db/gnosis",
"LogFileName": "gnosis.logs.txt",
"MemoryHint": 768000000
},
"JsonRpc": {
Expand All @@ -26,20 +26,16 @@
"MinGasPrice": "1000000000"
},
"EthStats": {
"Name": "Nethermind xDai"
"Name": "Nethermind Gnosis"
},
"Metrics": {
"NodeName": "xDai"
"NodeName": "Gnosis"
},
"Bloom": {
"IndexLevelBucketSizes": [
16,
16,
16
]
},
"Mev": {
"Enabled": true,
"MaxMergedBundles": 3
}
}
}
67 changes: 0 additions & 67 deletions src/Nethermind/Nethermind.Runner/configs/ndm_consumer_goerli.cfg

This file was deleted.

This file was deleted.

68 changes: 0 additions & 68 deletions src/Nethermind/Nethermind.Runner/configs/ndm_consumer_local.cfg

This file was deleted.

74 changes: 0 additions & 74 deletions src/Nethermind/Nethermind.Runner/configs/ndm_consumer_mainnet.cfg

This file was deleted.

Loading