Skip to content

Reintroduce missing 4844 RPC fields (GasPrice and V)#8232

Merged
LukaszRozmej merged 4 commits into
masterfrom
fix/missing-4844-rpc-fields
Feb 20, 2025
Merged

Reintroduce missing 4844 RPC fields (GasPrice and V)#8232
LukaszRozmej merged 4 commits into
masterfrom
fix/missing-4844-rpc-fields

Conversation

@LukaszRozmej

@LukaszRozmej LukaszRozmej commented Feb 20, 2025

Copy link
Copy Markdown
Member

Fixes #8230 introduced in #7483

Changes

  • Reintroduce missing 4844 RPC fields (GasPrice and V)

Types of changes

What types of changes does your code introduce?

  • Bugfix (a non-breaking change that fixes an issue)
  • New feature (a non-breaking change that adds functionality)
  • Breaking change (a change that causes existing functionality not to work as expected)
  • Optimization
  • Refactoring
  • Documentation update
  • Build-related changes
  • Other: Description

Testing

Requires testing

  • Yes
  • No

If yes, did you write tests?

  • Yes
  • No

Documentation

Requires documentation update

  • Yes
  • No

Requires explanation in Release Notes

  • Yes
  • No

Potentially hotfix release?

@LukaszRozmej

LukaszRozmej commented Feb 20, 2025

Copy link
Copy Markdown
Member Author

@emlautarom1 emlautarom1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We most likely also want to do the same with SetCode transactions:

#region Deprecated fields
[JsonIgnore(Condition = JsonIgnoreCondition.Always)]
public override UInt256? GasPrice { get; set; }
[JsonIgnore(Condition = JsonIgnoreCondition.Always)]
public override UInt256? V { get; set; }
#endregion

// Assert deprecated fields are no longer serialized
json.TryGetProperty("gasPrice", out _).Should().BeFalse();
json.TryGetProperty("v", out _).Should().BeFalse();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing gasPrice and v fields in eth_getTransactionByHash response on Nethermind 1.30.3

4 participants