Skip to content

Commit

Permalink
fix bad merge (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
sameh-farouk authored May 21, 2024
1 parent 4b4f142 commit a61b77e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mappings/farms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down Expand Up @@ -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": {
Expand Down

0 comments on commit a61b77e

Please sign in to comment.