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

Revert 4505 4760 #4842

Merged
merged 3 commits into from
Dec 1, 2023
Merged

Revert 4505 4760 #4842

merged 3 commits into from
Dec 1, 2023

Conversation

sophiax851
Copy link
Collaborator

@sophiax851 sophiax851 commented Nov 30, 2023

High Level Overview of Change

Context of Change

Type of Change

Reverting these PRs until they can be fully tested in a simulated realistic environment with potential network scenarios that may occur on the MainNet.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (non-breaking change that only restructures code)
  • Tests (you added tests for code that already exists, or your new feature included in this PR)
  • Documentation update
  • Chore (no impact to binary, e.g. .gitignore, formatting, dropping support for older tooling)
  • Release
  • Require performance testing on a simulated realistic environment to cover potential network scenarios

API Impact

  • Public API: New feature (new methods and/or new fields)
  • Public API: Breaking change (in general, breaking changes should only impact the next api_version)
  • libxrpl change (any change that may affect libxrpl or dependents of libxrpl)
  • Peer protocol change (must be backward compatible or bump the peer protocol version)

@seelabs
Copy link
Collaborator

seelabs commented Nov 30, 2023

I'm seeing a compile error:

/home/swd/projs/ripple/theirs/src/ripple/rpc/handlers/ServerInfo.cpp: In constructor ‘ripple::detail::ServerDefinitions::ServerDefinitions()’:
/home/swd/projs/ripple/theirs/src/ripple/rpc/handlers/ServerInfo.cpp:290:39: error: ‘FastWriter’ is not a member of ‘Json’
  290 |         const std::string out = Json::FastWriter().write(defs_);
      |                                       ^~~~~~~~~~

This patch should fix the above issue: seelabs@b79bbfe

@intelliot
Copy link
Collaborator

This patch should fix the above issue: seelabs@b79bbfe

Thank you! I pushed your commit to this PR.

Copy link
Collaborator

@seelabs seelabs left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Collaborator

@scottschurr scottschurr left a comment

Choose a reason for hiding this comment

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

👍 with the reverts plus the patch. I confirmed that...

  1. The new code exactly matches machine produced reverts of the two commits in question, and no conflicts were reported in the reverts.
  2. The branch builds, both debug and release, on my machine.
  3. Unit tests pass.
  4. Both the debug and release builds sync to the network.

@intelliot intelliot merged commit 5aef102 into XRPLF:develop Dec 1, 2023
16 checks passed
sophiax851 added a commit to sophiax851/rippled that referenced this pull request Jun 12, 2024
* Revert "Optimize calculation of close time to avoid impasse and minimize gratuitous proposal changes (XRPLF#4760)"

This reverts commit 8ce85a9.

* Revert "Several changes to improve Consensus stability: (XRPLF#4505)"

This reverts commit f259cc1.

* Add missing include

---------

Co-authored-by: seelabs <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants