From e93403f871c99244e0296f90f0bbc4d4dfb9aebc Mon Sep 17 00:00:00 2001 From: devopsbo3 <69951731+devopsbo3@users.noreply.github.com> Date: Fri, 10 Nov 2023 11:21:03 -0600 Subject: [PATCH] Revert "graphql: add yParity field for transactions (#27882)" This reverts commit 0926b1e6f4aa27d5840a63fc35f051f2489486c9. --- graphql/graphql.go | 10 ---------- graphql/schema.go | 1 - 2 files changed, 11 deletions(-) diff --git a/graphql/graphql.go b/graphql/graphql.go index 7aa427b458bf7..b407ab425f184 100644 --- a/graphql/graphql.go +++ b/graphql/graphql.go @@ -566,16 +566,6 @@ func (t *Transaction) V(ctx context.Context) hexutil.Big { return hexutil.Big(*v) } -func (t *Transaction) YParity(ctx context.Context) (*hexutil.Uint64, error) { - tx, _ := t.resolve(ctx) - if tx == nil || tx.Type() == types.LegacyTxType { - return nil, nil - } - v, _, _ := tx.RawSignatureValues() - ret := hexutil.Uint64(v.Int64()) - return &ret, nil -} - func (t *Transaction) Raw(ctx context.Context) (hexutil.Bytes, error) { tx, _ := t.resolve(ctx) if tx == nil { diff --git a/graphql/schema.go b/graphql/schema.go index 5de5bad305e85..a4eeb47daddfc 100644 --- a/graphql/schema.go +++ b/graphql/schema.go @@ -151,7 +151,6 @@ const schema string = ` r: BigInt! s: BigInt! v: BigInt! - yParity: Long # Envelope transaction support type: Long accessList: [AccessTuple!]