Expose account executions with original order, role and fill economics

This commit is contained in:
2026-12-03 04:12:22 +08:00
parent 5cbbdcbe64
commit 66f42f7b7f
11 changed files with 221 additions and 12 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ pub(crate) fn apply(tx: &Transaction, books: &Books, command: Command) -> Result
let book = books
.get(&market, &outcome)
.ok_or_else(|| anyhow::anyhow!("missing auction book"))?;
book::settle(tx, &market, &outcome, book.opening())?;
book::settle(tx, &market, &outcome, book.opening(), None)?;
}
tx.execute("UPDATE markets SET phase='continuous' WHERE id=?", [market])?;
Ok(json!({"phase":"continuous"}))