We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Gas price editable from the Chain model
Please make the Gas Price editable directly via Chain configs.
Like we did for Features and Wallets.
Thanks!

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `src/chains/admin.py`
Content:
```
1 from django.contrib import admin
2 from django.db.models import Model
3 
4 from .models import Chain, Feature, GasPrice, Wallet
5 
6 
7 class FeatureInline(admin.TabularInline[Model]):
8     model = Feature.chains.through
9     extra = 0
10     verbose_name_plural = "Features enabled for this chain"
11 
12 
13 class WalletInline(admin.TabularInline[Model]):
14     model = Wallet.chains.through
15     extra = 0
16     verbose_name_plural = "Wallets enabled for this chain"
17 
18 
19 @admin.register(Chain)
20 class ChainAdmin(admin.ModelAdmin[Chain]):
21     list_display = (
22         "id",
23         "name",
24         "rpc_uri",
25         "safe_apps_rpc_uri",
26         "relevance",
27     )
28     search_fields = ("name", "id")
29     ordering = (
30         "relevance",
31         "name",
32     )
33     inlines = [FeatureInline, WalletInline]
34 
35 
36 @admin.register(GasPrice)
37 class GasPriceAdmin(admin.ModelAdmin[GasPrice]):
38     list_display = (
39         "chain_id",
40         "oracle_uri",
41         "fixed_wei_value",
42         "rank",
43     )
44     search_fields = ("chain_id", "oracle_uri")
45     ordering = ("rank",)
46 
47 
48 @admin.register(Wallet)
49 class WalletAdmin(admin.ModelAdmin[Wallet]):
50     list_display = ("key",)
51 
52 
53 @admin.register(Feature)
54 class FeatureAdmin(admin.ModelAdmin[Feature]):
55     list_display = ("key",)
56
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/src/chains/admin.py b/src/chains/admin.py
--- a/src/chains/admin.py
+++ b/src/chains/admin.py
@@ -4,6 +4,12 @@
 from .models import Chain, Feature, GasPrice, Wallet
 
 
+class GasPriceInline(admin.TabularInline[Model]):
+    model = GasPrice
+    extra = 0
+    verbose_name_plural = "Gas prices set for this chain"
+
+
 class FeatureInline(admin.TabularInline[Model]):
     model = Feature.chains.through
     extra = 0
@@ -30,7 +36,7 @@
         "relevance",
         "name",
     )
-    inlines = [FeatureInline, WalletInline]
+    inlines = [FeatureInline, GasPriceInline, WalletInline]
 
 
 @admin.register(GasPrice)

{"golden_diff": "diff --git a/src/chains/admin.py b/src/chains/admin.py\n--- a/src/chains/admin.py\n+++ b/src/chains/admin.py\n@@ -4,6 +4,12 @@\n from .models import Chain, Feature, GasPrice, Wallet\n \n \n+class GasPriceInline(admin.TabularInline[Model]):\n+    model = GasPrice\n+    extra = 0\n+    verbose_name_plural = \"Gas prices set for this chain\"\n+\n+\n class FeatureInline(admin.TabularInline[Model]):\n     model = Feature.chains.through\n     extra = 0\n@@ -30,7 +36,7 @@\n         \"relevance\",\n         \"name\",\n     )\n-    inlines = [FeatureInline, WalletInline]\n+    inlines = [FeatureInline, GasPriceInline, WalletInline]\n \n \n @admin.register(GasPrice)\n", "issue": "Gas price editable from the Chain model\nPlease make the Gas Price editable directly via Chain configs.\r\nLike we did for Features and Wallets.\r\nThanks!\n", "before_files": [{"content": "from django.contrib import admin\nfrom django.db.models import Model\n\nfrom .models import Chain, Feature, GasPrice, Wallet\n\n\nclass FeatureInline(admin.TabularInline[Model]):\n    model = Feature.chains.through\n    extra = 0\n    verbose_name_plural = \"Features enabled for this chain\"\n\n\nclass WalletInline(admin.TabularInline[Model]):\n    model = Wallet.chains.through\n    extra = 0\n    verbose_name_plural = \"Wallets enabled for this chain\"\n\n\n@admin.register(Chain)\nclass ChainAdmin(admin.ModelAdmin[Chain]):\n    list_display = (\n        \"id\",\n        \"name\",\n        \"rpc_uri\",\n        \"safe_apps_rpc_uri\",\n        \"relevance\",\n    )\n    search_fields = (\"name\", \"id\")\n    ordering = (\n        \"relevance\",\n        \"name\",\n    )\n    inlines = [FeatureInline, WalletInline]\n\n\n@admin.register(GasPrice)\nclass GasPriceAdmin(admin.ModelAdmin[GasPrice]):\n    list_display = (\n        \"chain_id\",\n        \"oracle_uri\",\n        \"fixed_wei_value\",\n        \"rank\",\n    )\n    search_fields = (\"chain_id\", \"oracle_uri\")\n    ordering = (\"rank\",)\n\n\n@admin.register(Wallet)\nclass WalletAdmin(admin.ModelAdmin[Wallet]):\n    list_display = (\"key\",)\n\n\n@admin.register(Feature)\nclass FeatureAdmin(admin.ModelAdmin[Feature]):\n    list_display = (\"key\",)\n", "path": "src/chains/admin.py"}], "after_files": [{"content": "from django.contrib import admin\nfrom django.db.models import Model\n\nfrom .models import Chain, Feature, GasPrice, Wallet\n\n\nclass GasPriceInline(admin.TabularInline[Model]):\n    model = GasPrice\n    extra = 0\n    verbose_name_plural = \"Gas prices set for this chain\"\n\n\nclass FeatureInline(admin.TabularInline[Model]):\n    model = Feature.chains.through\n    extra = 0\n    verbose_name_plural = \"Features enabled for this chain\"\n\n\nclass WalletInline(admin.TabularInline[Model]):\n    model = Wallet.chains.through\n    extra = 0\n    verbose_name_plural = \"Wallets enabled for this chain\"\n\n\n@admin.register(Chain)\nclass ChainAdmin(admin.ModelAdmin[Chain]):\n    list_display = (\n        \"id\",\n        \"name\",\n        \"rpc_uri\",\n        \"safe_apps_rpc_uri\",\n        \"relevance\",\n    )\n    search_fields = (\"name\", \"id\")\n    ordering = (\n        \"relevance\",\n        \"name\",\n    )\n    inlines = [FeatureInline, GasPriceInline, WalletInline]\n\n\n@admin.register(GasPrice)\nclass GasPriceAdmin(admin.ModelAdmin[GasPrice]):\n    list_display = (\n        \"chain_id\",\n        \"oracle_uri\",\n        \"fixed_wei_value\",\n        \"rank\",\n    )\n    search_fields = (\"chain_id\", \"oracle_uri\")\n    ordering = (\"rank\",)\n\n\n@admin.register(Wallet)\nclass WalletAdmin(admin.ModelAdmin[Wallet]):\n    list_display = (\"key\",)\n\n\n@admin.register(Feature)\nclass FeatureAdmin(admin.ModelAdmin[Feature]):\n    list_display = (\"key\",)\n", "path": "src/chains/admin.py"}]}