fix(deploy): unbreak market deploy + rename Prediction Market → Two-party binary bet#114
Merged
fix(deploy): unbreak market deploy + rename Prediction Market → Two-party binary bet#114
Conversation
The sdk package was added to the deno.json workspace but the two-party-binary-bet Dockerfile was missed, breaking `deno install` during Fly deploy with "Could not find config file for workspace member in 'file:///app/packages/sdk/'". Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned Files
|
Aligns the project name across the codebase with the directory
`example/two-party-binary-bet/`. The "Prediction Market" branding
remained scattered across CI workflow files, docs, e2e tests, code
identifiers, and Nostr tags.
Renames:
- .github/workflows/{bootstrap,deploy}-market.yml →
{bootstrap,deploy}-two-party-binary-bet.yml (workflow names + paths
trigger updated)
- e2e/prediction-market-*.test.ts → e2e/two-party-binary-bet-*.test.ts
- docs/prediction-market/ → docs/two-party-binary-bet/
- TS interface PredictionMarket → TwoPartyBinaryBet
- const PREDICTION_MARKET_KIND → TWO_PARTY_BINARY_BET_KIND
- Nostr tags anchr-prediction-{bet,resolution} →
anchr-binary-{bet,resolution}
- DB table prediction_market_orders → two_party_binary_bet_orders
- All occurrences of "Prediction Market" / "prediction-market" /
"prediction_market" in comments, READMEs, specs, scripts
Kept (infrastructure / shorter naming where unambiguous):
- Fly app `anchr-market`, DB name `anchr_market`, file `fly.market.toml`
- `MARKET_PORT` env var, `frost-market-*` script names
- `screenshot:market` deno task alias
- `Market*`-prefixed types where the "market" sense is general
(MarketState, MarketStatus, etc.)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Renames
Kept (infra / general-sense "market" terminology)
Test plan
🤖 Generated with Claude Code