From bd3ba6a127495305f2bdefa9d7b974ae7c06920a Mon Sep 17 00:00:00 2001 From: itofarina Date: Wed, 18 Sep 2024 11:47:56 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20staking:=20remove=20redundant=20?= =?UTF-8?q?field?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- schema.graphql | 1 - src/StakedEXA.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/schema.graphql b/schema.graphql index 9c0183a..d16f0fd 100644 --- a/schema.graphql +++ b/schema.graphql @@ -498,7 +498,6 @@ type RewardAmountNotified @entity { type StakingSharedFee @entity { id: ID! - reward: Bytes! amount: BigInt! lastUpdate: Int! } diff --git a/src/StakedEXA.ts b/src/StakedEXA.ts index c98437c..cdc8723 100644 --- a/src/StakedEXA.ts +++ b/src/StakedEXA.ts @@ -9,7 +9,6 @@ function loadStakingSharedFee(reward: Bytes): StakingSharedFee { if (sharedFee) return sharedFee; sharedFee = new StakingSharedFee(id); - sharedFee.reward = reward; sharedFee.amount = BigInt.zero(); return sharedFee; }