cowprotocol / cowprotocol/services

chore: Read competition data from new tables

Open
#3,057 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

tech-debt
Dominant language
Rust
Stars
318
Forks
189
Avg merge
2d 2h
Merged PRs (30d)
121

Description

Background

A follow up for https://github.com/cowprotocol/services/pull/2980

Dependent on https://github.com/cowprotocol/services/issues/3055 and https://github.com/cowprotocol/services/issues/3056

This issue captures work required to drop using following tables in the services codebase.

  1. auction_prices
  2. auction_orders
  3. surplus_capturing_jit_order_owners
  4. solver_competition
Details

Read all data from new auction and proposed solutions tables.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with follow-up pull request 2980 and dependent issues 3055 and 3056, then locate the services code that reads auction_prices, auction_orders, surplus_capturing_jit_order_owners, and solver_competition. Done means all data comes from the new auction and proposed-solutions tables and the listed tables are no longer used.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend, database
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.