From fb0cfb4fde6a90cd9d2695bb0bdc72b335109cf0 Mon Sep 17 00:00:00 2001 From: jsvisa Date: Mon, 18 Sep 2023 22:28:39 +0800 Subject: [PATCH 1/2] graphql: regenerate Signed-off-by: jsvisa --- graphql.json | 12 ++++++++++++ schema.graphqls | 5 +++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/graphql.json b/graphql.json index 8e8391142..d32ed85a4 100644 --- a/graphql.json +++ b/graphql.json @@ -2093,6 +2093,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "yParity", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "type", "description": "Envelope transaction support", diff --git a/schema.graphqls b/schema.graphqls index 59ee6e335..e459ed491 100644 --- a/schema.graphqls +++ b/schema.graphqls @@ -189,7 +189,7 @@ type Block { raw: Bytes! """ - WithdrawalsRoot is withdrawals trie root in this block. + WithdrawalsRoot is the withdrawals trie root in this block. If withdrawals are unavailable for this block, this field will be null. """ withdrawalsRoot: Bytes32 @@ -535,6 +535,7 @@ type Transaction { r: BigInt! s: BigInt! v: BigInt! + yParity: Long """Envelope transaction support""" type: Long @@ -569,4 +570,4 @@ type Withdrawal { """Amount is the withdrawal value in Gwei.""" amount: Long! -} +} \ No newline at end of file From f12da7243fea5ef0d141543b2e3ac79025e31a32 Mon Sep 17 00:00:00 2001 From: Delweng Date: Thu, 2 Nov 2023 23:23:01 +0800 Subject: [PATCH 2/2] Apply suggestions from code review --- graphql.json | 2 +- schema.graphqls | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/graphql.json b/graphql.json index d32ed85a4..590a84077 100644 --- a/graphql.json +++ b/graphql.json @@ -2099,7 +2099,7 @@ "args": [], "type": { "kind": "SCALAR", - "name": "Long", + "name": "BigInt", "ofType": null }, "isDeprecated": false, diff --git a/schema.graphqls b/schema.graphqls index e459ed491..765ed05f2 100644 --- a/schema.graphqls +++ b/schema.graphqls @@ -535,7 +535,7 @@ type Transaction { r: BigInt! s: BigInt! v: BigInt! - yParity: Long + yParity: BigInt """Envelope transaction support""" type: Long