From 2e799062f11ca0f77a857e47e0595d7e2600cf59 Mon Sep 17 00:00:00 2001 From: Alexey Shekhirin <5773434+shekhirin@users.noreply.github.com> Date: Thu, 26 Jun 2025 11:53:23 +0100 Subject: [PATCH] feat: convert reth-bench scripts to use uv script format (#17078) Co-authored-by: Claude --- bin/reth-bench/scripts/compare_newpayload_latency.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/bin/reth-bench/scripts/compare_newpayload_latency.py b/bin/reth-bench/scripts/compare_newpayload_latency.py index 55c90615ce..ff9cdad526 100755 --- a/bin/reth-bench/scripts/compare_newpayload_latency.py +++ b/bin/reth-bench/scripts/compare_newpayload_latency.py @@ -1,4 +1,12 @@ -#!/usr/bin/env python3 +#!/usr/bin/env -S uv run +# /// script +# requires-python = ">=3.8" +# dependencies = [ +# "pandas", +# "matplotlib", +# "numpy", +# ] +# /// # A simple script which plots graphs comparing two combined_latency.csv files # output by reth-bench. The graphs which are plotted are: