diff --git a/src/Nethermind/Nethermind.Runner.Test/ConfigFilesTests.cs b/src/Nethermind/Nethermind.Runner.Test/ConfigFilesTests.cs index b14640b4291..1b1a0814219 100644 --- a/src/Nethermind/Nethermind.Runner.Test/ConfigFilesTests.cs +++ b/src/Nethermind/Nethermind.Runner.Test/ConfigFilesTests.cs @@ -97,7 +97,7 @@ public void Networking_is_disabled_when_needed(string configWildcard, bool isEna Test(configWildcard, c => c.NetworkingEnabled, isEnabled); } - [TestCase("ropsten", "ws://ropsten-stats.parity.io/api")] + [TestCase("ropsten", "ws://localhost:3000/api")] [TestCase("rinkeby", "ws://localhost:3000/api")] [TestCase("goerli", "wss://stats.goerli.net/api")] [TestCase("mainnet", "wss://ethstats.net/api")] @@ -285,6 +285,20 @@ public void Fast_sync_settings_as_expected(string configWildcard, bool downloadB Test(configWildcard, c => c.DownloadHeadersInFastSync, downloadHeaders); } + [TestCase("archive", false)] + [TestCase("mainnet.cfg", true)] + [TestCase("goerli.cfg", true)] + [TestCase("ropsten.cfg", true)] + [TestCase("rinkeby.cfg", false)] + [TestCase("sepolia.cfg", false)] + [TestCase("xdai.cfg", false)] + [TestCase("sokol.cfg", false)] + [TestCase("kiln.cfg", false)] + public void Snap_sync_settings_as_expected(string configWildcard, bool enabled) + { + Test(configWildcard, c => c.SnapSync, enabled); + } + [TestCase("^aura", false)] [TestCase("aura ^archive", true)] public void Stays_on_full_sync(string configWildcard, bool stickToFullSyncAfterFastSync) diff --git a/src/Nethermind/Nethermind.Runner/configs/ropsten.cfg b/src/Nethermind/Nethermind.Runner/configs/ropsten.cfg index d8c49824832..702d84b029b 100644 --- a/src/Nethermind/Nethermind.Runner/configs/ropsten.cfg +++ b/src/Nethermind/Nethermind.Runner/configs/ropsten.cfg @@ -11,6 +11,7 @@ }, "Sync": { "FastSync": true, + "SnapSync": true, "FastBlocks": true, "UseGethLimitsInFastBlocks": true, "PivotNumber": 12440000, @@ -18,7 +19,7 @@ "PivotTotalDifficulty": "50000820485795157" }, "EthStats": { - "Server": "ws://ropsten-stats.parity.io/api" + "Server": "ws://localhost:3000/api" }, "Metrics": { "NodeName": "Ropsten" diff --git a/src/Nethermind/Nethermind.Runner/configs/ropsten_archive.cfg b/src/Nethermind/Nethermind.Runner/configs/ropsten_archive.cfg index 2718d6cafd7..045c18be28d 100644 --- a/src/Nethermind/Nethermind.Runner/configs/ropsten_archive.cfg +++ b/src/Nethermind/Nethermind.Runner/configs/ropsten_archive.cfg @@ -10,7 +10,7 @@ "Size": 1024 }, "EthStats": { - "Server": "ws://ropsten-stats.parity.io/api" + "Server": "ws://localhost:3000/api" }, "Metrics": { "NodeName": "Ropsten Archive"