Skip to content

feat: implement on-chain accept for recurring agreements#1175

Open
Maikol wants to merge 5 commits intofeat/dips-pending-rca-consumerfrom
feat/dips-on-chain-accept
Open

feat: implement on-chain accept for recurring agreements#1175
Maikol wants to merge 5 commits intofeat/dips-pending-rca-consumerfrom
feat/dips-on-chain-accept

Conversation

@Maikol
Copy link
Member

@Maikol Maikol commented Mar 4, 2026

No description provided.

@github-project-automation github-project-automation bot moved this to 🗃️ Inbox in Indexer Mar 4, 2026
@Maikol Maikol force-pushed the feat/dips-pending-rca-consumer branch from 63c1d69 to 1e56892 Compare March 11, 2026 19:11
@Maikol Maikol force-pushed the feat/dips-on-chain-accept branch from 2a2152b to d61927f Compare March 11, 2026 19:11
Maikol added 4 commits March 11, 2026 20:08
When generating allocation IDs for new DIP allocations, closed/stopped
allocations still exist on-chain. The uniqueAllocationID function only
knows about active allocations, so it can generate the same ID as a
previously closed allocation. Add a retry loop that queries on-chain
state and excludes colliding IDs before retrying.
Rewarded subgraphs use defaultAllocationAmount (or per-deployment rule),
denied subgraphs use dipsAllocationAmount (default changed to 0 for
altruistic allocations immune to force-close).
Add a filtered query method to PendingRcaConsumer so cleanupDipsRule
doesn't re-fetch all proposals. Hoist duplicated createMockAllocation
to top level in tests.
@MoonBoi9001 MoonBoi9001 marked this pull request as draft March 17, 2026 01:35
@MoonBoi9001 MoonBoi9001 changed the title feat: implement on-chain accept for recurring agreements feat: on-chain acceptance for DIPs recurring agreements Mar 17, 2026
@Maikol Maikol force-pushed the feat/dips-on-chain-accept branch from 6905ed0 to 8ec9fd9 Compare March 17, 2026 13:56
@Maikol Maikol marked this pull request as ready for review March 17, 2026 13:56
@MoonBoi9001 MoonBoi9001 changed the title feat: on-chain acceptance for DIPs recurring agreements feat: implement on-chain accept for recurring agreements Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🗃️ Inbox

Development

Successfully merging this pull request may close these issues.

1 participant