Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 745 Bytes

README.md

File metadata and controls

11 lines (10 loc) · 745 Bytes

DS SAM pipeline

Automated pipeline to run auctions and apply the results regularly

Reproducing an auction run

  1. Get all the files from the directory auctions/{epoch}.{slot}/inputs in this repo and store them in a local directory ({INPUTS_DIR})
  2. Checkout the ds-sam repo locally and work in its root directory
  3. Prepare an empty local directory for storing the outputs ({OUTPUTS_DIR})
  4. Run pnpm install to install dependencies
  5. Run pnpm -r build to build the package
  6. Run pnpm run cli -- auction -c {INPUTS_DIR}/config.json --inputs-source FILES --cache-dir-path {INPUTS_DIR} -o {OUTPUTS_DIR} to evaluate the auction
  7. Get the results of the auction from {OUTPUTS_DIR}