Skip to content

Commit

Permalink
Revert "graphql: add yParity field for transactions (ethereum#27882)"
Browse files Browse the repository at this point in the history
This reverts commit 0926b1e.
  • Loading branch information
devopsbo3 committed Nov 10, 2023
1 parent 56b68ef commit fba0fc7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions graphql/graphql.go
Expand Up @@ -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 {
Expand Down
1 change: 0 additions & 1 deletion graphql/schema.go
Expand Up @@ -151,7 +151,6 @@ const schema string = `
r: BigInt!
s: BigInt!
v: BigInt!
yParity: Long
# Envelope transaction support
type: Long
accessList: [AccessTuple!]
Expand Down

0 comments on commit fba0fc7

Please sign in to comment.