From 99b5913bfbc2ea25716b593cafbaebc486bf3c88 Mon Sep 17 00:00:00 2001 From: Bharath Vedartham Date: Wed, 1 Nov 2023 17:15:04 +0530 Subject: [PATCH] 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: Gyanendra Mishra --- src/mev_relay/mev_relay_launcher.star | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mev_relay/mev_relay_launcher.star b/src/mev_relay/mev_relay_launcher.star index 683073a8d..abaa84438 100644 --- a/src/mev_relay/mev_relay_launcher.star +++ b/src/mev_relay/mev_relay_launcher.star @@ -19,6 +19,7 @@ NETWORK_ID_TO_NAME = { } DONT_PERSIST_TO_DISK = False +LAUNCH_ADMINER = True def launch_mev_relay( @@ -39,6 +40,7 @@ def launch_mev_relay( database="postgres", service_name="postgres", persistent=DONT_PERSIST_TO_DISK, + launch_adminer=LAUNCH_ADMINER, ) network_name = NETWORK_ID_TO_NAME.get(network_id, network_id)