Commit 99b5913b authored by Bharath Vedartham's avatar Bharath Vedartham Committed by GitHub

feat: Add adminer (#295)

[Adminer](https://www.adminer.org/) is a very useful tool for visually
inspecting the MEV relayer's database entries.

---------
Co-authored-by: default avatarGyanendra Mishra <anomaly.the@gmail.com>
parent a4552130
...@@ -19,6 +19,7 @@ NETWORK_ID_TO_NAME = { ...@@ -19,6 +19,7 @@ NETWORK_ID_TO_NAME = {
} }
DONT_PERSIST_TO_DISK = False DONT_PERSIST_TO_DISK = False
LAUNCH_ADMINER = True
def launch_mev_relay( def launch_mev_relay(
...@@ -39,6 +40,7 @@ def launch_mev_relay( ...@@ -39,6 +40,7 @@ def launch_mev_relay(
database="postgres", database="postgres",
service_name="postgres", service_name="postgres",
persistent=DONT_PERSIST_TO_DISK, persistent=DONT_PERSIST_TO_DISK,
launch_adminer=LAUNCH_ADMINER,
) )
network_name = NETWORK_ID_TO_NAME.get(network_id, network_id) network_name = NETWORK_ID_TO_NAME.get(network_id, network_id)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment