Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
3b8a117
refactor: make some utils for withdraws
carrion256 Nov 10, 2025
9ed949b
feat: supply allocation delta
carrion256 Nov 10, 2025
3e9e3d8
refactor: remove allocation mode
carrion256 Nov 10, 2025
839abd1
refactor: move alloc plan to alloc state
carrion256 Nov 10, 2025
22fa061
feat: migrate to delta based allocation plans
carrion256 Nov 10, 2025
6153161
refactor: creating market-side withdraw requests are delta-only
carrion256 Nov 10, 2025
6033dec
chore: helper for payout deltas
carrion256 Nov 11, 2025
952e2e5
refactor: add a locking type
carrion256 Nov 11, 2025
dad77eb
refactor!: we allow wedging the queue so that the allocator can exec_…
carrion256 Nov 11, 2025
6e14267
fix: we lock specifically the market index, not the first
carrion256 Nov 11, 2025
0ae0169
chore: escrow helper
carrion256 Nov 11, 2025
f02de8f
feat: allow clearing the lock
carrion256 Nov 11, 2025
455340a
test: default plans
carrion256 Nov 11, 2025
c61f67c
feat: allow the allocator to update the market index to avoid deadlocks
carrion256 Nov 11, 2025
dacc825
feat: enable parking inflight withdraws
carrion256 Nov 11, 2025
23328af
feat: signal to the allocator that a withdrawal execution is required
carrion256 Nov 11, 2025
a951b59
chore: remove double clear
carrion256 Nov 11, 2025
009031e
fix: do not reset to 0 since it would race idles
carrion256 Nov 11, 2025
c87875a
chore: cleanup some double unlocks and helpers
carrion256 Nov 11, 2025
e3d23f9
refactor: remove stupid field-state withdraws
carrion256 Nov 11, 2025
5ca9789
test: fix tests after queue changes
carrion256 Nov 12, 2025
e78858f
test: ditto integration tests
carrion256 Nov 12, 2025
59b5a5a
test: update happy path to create withdraw requests
carrion256 Nov 12, 2025
9b94575
refactor: clean up events
carrion256 Nov 14, 2025
6b079ff
chore: fmt and lint
carrion256 Nov 14, 2025
b5fcce8
test: cancel inflight withdraw
carrion256 Nov 14, 2025
ca075b2
test: peek withdrawal
carrion256 Nov 14, 2025
5396e48
test: reallocate withdraw
carrion256 Nov 14, 2025
97cad31
test: execute withdrawal
carrion256 Nov 14, 2025
924a17f
refactor: idle_delta is represented as remaining_coverage
carrion256 Nov 14, 2025
1ede5e4
refactor: remove harvest
carrion256 Nov 14, 2025
ad6da2d
test: use proper fixtures
carrion256 Nov 14, 2025
03afb3b
chore: lints
carrion256 Nov 14, 2025
fd7a758
fix: lints
carrion256 Nov 17, 2025
d47442b
ci: unnecessary timeout of tests
carrion256 Nov 17, 2025
c5508d1
ci: try timeout on imprt
carrion256 Nov 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
if: needs.check-changes.outputs.should-run-contracts == 'true'
uses: ./.github/workflows/test.yml
with:
timeout-minutes: 40
skip_coverage: true

gas-report:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
workflow_call:
inputs:
skip_coverage:
description: 'Skip coverage job'
description: "Skip coverage job"
required: false
default: false
type: boolean
Expand All @@ -18,7 +18,7 @@ concurrency:

permissions:
contents: read
id-token: write # Required for OIDC with Codecov
id-token: write # Required for OIDC with Codecov

jobs:
code-formatting:
Expand Down Expand Up @@ -46,6 +46,7 @@ jobs:

tests:
name: Tests
timeout-minutes: 40
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down
Loading