From ecafca51140b51150d6bf726f33970dfccd6649b Mon Sep 17 00:00:00 2001 From: matthew-nguyen-20032023 <129312342+matthew-nguyen-20032023@users.noreply.github.com> Date: Thu, 23 Nov 2023 16:12:45 +0700 Subject: [PATCH] Allow count rows on coin transfer (#497) * fix: fix coin transfer with tx_msg_index === 0 * fix: update hasura for coin_transfer * fix: fix coin transfer hasura * fix: allow count coin transfer table --- .../databases/auratestnet/tables/public_coin_transfer.yaml | 1 + .../metadata/databases/euphoria/tables/public_coin_transfer.yaml | 1 + .../metadata/databases/serenity/tables/public_coin_transfer.yaml | 1 + .../metadata/databases/xstaxy/tables/public_coin_transfer.yaml | 1 + 4 files changed, 4 insertions(+) diff --git a/hasura/metadata/databases/auratestnet/tables/public_coin_transfer.yaml b/hasura/metadata/databases/auratestnet/tables/public_coin_transfer.yaml index 80e9e7f22..4a4f5c03b 100644 --- a/hasura/metadata/databases/auratestnet/tables/public_coin_transfer.yaml +++ b/hasura/metadata/databases/auratestnet/tables/public_coin_transfer.yaml @@ -36,3 +36,4 @@ select_permissions: - created_at filter: {} limit: 100 + allow_aggregations: true diff --git a/hasura/metadata/databases/euphoria/tables/public_coin_transfer.yaml b/hasura/metadata/databases/euphoria/tables/public_coin_transfer.yaml index 80e9e7f22..4a4f5c03b 100644 --- a/hasura/metadata/databases/euphoria/tables/public_coin_transfer.yaml +++ b/hasura/metadata/databases/euphoria/tables/public_coin_transfer.yaml @@ -36,3 +36,4 @@ select_permissions: - created_at filter: {} limit: 100 + allow_aggregations: true diff --git a/hasura/metadata/databases/serenity/tables/public_coin_transfer.yaml b/hasura/metadata/databases/serenity/tables/public_coin_transfer.yaml index 80e9e7f22..4a4f5c03b 100644 --- a/hasura/metadata/databases/serenity/tables/public_coin_transfer.yaml +++ b/hasura/metadata/databases/serenity/tables/public_coin_transfer.yaml @@ -36,3 +36,4 @@ select_permissions: - created_at filter: {} limit: 100 + allow_aggregations: true diff --git a/hasura/metadata/databases/xstaxy/tables/public_coin_transfer.yaml b/hasura/metadata/databases/xstaxy/tables/public_coin_transfer.yaml index 80e9e7f22..4a4f5c03b 100644 --- a/hasura/metadata/databases/xstaxy/tables/public_coin_transfer.yaml +++ b/hasura/metadata/databases/xstaxy/tables/public_coin_transfer.yaml @@ -36,3 +36,4 @@ select_permissions: - created_at filter: {} limit: 100 + allow_aggregations: true