From cb10fdc76f0bc5a62e3a6a1f784b4cf66b27bdd4 Mon Sep 17 00:00:00 2001 From: Sameh Abouel-saad Date: Sun, 19 May 2024 13:44:02 +0300 Subject: [PATCH] fix bad merge --- src/mappings/farms.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mappings/farms.ts b/src/mappings/farms.ts index daba55f..2a8d340 100644 --- a/src/mappings/farms.ts +++ b/src/mappings/farms.ts @@ -30,6 +30,8 @@ export async function farmStored( } else if (farmStoredEvent.isV63) { farmStoredEventParsed = farmStoredEvent.asV63 } else if (farmStoredEvent.isV101) { + let eventValue = item.event.args as v63.Farm + eventValue.dedicatedFarm = false farmStoredEventParsed = farmStoredEvent.asV101 } @@ -86,6 +88,8 @@ export async function farmUpdated( } else if (farmUpdatedEvent.isV50) { farmUpdatedEventParsed = farmUpdatedEvent.asV50 } else if (farmUpdatedEvent.isV63) { + let eventValue = item.event.args as v63.Farm + eventValue.dedicatedFarm = false farmUpdatedEventParsed = farmUpdatedEvent.asV63 switch (farmUpdatedEvent.asV101.certification.__kind) { case "Gold": {