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

Avoid a cyclic reference while printing EngineExchangeTransitionConfigurationParameter #4357

Conversation

daniellehrner
Copy link
Contributor

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

PR description

EngineExchangeTransitionConfigurationParameter is printed if logging is set to TRACE. In the current version it throws an exception while trying to print it, because of a circular reference. This PR avoids this circular reference and EngineExchangeTransitionConfigurationParameter is printed as expected.

Fixed Issue(s)

fixes #4354

Documentation

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

Changelog

…igurationParameter

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Copy link
Contributor

@macfarla macfarla left a comment

Choose a reason for hiding this comment

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

LGTM but spotless sad

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.

I suggest to use Jackson, so manual serialization can be avoided, and is more future proof, and
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.

LGTM, just add a CHANGELOG entry

@daniellehrner daniellehrner enabled auto-merge (squash) October 12, 2022 07:58
@daniellehrner daniellehrner merged commit 5dec71c into hyperledger:main Oct 12, 2022
@daniellehrner daniellehrner deleted the fix_EngineExchangeTransitionConfigurationParameter_cyclic_ref branch October 13, 2022 09:46
eum602 pushed a commit to lacchain/besu that referenced this pull request Nov 3, 2023
…gurationParameter (hyperledger#4357)

* avoids a cyclic reference while printing EngineExchangeTransitionConfigurationParameter

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
3 participants