Skip to content

Commit

Permalink
Enable blob txs support in goerli configs (#6430)
Browse files Browse the repository at this point in the history
* enable blob support for goerli

* add config test
  • Loading branch information
marcindsobczak authored Dec 28, 2023
1 parent 2402d5a commit fe807bb
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
11 changes: 11 additions & 0 deletions src/Nethermind/Nethermind.Runner.Test/ConfigFilesTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,17 @@ public void Basic_configs_are_as_expected(string configWildcard, bool isProducti
Test<IInitConfig, string>(configWildcard, c => c.LogFileName, (cf, p) => p.Should().Be(cf.Replace("cfg", "logs.txt"), cf));
}

[TestCase("goerli", BlobsSupportMode.StorageWithReorgs)]
[TestCase("^goerli", BlobsSupportMode.Disabled)]
[TestCase("sepolia", BlobsSupportMode.Disabled)]
[TestCase("mainnet", BlobsSupportMode.Disabled)]
[TestCase("chiado", BlobsSupportMode.Disabled)]
[TestCase("gnosis", BlobsSupportMode.Disabled)]
public void Blob_txs_support_is_correct(string configWildcard, BlobsSupportMode blobsSupportMode)
{
Test<ITxPoolConfig, BlobsSupportMode>(configWildcard, c => c.BlobsSupport, blobsSupportMode);
}


[TestCase("goerli", new[] { 16, 16, 16, 16 })]
[TestCase("mainnet")]
Expand Down
5 changes: 3 additions & 2 deletions src/Nethermind/Nethermind.Runner/configs/goerli.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"MemoryHint": 768000000
},
"TxPool": {
"Size": 1024
"Size": 1024,
"BlobsSupport": "StorageWithReorgs"
},
"Db": {
"EnableMetricsUpdater": true
Expand Down Expand Up @@ -52,4 +53,4 @@
"Merge": {
"Enabled": true
}
}
}
3 changes: 2 additions & 1 deletion src/Nethermind/Nethermind.Runner/configs/goerli_archive.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"MemoryHint": 768000000
},
"TxPool": {
"Size": 1024
"Size": 1024,
"BlobsSupport": "StorageWithReorgs"
},
"EthStats": {
"Server": "wss://stats.goerli.net/api",
Expand Down

0 comments on commit fe807bb

Please sign in to comment.