diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 4a675100..0a7f7b33 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -37,11 +37,5 @@ jobs: with: python-version: '3.12' - - env: - PREFECT_API_URL: ${{ secrets.PREFECT_API_URL }} - run: | - python -m pip install --upgrade pip - pip install -r requirements/prefect.txt - pip install -r requirements/prod.txt - prefect config set PREFECT_API_URL=$PREFECT_API_URL - python -m src.deploy_prefect.deployment + python -m pip install --upgrade pip \ No newline at end of file diff --git a/src/models/batch_rewards_schema.py b/src/models/batch_rewards_schema.py index 7f481c15..7001cc8d 100644 --- a/src/models/batch_rewards_schema.py +++ b/src/models/batch_rewards_schema.py @@ -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") diff --git a/tests/unit/test_batch_rewards_schema.py b/tests/unit/test_batch_rewards_schema.py index e7f7a171..64db1274 100644 --- a/tests/unit/test_batch_rewards_schema.py +++ b/tests/unit/test_batch_rewards_schema.py @@ -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", - ], - ], } ) @@ -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, @@ -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,