From 19581a7c86270b510770090e5023b8f81bc9aadc Mon Sep 17 00:00:00 2001 From: wwestgarth Date: Fri, 14 Jun 2024 09:12:47 +0100 Subject: [PATCH] fix: return sourceChainId in GQL Erc20WithdrawalApproval endpoint --- CHANGELOG.md | 1 + datanode/gateway/graphql/resolvers.go | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e2ebf1996..15d8a337a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ - [11066](https://github.com/vegaprotocol/vega/issues/11066) - Ensure vesting statistics match vesting accounts numbers. - [11279](https://github.com/vegaprotocol/vega/issues/11279) - Handle properly the case of multiple transfers for the same game id. - [11293](https://github.com/vegaprotocol/vega/issues/11293) - Panic in data node with position estimate endpoint. +- [11379](https://github.com/vegaprotocol/vega/issues/11379) - Source chain id is now populated in `GQL Erc20WithdrawalApproval` endpoint. - [11279](https://github.com/vegaprotocol/vega/issues/11279) - Handle properly the case of multiple transfers for the same game id. - [11297](https://github.com/vegaprotocol/vega/issues/11297) - Handle properly asset decimals < market decimals when uncrossing the order book upon leaving auction. - [11304](https://github.com/vegaprotocol/vega/issues/11304) - Correctly verify pegged order offset with respect to tick size in the right units. diff --git a/datanode/gateway/graphql/resolvers.go b/datanode/gateway/graphql/resolvers.go index 16974bb585..5bafb6c688 100644 --- a/datanode/gateway/graphql/resolvers.go +++ b/datanode/gateway/graphql/resolvers.go @@ -1135,6 +1135,7 @@ func (r *myQueryResolver) Erc20WithdrawalApproval(ctx context.Context, wid strin Signatures: res.Signatures, TargetAddress: res.TargetAddress, Creation: fmt.Sprintf("%d", res.Creation), + SourceChainID: res.SourceChainId, }, nil }