Skip to content

Commit

Permalink
feat: Add adminer (#295)
Browse files Browse the repository at this point in the history
[Adminer](https://www.adminer.org/) is a very useful tool for visually
inspecting the MEV relayer's database entries.

---------

Co-authored-by: Gyanendra Mishra <[email protected]>
  • Loading branch information
bharath-123 and h4ck3rk3y authored Nov 1, 2023
1 parent a455213 commit 99b5913
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mev_relay/mev_relay_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ NETWORK_ID_TO_NAME = {
}

DONT_PERSIST_TO_DISK = False
LAUNCH_ADMINER = True


def launch_mev_relay(
Expand All @@ -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)
Expand Down

0 comments on commit 99b5913

Please sign in to comment.