-
Notifications
You must be signed in to change notification settings - Fork 861
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
Avoid a cyclic reference while printing EngineExchangeTransitionConfigurationParameter #4357
Conversation
…igurationParameter Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
There was a problem hiding this 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
There was a problem hiding this 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
...ethereum/api/jsonrpc/internal/parameters/EngineExchangeTransitionConfigurationParameter.java
Outdated
Show resolved
Hide resolved
…ameter_cyclic_ref
…ameter_cyclic_ref
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
There was a problem hiding this 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
…ameter_cyclic_ref
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
…ameter_cyclic_ref
…gurationParameter (hyperledger#4357) * avoids a cyclic reference while printing EngineExchangeTransitionConfigurationParameter Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
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
doc-change-required
label to this PR ifupdates are required.
Changelog