Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
remove participating solvers references
Browse files Browse the repository at this point in the history
  • Loading branch information
harisang committed Oct 26, 2024
1 parent eca2b35 commit 8127a9c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
1 change: 0 additions & 1 deletion src/models/batch_rewards_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ def from_pdf_to_dune_records(cls, rewards_df: DataFrame) -> list[dict[str, Any]]
"fee": int(row["network_fee"]),
"winning_score": int(row["winning_score"]),
"reference_score": int(row["reference_score"]),
"participating_solvers": row["participating_solvers"],
},
}
for row in rewards_df.to_dict(orient="records")
Expand Down
24 changes: 0 additions & 24 deletions tests/unit/test_batch_rewards_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,6 @@ def test_order_rewards_transformation(self):
"capped_payment": [-1000000000000000, -1000000000000000],
"winning_score": [123456 * ONE_ETH, 6789 * ONE_ETH],
"reference_score": [ONE_ETH, 2 * ONE_ETH],
"participating_solvers": [
[
"0x51",
"0x52",
"0x53",
],
[
"0x51",
"0x52",
"0x53",
"0x54",
"0x55",
"0x56",
],
],
}
)

Expand All @@ -61,7 +46,6 @@ def test_order_rewards_transformation(self):
"capped_payment": -1000000000000000,
"execution_cost": 9999000000000000000000,
"fee": 1000000000000000,
"participating_solvers": ["0x51", "0x52", "0x53"],
"protocol_fee": 2000000000000000,
"reference_score": 1000000000000000000,
"surplus": 2000000000000000000,
Expand All @@ -78,14 +62,6 @@ def test_order_rewards_transformation(self):
"capped_payment": -1000000000000000,
"execution_cost": 1,
"fee": max_uint,
"participating_solvers": [
"0x51",
"0x52",
"0x53",
"0x54",
"0x55",
"0x56",
],
"protocol_fee": 0,
"reference_score": 2000000000000000000,
"surplus": 3000000000000000000,
Expand Down

0 comments on commit 8127a9c

Please sign in to comment.