From 26464e63d3ec4d0643c35d9b18ac682e88b69d3c Mon Sep 17 00:00:00 2001 From: juanmardefago Date: Thu, 1 Feb 2024 11:24:33 -0300 Subject: [PATCH] fix: missing activeAllocationCount decrease on cobbs douglas closed allo --- src/mappings/staking.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mappings/staking.ts b/src/mappings/staking.ts index d72faaf..32c8a52 100644 --- a/src/mappings/staking.ts +++ b/src/mappings/staking.ts @@ -601,6 +601,7 @@ export function handleAllocationClosedCobbDouglas(event: AllocationClosed1): voi deployment.save() // update graph network + graphNetwork.activeAllocationCount = graphNetwork.activeAllocationCount - 1 graphNetwork.totalTokensAllocated = graphNetwork.totalTokensAllocated.minus(event.params.tokens) graphNetwork.save() }