diff --git a/src/monitoring_tests/combinatorial_auction_surplus_test.py b/src/monitoring_tests/combinatorial_auction_surplus_test.py index 377ec6c..4e82df4 100644 --- a/src/monitoring_tests/combinatorial_auction_surplus_test.py +++ b/src/monitoring_tests/combinatorial_auction_surplus_test.py @@ -88,7 +88,7 @@ def run_combinatorial_auction(self, competition_data: dict[str, Any]) -> bool: log_output = "\t".join( [ "Combinatorial auction surplus test:", - f"Tx Hash: {competition_data['transactionHash']}", + f"Tx Hash: {competition_data['transactionHashes'][0]}", f"Winning Solver: {competition_data['solutions'][-1]['solver']}", f"Winning surplus: {self.convert_fractions_to_floats(aggregate_solutions[-1])}", f"Baseline surplus: {self.convert_fractions_to_floats(baseline_surplus)}", diff --git a/src/monitoring_tests/high_score_test.py b/src/monitoring_tests/high_score_test.py index c4eb085..b96ecd5 100644 --- a/src/monitoring_tests/high_score_test.py +++ b/src/monitoring_tests/high_score_test.py @@ -29,7 +29,7 @@ def compute_winning_score(self, competition_data: dict[str, Any]) -> bool: log_output = "\t".join( [ "Large score test:", - f"Tx Hash: {competition_data['transactionHash']}", + f"Tx Hash: {competition_data['transactionHashes'][0]}", f"Winning Solver: {solution['solver']}", f"Score in ETH: {score}", ] diff --git a/src/monitoring_tests/reference_solver_surplus_test.py b/src/monitoring_tests/reference_solver_surplus_test.py index a2d1c21..9c92303 100644 --- a/src/monitoring_tests/reference_solver_surplus_test.py +++ b/src/monitoring_tests/reference_solver_surplus_test.py @@ -75,7 +75,7 @@ def compare_orders_surplus( log_output = "\t".join( [ "Reference solver surplus test:", - f"Tx Hash: {competition_data['transactionHash']}", + f"Tx Hash: {competition_data['transactionHashes'][0]}", f"Order UID: {uid}", f"Winning Solver: {solution['solver']}", "Solver providing more surplus: Reference solver", @@ -85,7 +85,7 @@ def compare_orders_surplus( ) ref_solver_log = "\t".join( [ - f"Tx Hash: {competition_data['transactionHash']}", + f"Tx Hash: {competition_data['transactionHashes'][0]}", f"Order UID: {uid}", f"Solution providing more surplus: {ref_solver_response}", ] diff --git a/src/monitoring_tests/solver_competition_surplus_test.py b/src/monitoring_tests/solver_competition_surplus_test.py index 1e191ec..05f6d66 100644 --- a/src/monitoring_tests/solver_competition_surplus_test.py +++ b/src/monitoring_tests/solver_competition_surplus_test.py @@ -58,7 +58,7 @@ def compare_orders_surplus(self, competition_data: dict[str, Any]) -> bool: log_output = "\t".join( [ "Solver competition surplus test:", - f"Tx Hash: {competition_data['transactionHash']}", + f"Tx Hash: {competition_data['transactionHashes'][0]}", f"Order UID: {uid}", f"Winning Solver: {solution['solver']}", f"Solver providing more surplus: {solver_alt}", diff --git a/src/monitoring_tests/uniform_directed_prices_test.py b/src/monitoring_tests/uniform_directed_prices_test.py index bdee44b..f12f917 100644 --- a/src/monitoring_tests/uniform_directed_prices_test.py +++ b/src/monitoring_tests/uniform_directed_prices_test.py @@ -55,7 +55,7 @@ def check_udp(self, competition_data: dict[str, Any]) -> bool: log_output = "\t".join( [ "Uniform Directed Prices test:", - f"Tx Hash: {competition_data['transactionHash']}", + f"Tx Hash: {competition_data['transactionHashes'][0]}", f"Winning Solver: {solution['solver']}", f"Token pair: {pair}", f"Directional prices: {[float(p) for p in prices_list]}",