Skip to content

fix: carry liquidity across market rollover#29

Open
krandder wants to merge 1 commit into
mainfrom
fix/rollover-carry-liquidity
Open

fix: carry liquidity across market rollover#29
krandder wants to merge 1 commit into
mainfrom
fix/rollover-carry-liquidity

Conversation

@krandder

Copy link
Copy Markdown
Contributor

Summary

  • make daily rollover markets inherit the current liquidity level from the latest prior market for that PR
  • preserve remaining ramp metadata when the prior market was still below its target budget
  • fall back to low-liquidity creation defaults only when there is no prior market to inherit from

Why

PR markets should start small when first created, but a rollover should not reset them to full budget or drop them back to the initial funding level. The new day should carry forward the current liquidity state.

Validation

  • bash -n deploy/rollover.sh
  • git diff --check
  • mocked shell rollover check: no prior market -> 40 initial liquidity
  • mocked shell rollover check: prior-day market at 80 liquidity with 3 ramp steps remaining -> new market created at 80 with 3 steps remaining

@netlify

netlify Bot commented Mar 17, 2026

Copy link
Copy Markdown

Deploy Preview for futarchy-ai ready!

Name Link
🔨 Latest commit a63496f
🔍 Latest deploy log https://app.netlify.com/projects/futarchy-ai/deploys/69b99ee384759b0008752dc6
😎 Deploy Preview https://deploy-preview-29--futarchy-ai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant