Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always return a transaction type for pending transactions #4364

Merged

Conversation

daniellehrner
Copy link
Contributor

Signed-off-by: Daniel Lehrner daniel.lehrner@consensys.net

PR description

This PR ensures that a pending transaction with transaction type 0 always returns its type when being serializes to JSON.

Fixed Issue(s)

fixes #4248

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if
    updates are required.

Changelog

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
@daniellehrner daniellehrner changed the title always return a transaction type for pending transactions Always return a transaction type for pending transactions Sep 8, 2022
Copy link
Contributor

@fab-10 fab-10 left a comment

Choose a reason for hiding this comment

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

Please update the CHANGELOG

Copy link
Contributor

@fab-10 fab-10 left a comment

Choose a reason for hiding this comment

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

the PRs numbers are swapped

@daniellehrner
Copy link
Contributor Author

the PRs numbers are swapped

@fab-10 I've corrected it now

@daniellehrner daniellehrner enabled auto-merge (squash) October 11, 2022 14:26
@daniellehrner daniellehrner merged commit 4b20e77 into hyperledger:main Oct 11, 2022
eum602 pushed a commit to lacchain/besu that referenced this pull request Nov 3, 2023
…r#4364)

* always return a transaction type for pending transactions

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing type field in transaction objects
3 participants